• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..31-May-2021-

conda/H31-May-2021-202149

examples/H31-May-2021-710588

spglib/H31-May-2021-821647

test/H31-May-2021-73,96773,036

MANIFEST.inH A D31-May-2021114 65

README.rstH A D31-May-20211.6 KiB5738

_spglib.cH A D31-May-202129 KiB1,050855

get_nanoversion.shH A D31-May-2021352 1613

setup.pyH A D31-May-20214.6 KiB151124

README.rst

1spglib
2======
3
4|Version Badge| |Downloads Badge| |PyPi downloads| |Build Status|
5
6Python bindings for C library for finding and handling crystal
7symmetries
8
9Installation
10------------
11
12The package is developed on github. You can get the source for the
13released versions from the
14`repository <https://github.com/atztogo/spglib/releases>`__.
15
16Using package distribution service
17~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18
19The easiest way to install python-spglib is to use the pypi package, for
20which numpy is required to be installed before the installation. A
21command to install spglib is:
22
23::
24
25    pip install spglib
26
27Conda is another choice:
28
29::
30
31    conda install -c atztogo spglib
32
33These packages are made by Paweł T. Jochym.
34
35Building using setup.py
36~~~~~~~~~~~~~~~~~~~~~~~
37
38To manually install python-spglib using ``setup.py``, python header
39files (python-dev), C-compiler (e.g., gcc, clang), and numpy are
40required before the build. The installation steps are shown as follows:
41
421. Go to the python directory
432. Type the command:
44
45   ::
46
47       python setup.py install --user
48
49.. |Version Badge| image:: https://anaconda.org/atztogo/spglib/badges/version.svg
50   :target: https://anaconda.org/atztogo/spglib
51.. |Downloads Badge| image:: https://anaconda.org/atztogo/spglib/badges/downloads.svg
52   :target: https://anaconda.org/atztogo/spglib
53.. |PyPi downloads| image:: https://img.shields.io/pypi/dm/spglib.svg?maxAge=2592000
54   :target: https://pypi.python.org/pypi/spglib
55.. |Build Status| image:: https://travis-ci.org/atztogo/spglib.svg?branch=master
56   :target: https://travis-ci.org/atztogo/spglib
57