angmom_suite
angmom_suite is a python package for working with phenomenological spin and angular momentum operators
Installation via pip
Install angmom_suite using pip (if using a shared machine, add the --user argument after install)
pip install angmom_suite
Updating
Update the code using pip (if using a shared machine, add the --user argument after install)
pip install angmom_suite --upgrade
Installation with pip editable install
Only do this if you are developing (i.e. changing) the code.
Clone a copy of this repository, preferably while within a directory called git
mkdir -p git; cd git
git clone https://gitlab.com/chilton-group/angmom_suite
Navigate to the package directory
cd angmom_suite/packages
and install the package in editable mode (if using a shared machine, add the --user argument after install)
pip install -e .
When you're done developing (i.e. your changes have been merged to the master),
or if you just want to use the current release version of the package, uninstall using pip
pip uninstall angmom_suite
and follow the Installation via pip instructions above.
Usage
The angmom_suite command line interface can be invoked with
angmom_suite -h
which prints a list of available subprograms.
Alternatively, the individual submodules can be imported into a python program or script as per usual.
Building a .whl file (Advanced)
Only do this if you are told to.
To build a copy of the angmom_suite .whl file, move to the package directory.
Now run
./build_binaries.sh
Then install the .whl file with pip (if using a shared machine, add the --user argument after install)
pip install dist/*.whl
Documentation
The documentation for this package is hosted by gitlab, and is automatically generated whenever new code is committed to the main branch. The automatic generation of this documentation relies on a common layout for comments and docstrings within the code, see contributing for more information.
Development
Before making changes to this repository, please follow the steps outlined in the Chilton group wiki.
Bugs
If you believe you have a bug, please check that you are using the most up to date version of the code.
If that does not fix the problem, please create an issue on GitLab detailing the following:
- The commands you entered
- The error message
Remember to simplify the problem as much as possible in order to provide a minimum working example, e.g. an example for a small molecule rather than one with 100000 atoms.
Then, look at the code, try and figure out what you think is wrong if possible, and include this in your issue.
Release files for angmom-suite 1.32.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 | |
|---|---|---|---|
| angmom_suite-1.32.0.tar.gz | 76.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| angmom_suite-1.32.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 154.4 kB
Release files / angmom_suite-1.32.0.tar.gz
| Download URL | angmom_suite-1.32.0.tar.gz |
|---|---|
| Size | 76.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad5136711cc79f8ee227e07c20a99bb1e3e83ef7d1f9660fc4cd4d2a8806a357
|
|
BLAKE2b-256 checksum How to use checksums |
ad342aedfb34284f99128bbdcbab991d7ea119f4e7b964f3cadfe40ad7a0fa1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / angmom_suite-1.32.0-py3-none-any.whl
| Download URL | angmom_suite-1.32.0-py3-none-any.whl |
|---|---|
| Size | 78.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
973935552018bd042776eb82f9516c907b0d7beea5be2cdf8a09e3cc6e39cbb2
|
|
BLAKE2b-256 checksum How to use checksums |
36437b468300843ca2ae239afa2f6e39ca3f233d42b27f59d1451f57c210e82a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|