Skip to main content

Polya

PyPI Version PyPI Downloads

A python implementation of Polya's enumeration theory and pattern inventory formula.

Usage

Here is an example on how to extract the cycle index polynomial (p_g) and number of distinct first coordination polyhedron (nms) for the fcc crystal structure with a number of ntypes = 3 chemical elements. Additonal graph geometries can be defined in polya/_src/graphs.py. This example can be found in the examples/ folder.

from polya import Polya
pl = Polya(graph_name="fcc")
p_g, nms = pl.get_gt(ntypes=3)
print(p_g)

Installation

For a standalone Python package or Conda environment, please use:

pip install --user polya

If you want to install the lastest git commit, please replace polya by git+https://github.com/killiansheriff/polya.git.

Contact

If any questions, feel free to contact me (ksheriff at mit dot edu).

References & Citing

If you use this repository in your work, please cite:

@article{TOBEUPDATED,
  title={TOBEUPDATED},
  author={Sheriff, Killian and Cao, Yifan and Freitas, Rodrigo},
  journal={arXiv preprint TOBEUPDATED},
  year={2024}
}

Metadata

Release files for polyaenum 0.0.1

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

Source distribution (sdist)

Source distribution for polyaenum 0.0.1
File Size Uploaded Provenance Actions
polyaenum-0.0.1.tar.gz 4.4 kB Without provenance Details for polyaenum-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polyaenum 0.0.1
File Interpreter ABI Platform Actions
polyaenum-0.0.1-py3-none-any.whl Python 3 none any Details for polyaenum-0.0.1-py3-none-any.whl

Total release size: 9.4 kB

Release files / polyaenum-0.0.1.tar.gz

Download URL polyaenum-0.0.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
395f1d3d07c04d125d2bfed30522aeb6e4aba1bb3a8d5701e3b2e5e78fb49520
BLAKE2b-256 checksum
How to use checksums
9ed70664ccffceb010214d681f1c9e53a4e9ca052fb4ed11e1dd0eab1b7fffcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release files / polyaenum-0.0.1-py3-none-any.whl

Download URL polyaenum-0.0.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0459ccdae778c23183c5cc0ba1626d11ce03380d87438db280dd3c38316dd385
BLAKE2b-256 checksum
How to use checksums
df3e64dc20843752583a86be0b56cbf7dd0f5fa39f78957266bf0090cf7b5ff7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Security for polyaenum 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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