MPG project
Project description
Magnetic point group (MPG) tensor analysis toolkit
The pythmpg package provides tools for enumerating symmetry
properties of all 122 magnetic point groups (MPGs), and for counting
the number of independent components of arbitrary-rank tensors
under those symmetries as classified by their Jahn symbol.
A major feature of the package is its ability to export data in the
form of a .csv file that can be used to build a spreadsheet
capable of screening for MPGs based on whether they have
certain symmetries or support specified tensor properties. A broader
community of users can then use standard spreadsheet tools, such
as sorting on columns and hiding columns and rows, to achieve similar ends,
without the need to access the Python codes themselves.
Resources
- Source: https://github.com/pythmpg/pythmpg
- Documentation: https://pythmpg.readthedocs.io/en/latest/
- Zenodo Repository: https://zenodo.org/records/18672613
Installation
PythMPG is available through PyPI.
pip install pythmpg
To install from source in editable mode:
git clone https://github.com/pythmpg/pythmpg.git
cd pythmpg
pip install -e .
PythMPG ≥ 1.0.0 requires Python ≥ 3.12 and the core dependency:
- numpy ≥ 2.0
Citation
If you use the code in your paper, please cite us
@software{Urru_Python_Magnetic_Point_2026,
author = {Urru, Andrea and Birol, Turan and Cole, Trey and Vanderbilt, David},
doi = {10.5281/zenodo.18672613},
license = {GPL-3.0-or-later},
month = jun,
title = {{Python Magnetic Point Group (PythMPG)}},
url = {https://zenodo.org/records/18672613},
version = {1.0.0},
year = {2026}
}
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pythmpg-1.0.0.tar.gz.
File metadata
- Download URL: pythmpg-1.0.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ee58e432c7f2d24a5a703a113021712743879b76efa17061cda8acf26fba939
|
|
| MD5 |
f4f066c1ccba5fec05623911c4044ba4
|
|
| BLAKE2b-256 |
6cb5f9a1085cd0456c4fdb90b0cf2132341fc4f66647fdfd008c928e65ab0260
|
Provenance
The following attestation bundles were made for pythmpg-1.0.0.tar.gz:
Publisher:
pypi-publish.yml on pythmpg/pythmpg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pythmpg-1.0.0.tar.gz -
Subject digest:
2ee58e432c7f2d24a5a703a113021712743879b76efa17061cda8acf26fba939 - Sigstore transparency entry: 1944294010
- Sigstore integration time:
-
Permalink:
pythmpg/pythmpg@8d955c7c6a9b89e3cd29528d0878893debe2147c -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/pythmpg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@8d955c7c6a9b89e3cd29528d0878893debe2147c -
Trigger Event:
push
-
Statement type:
File details
Details for the file pythmpg-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pythmpg-1.0.0-py3-none-any.whl
- Upload date:
- Size: 36.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cb568e4a5685040c805a94ab9e0b54d6368c44e9632025cb4e0b521c19122d8
|
|
| MD5 |
460b1759ff2f595e5d2cdcf2730969db
|
|
| BLAKE2b-256 |
d79a1318d5ac938013b02b15e76ddfa5f3bbdbeb105a76d0349ee35172a244d6
|
Provenance
The following attestation bundles were made for pythmpg-1.0.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on pythmpg/pythmpg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pythmpg-1.0.0-py3-none-any.whl -
Subject digest:
2cb568e4a5685040c805a94ab9e0b54d6368c44e9632025cb4e0b521c19122d8 - Sigstore transparency entry: 1944294117
- Sigstore integration time:
-
Permalink:
pythmpg/pythmpg@8d955c7c6a9b89e3cd29528d0878893debe2147c -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/pythmpg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@8d955c7c6a9b89e3cd29528d0878893debe2147c -
Trigger Event:
push
-
Statement type: