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 root 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
Release files for spglib 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spglib-2.4.0.tar.gz | 2.8 MB | Details |
Built distributions (wheels)
Total release size: 21.1 MB
Release files / spglib-2.4.0.tar.gz
| Download URL | spglib-2.4.0.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e63f9ee61b70f153a22d3b550b183da531f890475917fce203bad4597aac243
|
|
BLAKE2b-256 checksum How to use checksums |
d77116f4f4dc21fd1b33a8b282ddc1decd806aa41afeee37c256871176ba9092
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp312-cp312-win_amd64.whl
| Download URL | spglib-2.4.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 299.2 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
763d7e316215976737a12319e18f830b0a1428b79c1f61a41846fe2b4d041e4f
|
|
BLAKE2b-256 checksum How to use checksums |
0baed26fc17de8f17b1f6ac2c2b15c5313135c13b190c9025a92119883eabae9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp312-cp312-manylinux_2_35_x86_64.whl
| Download URL | spglib-2.4.0-cp312-cp312-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 819.7 kB |
| Tags | CPython 3.12 Linux glibc 2.35+ x86-64 |
|
SHA-256 checksum How to use checksums |
463947c1d1426414d4c5bdb6e6dba6b520ef8db55534dab3959648d65f68915f
|
|
BLAKE2b-256 checksum How to use checksums |
d9299bd61aea1b3bfc294b51c2dbc2160d99b643799c1409f4301fcd1745ed0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp312-cp312-manylinux_2_17_x86_64.whl
| Download URL | spglib-2.4.0-cp312-cp312-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 809.3 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
da4a6160bdad3cd5c8dff40d8062e041703d097545caa06d23f116bc5819be27
|
|
BLAKE2b-256 checksum How to use checksums |
0a46ee770cdf7dbd8aeb902cdd3affc65f08565415938323e4d7388d2c586d83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp312-cp312-manylinux_2_17_aarch64.whl
| Download URL | spglib-2.4.0-cp312-cp312-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 803.7 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
3144974186697e547e407512abffea09c628195509981ce5da3d10dcfbc55988
|
|
BLAKE2b-256 checksum How to use checksums |
ab39b9305bf67492944da862686bfdd0b0bc2ba5a012163faa8bf8fb9cc59691
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | spglib-2.4.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 793.7 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5fe22552895f5cb065f5cdef1a3f49c3e975528eb2169e17b0b46e5158870db9
|
|
BLAKE2b-256 checksum How to use checksums |
9a448c103d3a8f2a48a08333dcefd84662bd1e98c89f7ec2b91ca76b8bc67f47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp312-cp312-macosx_10_9_x86_64.whl
| Download URL | spglib-2.4.0-cp312-cp312-macosx_10_9_x86_64.whl |
|---|---|
| Size | 788.6 kB |
| Tags | CPython 3.12 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
595c5d189b82dce2a529e6653536e817871000b42e837d492862708d3c0087ee
|
|
BLAKE2b-256 checksum How to use checksums |
d393405dfb93bc079377ec75c9c3169daab1375025a3cc28cf26f0e354b73348
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp311-cp311-win_amd64.whl
| Download URL | spglib-2.4.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 299.3 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f4548c3e34317ea81a94c235f07242964a36ace08e807a0a99c659b4c969e577
|
|
BLAKE2b-256 checksum How to use checksums |
548072a9607d0b8c228aef3d64e364bd05940d873ab370d0d5bd0cb14e9de349
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp311-cp311-manylinux_2_17_x86_64.whl
| Download URL | spglib-2.4.0-cp311-cp311-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 809.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
70f341a14d3ca464a1bb1c3eb86ae5c8252ece186f7af039a01705ed4624d5c2
|
|
BLAKE2b-256 checksum How to use checksums |
0c37cec788dc12d1ff38eb000b6cfaf03a28fc25a9b05c3f2e8dd51a7f2cd2d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp311-cp311-manylinux_2_17_aarch64.whl
| Download URL | spglib-2.4.0-cp311-cp311-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 803.7 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
70ee7de6b769350f1e568324a5a6fdd34df89f95f8bfe0b21b6dc2fc56207169
|
|
BLAKE2b-256 checksum How to use checksums |
bfb5ae9c62c03e3688217a1399314c9856441a8e940a6d5e0ee7a7b00076fc00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | spglib-2.4.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 793.7 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ce84df7a43889d13cacac8121632a4ad661b940755f50479a707d8f1f213efe8
|
|
BLAKE2b-256 checksum How to use checksums |
dbf051fef3e38534c716b8ed2f53f6d7b1a22eefaeb433de71bfc7a0bca27a95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | spglib-2.4.0-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 788.6 kB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
ccba8367d8bd31ca344b989ea18f8ac0a1263f9d038012494c8eb736b8205044
|
|
BLAKE2b-256 checksum How to use checksums |
2fd1811c8b9c4f1751784746e77981d3d8b786c74ddd5cf2a2cfe5b3cd7a21d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp310-cp310-win_amd64.whl
| Download URL | spglib-2.4.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 299.3 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0ba8b17cafffb3a3f475ebc45647ad1ec700cf7fae3abafd77d5c49d1c94c89b
|
|
BLAKE2b-256 checksum How to use checksums |
142899d5de2d2e335e651ae2a03a4201158adec86b2d1b761d9f616d47d6b394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp310-cp310-manylinux_2_17_x86_64.whl
| Download URL | spglib-2.4.0-cp310-cp310-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 809.2 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1b49cf92ba08a9c67161306cb05c612b9d87fd62f8ce719a8ea69079f43c0f4d
|
|
BLAKE2b-256 checksum How to use checksums |
1a3ccf22a64790ea8ab3ed875ec7cd0c9ebc4b6cffa33d3ce39a9b37452d6df3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp310-cp310-manylinux_2_17_aarch64.whl
| Download URL | spglib-2.4.0-cp310-cp310-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 803.8 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
43e6a51f4fee7ef38b8597396da28c8093a8d48a6fd54bae72ebc20caa3d7f43
|
|
BLAKE2b-256 checksum How to use checksums |
1ed411b7d38b76368b9dd5afafeeeaf50aa3127f7686914ee859591d4fb297fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | spglib-2.4.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 793.7 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7713f62595b3a9b0d1a189d1f076079384a6a96749ab90533ee250427ddc51cb
|
|
BLAKE2b-256 checksum How to use checksums |
be3f1a871c40d92d23034fd98927d954c574000df52340b7027b23f56ef3f447
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | spglib-2.4.0-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 788.6 kB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
2112fa02d30bea4ba288ec1a1df544b309ee0f9b8f3462be364110cb56e2c3a1
|
|
BLAKE2b-256 checksum How to use checksums |
dbaa9f62cbe39f680a2f425d66b7203ea9117cbee87e06c1508d57d70ae23639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp39-cp39-win_amd64.whl
| Download URL | spglib-2.4.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 299.3 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
50783e71dfde8a48ceec40164feeaad932df14759ab17a3a8a02b4847cd3ca9e
|
|
BLAKE2b-256 checksum How to use checksums |
318c92e8386de75ff1625a437ad646f0b633e9159141c1c194d08529d8ce6f97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp39-cp39-manylinux_2_17_x86_64.whl
| Download URL | spglib-2.4.0-cp39-cp39-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 809.2 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
27648486e280ff3e69596725e4cbfe4920942c73eae193e1b9e6637661cbbada
|
|
BLAKE2b-256 checksum How to use checksums |
57ef893ef0c8f730fc536467a57f428246d07268e89daec4bacb094cf9e08c4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp39-cp39-manylinux_2_17_aarch64.whl
| Download URL | spglib-2.4.0-cp39-cp39-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 803.7 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
8ef0e83e9a30a456939783a01e6fcee8c4465371551ee225613d42ec292652d2
|
|
BLAKE2b-256 checksum How to use checksums |
371d69f644b9dc264d5da40c8721e32c202faa63deee17d84115ea0807587df0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | spglib-2.4.0-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 793.7 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5564ac416e21ad7ef9cd3326912e4d2b1a22438ed60efd08e83cdebbd876e55c
|
|
BLAKE2b-256 checksum How to use checksums |
7d0ce6f1dcc051700fc508b899fb8a35ff1ad65a62953799cd0cbc4c3daf1414
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | spglib-2.4.0-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 788.6 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
809c442db2ad9b23b3292c30bf3bea38e04dc7a179d399572d4b21ef3a8fec02
|
|
BLAKE2b-256 checksum How to use checksums |
28d4dddb45341f7636f47c0d234ff8aeb3a7815c007af19ea76d02d049078149
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp38-cp38-win_amd64.whl
| Download URL | spglib-2.4.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 299.3 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
84bd727cb02f5873418b5ee3c08f9c6c52c8651b32b55cbadeba3d5bd01aa1dd
|
|
BLAKE2b-256 checksum How to use checksums |
ede8262cc6f7255bf2dbc4a5824ee0a62201fbd92b25de375ca27d22f790a0db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp38-cp38-manylinux_2_17_x86_64.whl
| Download URL | spglib-2.4.0-cp38-cp38-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 809.2 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7bba198e8cf40f05b62cd1865a2553488f040429e4a1db940afda512731d4078
|
|
BLAKE2b-256 checksum How to use checksums |
834a28991addc61cb8b00a6a20a4e30abf8767bf3e265a5fff39d22a15dbb91a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp38-cp38-manylinux_2_17_aarch64.whl
| Download URL | spglib-2.4.0-cp38-cp38-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 803.7 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
fd49caf533a53f7e5857371302f486851607f2476168500d3ba76cb62488d3df
|
|
BLAKE2b-256 checksum How to use checksums |
08861dcaa47c4004562dc2c2ff81883362432c144a0994e5ba8028c15537f8a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp38-cp38-macosx_11_0_arm64.whl
| Download URL | spglib-2.4.0-cp38-cp38-macosx_11_0_arm64.whl |
|---|---|
| Size | 793.7 kB |
| Tags | CPython 3.8 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0e8ca3f31dc6b9cfc5bfa3dc95a35fe9abfd5fb9b7e9fd568fac2b914307fbc5
|
|
BLAKE2b-256 checksum How to use checksums |
840aab259f619d1d75b7947ce23d34bb5ad02f0f94eba54cab2536c988187f96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / spglib-2.4.0-cp38-cp38-macosx_10_9_x86_64.whl
| Download URL | spglib-2.4.0-cp38-cp38-macosx_10_9_x86_64.whl |
|---|---|
| Size | 788.6 kB |
| Tags | CPython 3.8 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
224d5f3db6e9624d39d2ef201aeb2f0958611fcd042a7ab4f8a88cd7ac18deca
|
|
BLAKE2b-256 checksum How to use checksums |
7fbdac99cd7215443e8efb84501b0ea362eecad5d22f29bc01b182ba80a68328
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|