Skip to main content

xcore

Xcore is a crystallographic space group library written in Python.

Usage

>>> from xcore import UnitCell, SpaceGroup

>>> spgr = SpaceGroup("Pnma")
>>> spgr.info()
Space group Pnma

    Number       62
    Schoenflies  D2h^16
    Hall         -P 2ac 2n
    H-M symbol   Pnma

Laue  group  mmm
Point group  mmm
Orthorhombic
Centrosymmetric

Order     8
Order P   8

# +(0.0 0.0 0.0), Inversion Flag = 0
x,y,z
-x+1/2,-y,z+1/2
x+1/2,-y+1/2,-z+1/2
-x,y+1/2,-z
# +(0.0 0.0 0.0), Inversion Flag = 1
-x,-y,-z
x+1/2,y,-z+1/2
-x+1/2,y+1/2,z+1/2
x,-y+1/2,z

or:

>>> cell = UnitCell((19.9020, 10.1561, 24.6892, 105.88), "P21/c", name="SSO", composition="Si80 O163")
>>> cell.info()
Cell SSO (Si80 O163)
   a      19.9020       al        90.00
   b      10.1561       be       105.88
   c      24.6892       ga        90.00
Vol.    4799.90
Spgr P121/c1

Installation

pip install xcore

Requirements

  • Python2.7

  • Numpy

  • Pandas

Inspired by (and built on) sginfo.

Metadata

Release files for xcore 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xcore 0.7.2
File Size Uploaded Provenance Actions
xcore-0.7.2.tar.gz 135.8 kB Without provenance Details for xcore-0.7.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xcore 0.7.2
File Interpreter ABI Platform Actions
xcore-0.7.2-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details for xcore-0.7.2-cp27-cp27m-win_amd64.whl

Total release size: 351.9 kB

Release files / xcore-0.7.2.tar.gz

Download URL xcore-0.7.2.tar.gz
Size 135.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b79cf38651f58062c72ea3416aa13fdeaa4c2984a46b7b0355f6b60fe70254ed
BLAKE2b-256 checksum
How to use checksums
5e95346d2855bd12a77857c91eaf4fac38f9588b1b45487663686c33f971c0c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xcore-0.7.2-cp27-cp27m-win_amd64.whl

Download URL xcore-0.7.2-cp27-cp27m-win_amd64.whl
Size 216.2 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5ef81831f16bac2c189a2ab190b3b4174a2a21f5e90db4393489e3a594fd8225
BLAKE2b-256 checksum
How to use checksums
e5ca454b55fb793ab95d95f72defd58f2e2e13b31211359780085ec1decdb3e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for xcore 0.7.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page