This is the spglib module.
Project description
Python bindings for C library for finding and handling crystal symmetries
Installation
The package is developed on github. You can get the source for the released versions from the repository.
Note that the Python bindings will link to the system/environment
installed Spglib (loaded from LD_LIBRARY_PATH
or DYLD_LIBRARY_PATH
),
and it will default to a bundled version otherwise. To always use the
system version of Spglib (e.g. in a lua-module environment) delete the
bundled libraries libsymspg.so*
in the python Spglib installation
directory.
Using package distribution service
The easiest way to install python-spglib is to use the pypi package, for which numpy is required to be installed before the installation. A command to install spglib is:
$ pip install spglib
Conda is another choice:
$ conda install -c conda-forge spglib
These packages are made by Pawel T. Jochym.
Building from source
To build from source, make sure you have installed the build requirements
in pyproject.toml
. Then simply run the following in the current directory.
$ python -m build
$ pip install .
To include testing or documentation environments, simply include the relevant extras
$ pip install .[test]
Running tests
After installing the project with appropriate extras (testing
), either from
package manager or from source, simply run pytest
in the current directory
to test the python bindings
$ pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file spglib-2.1.0.tar.gz
.
File metadata
- Download URL: spglib-2.1.0.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8143545fdffc11fbcda4d705a6b6bcd4889de9bc3524b78df866a36dd0de0a4b |
|
MD5 | 008390e4409807296cd2b090ced1c313 |
|
BLAKE2b-256 | 5c1bd4d002ccc4c3d3c669a1c64d3cb865b81f95bc4e58e691ab37650d57f6e5 |
File details
Details for the file spglib-2.1.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 291.0 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b944db20f3905a4e0e447d915db9339f83124541261f975707ec9548f2ef7955 |
|
MD5 | 998bc95e9f80d0532b0218642245ad6b |
|
BLAKE2b-256 | 6ac25759f6a1697aff12a06fc1911dc938e09ff876c145770861b16985b2e754 |
File details
Details for the file spglib-2.1.0-cp311-cp311-manylinux_2_17_x86_64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp311-cp311-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 802.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40289f0b85383c6ca10349fee38e8a21b0cd1402a991c79447ecb529e24ac684 |
|
MD5 | ebb12dba63f7cad2158b48a96e1a2462 |
|
BLAKE2b-256 | 739495eb8a79baad4f4807452e7869999df3bf55d9040e79a720db6ac54386f6 |
File details
Details for the file spglib-2.1.0-cp311-cp311-manylinux_2_17_aarch64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp311-cp311-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 793.4 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96aa75feccc6b28f5687ce91b48bdd4d63264368383ca30faaac44230621fb70 |
|
MD5 | e745ac306712da8258faf456c4eb8591 |
|
BLAKE2b-256 | 04042fd20946612e1b02e4018fb793a318c6ef08dfbae5565106fc608fa7eb35 |
File details
Details for the file spglib-2.1.0-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 789.7 kB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9148692ae8a21762846907a0ab51df7f9999fb01566f0c5d29f220e63a50f4f |
|
MD5 | ce3ac98c8fa05e0c5050d859c04d7810 |
|
BLAKE2b-256 | 72223209ca88fe649477bc7a6f9c22a41fdd9aeaf87b4b1a3af0c9b07695a1ad |
File details
Details for the file spglib-2.1.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 291.0 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f63863f2f39b4cd7c71be9f0d3e4a29fef88fc3c1395964dbd4aa460fb6def7 |
|
MD5 | af6cbdde4405ebb259fb5df404a16558 |
|
BLAKE2b-256 | 6a9eaa05cd9d23222c6343d00b17e700b56da5c3e3d6a6a74fb3125473174067 |
File details
Details for the file spglib-2.1.0-cp310-cp310-manylinux_2_17_x86_64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp310-cp310-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 802.1 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbd14a613dae796a4c1fd156df797fa003a5233cd766718193f5b3b215eb2122 |
|
MD5 | c92ce170a912907e57af546133ec6308 |
|
BLAKE2b-256 | 193581dc7073c6643b71494f8ccce431a35c63348ed6391be20b38533c4e3b9d |
File details
Details for the file spglib-2.1.0-cp310-cp310-manylinux_2_17_aarch64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp310-cp310-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 793.4 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fedf8dd700e8dddb4a6ec4314762796a11efef39ead4d29e80006c673d5b3b1 |
|
MD5 | b9d73d10dc75725a045f9b2b074de36d |
|
BLAKE2b-256 | d78555eaff9d76d79c1cd4ec02dea406324cfafe9ab23c4fce95238d9f852ebf |
File details
Details for the file spglib-2.1.0-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 789.7 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c5974520df57271e4d60934e1a2f81c56d8570f0df49989229657ff1e8d1e31 |
|
MD5 | 8c7a9c5197a58001c76c54733436d82d |
|
BLAKE2b-256 | 29fcd28d6dae2d178e68ea59007a2a877c87320ba170bde6abbec4e0922700c4 |
File details
Details for the file spglib-2.1.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 291.1 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb9f18f0447b7d44645d9f4b2db68297d58ab4e3a66d61bafeb7d3a607c7cb40 |
|
MD5 | 35eec51d1ecc2b8fe1fd66eab09c5eb7 |
|
BLAKE2b-256 | c33ca41a673939c3318f4c1fd7fc5e65cd89393805fb92156d5b51d1195a495c |
File details
Details for the file spglib-2.1.0-cp39-cp39-manylinux_2_17_x86_64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp39-cp39-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 802.1 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a37a5a5ef94dc5ce625f30c0142d8b16438f661d7877770116b56163acbcd258 |
|
MD5 | 258cc5cfa54da34e4bb2010a74a60cf3 |
|
BLAKE2b-256 | 86a9a35a6c9355d819a7c419a6ac13cd108130af2748efc7f7d94c38161aa3d7 |
File details
Details for the file spglib-2.1.0-cp39-cp39-manylinux_2_17_aarch64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp39-cp39-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 793.4 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b98f9a13efd681fddf54ba1386ed214d54d4c73b70f3768d2d461531762c7c4 |
|
MD5 | 6f5e1a606238e8577100049b1d953def |
|
BLAKE2b-256 | bab43e94aa0afb8b73cbf0aa73b5f1558fb872d14dbdda625db44452153c7f19 |
File details
Details for the file spglib-2.1.0-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 789.7 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82a567bfd9296ffa09b6993ca4b8bdf031e89f70220e34284d350d73f7bd3a31 |
|
MD5 | ff82de68fd466db114fd23159c00f75a |
|
BLAKE2b-256 | 37d6cae15393539e109e5876e95ade35126567289052a818bade3aae7559d22f |
File details
Details for the file spglib-2.1.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 291.1 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 748358cf7c319e2c2fdbd49349b1347a1850e713456270e2fa6e62020d0871ed |
|
MD5 | ce262bdc7e5205470cd8a19624de702a |
|
BLAKE2b-256 | 510f2a2385c60fae1ed9bc74cbf99688dcdce557c90f6d10dc60ea61aae8bba6 |
File details
Details for the file spglib-2.1.0-cp38-cp38-manylinux_2_17_x86_64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp38-cp38-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 802.1 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3ac7657dd0355712f70848b0929cd90622d9f1ee81479f1cc36b52ca5ee85a |
|
MD5 | fc2e1aa64a97816f25ee90c78b225bd8 |
|
BLAKE2b-256 | 6f3bbaa11e20e1e766eba538e84d743e96d39696b87ff477c9ca54c09378837f |
File details
Details for the file spglib-2.1.0-cp38-cp38-manylinux_2_17_aarch64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp38-cp38-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 793.4 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4efb91d600b494f67dd424e300d1d64e5033c1e220af5d737a1de1b6e914c51b |
|
MD5 | 43c77091fa53f3bc01ca8da6e01dd88c |
|
BLAKE2b-256 | c660c1ed2b4cd21780d724f9ec83c11e18a2faa39b74e9586aaeeffc9498809d |
File details
Details for the file spglib-2.1.0-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 789.7 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5f5a66b51946e5a5f32d8ffefeac5976651a6ee7e48c113593c7847d01e35d4 |
|
MD5 | 7cfe914a91a54bd806dedde8b351cddf |
|
BLAKE2b-256 | f161c711f83ec5d96e1900d7b0c2f773e3b1a7efc4c8c76912954be5806add5d |
File details
Details for the file spglib-2.1.0-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 291.0 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da36dd7cbca91d213f28cdbff2e3f894c4d8a89cfcc308a24deb4a1cbb4f00c5 |
|
MD5 | c816a5bb326c38d5d703e7335e28745d |
|
BLAKE2b-256 | cfd6ab08b5d7da521cfb7849a9425276c2f935e42080c2cd3ce686a6ed5a5717 |
File details
Details for the file spglib-2.1.0-cp37-cp37m-manylinux_2_17_x86_64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp37-cp37m-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 802.1 kB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a329994f26ec9a458ca2a4380c91d739bfbca1fe77acc2bc4a191d93c2ec6c4e |
|
MD5 | 3f1d66113ee4cd1fb03fe9c67d035361 |
|
BLAKE2b-256 | b3a0574333515901b10b269a9f8240d5cb1aa45ebcc8f7f34acaf27f0794c1a1 |
File details
Details for the file spglib-2.1.0-cp37-cp37m-manylinux_2_17_aarch64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp37-cp37m-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 793.4 kB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39ad7f9ef9d0596ac37cff7abec678c1783b83c8005522e93cfb9d19d9a4183f |
|
MD5 | 0ccf92ab9147296b56e82c51d7a70021 |
|
BLAKE2b-256 | 3c67c1088b1f7cd3f1d4a9ce2673c4f5de7f605ea2b4cf4cc948588adf6bbb9c |
File details
Details for the file spglib-2.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: spglib-2.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 789.6 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f3843e75e5bc00377fb725d517e3a84fb077a6f6dc3c9af5527df2cf4861334 |
|
MD5 | 1ab447a112be698d55e11d251e79f73f |
|
BLAKE2b-256 | 508c0e4ba1ae22ce016008956dc4caad253b903417af7fe07af2f837f8bc20e7 |