PLEIADES - Python Libraries Extensions for Isotopic Analysis via Detailed Examination of SAMMY
Project description
PLEIADES
PLEIADES’ user documentation
PLEIADES: Python Libraries Extensions for Isotopic Analysis via Detailed Examination of SAMMY. This is a Python package that sets up, executes, and analyzes, SAMMY runs. If you are unfamiliar with SAMMY, please see the SAMMY website.
The user documentation can be found at Read the Docs.
Installation
For Users:
Install from PyPI:
pip install pleiades-neutron
Or from conda-forge:
conda install -c conda-forge pleiades-neutron
For Developers:
Prerequisites:
git: A version control system used to clone the SAMMY repository. You can usually install it using your system’s package manager.
pixi: A package installer for Python that manages environments and dependencies. You can install it following the instructions at Pixi Installation.
Steps:
Clone and build the SAMMY Repository:
Use git to clone the SAMMY repository from GitLab:
git clone https://code.ornl.gov/RNSD/SAMMY.gitBuild and Install SAMMY:
Navigate to the cloned SAMMY directory (SAMMY/sammy) and follow the SAMMY installation instructions to build and install it. Refer to the SAMMY documentation for specific instructions.
cd SAMMY/sammy mkdir myscript cp script/configure_sammy_gcc.sh myscript/ mkdir build cd build ../myscript/configure_sammy_gcc.sh ../ make -j4 make installVerification (Optional):
Open a new terminal window and check if the SAMMY executables are accessible. You can try running a SAMMY command, such as sammy. If successful, the command should execute.
Clone the PLEIADES Repository:
Use git to clone the PLEIADES repository from GitHub:
git clone https://github.com/lanl/PLEIADES.gitNavigate to the Directory:
Change directories to the cloned PLEIADES repository:
cd PLEIADESInstall Using Pixi:
Use pixi to create and activate the development environment:
pixi installThis will install all required dependencies in an isolated environment and activate it.
You can run the post-installation check after SAMMY is installed:
pixi run post_install_checkPixi manages all dependencies and environments for you, making it easy to work with PLEIADES alongside other Python projects.
Add SAMMY’s bin Directory to PATH:
You’ll need to add the bin directory of the installed SAMMY package to your system’s PATH environment variable. This allows pleiades to locate the necessary SAMMY executables.
Open your terminal and edit your shell configuration file (e.g., .bashrc for Bash).
Add the following line (replace <SAMMY_INSTALL_DIR> with the actual installation directory of SAMMY):
export PATH=$PATH:<SAMMY_INSTALL_DIR>/binSave the changes and source the configuration file to apply the changes immediately:
source ~/.bashrc # Replace with your shell configuration file name
Development Tasks (Optional):
PLEIADES provides several convenient development tasks through Pixi:
# Run tests pixi run test # Build documentation pixi run build-docs # Format code pixi run format # Run linting checks pixi run lint # Install pre-commit hooks pixi run pre-commit-install
Troubleshooting:
If you encounter issues during the SAMMY installation or path configuration, refer to the SAMMY documentation for specific guidance.
For Pixi-related issues, check the Pixi documentation.
Additional Notes:
Two environments available: default (development) and jupyter (notebook work). Use pixi shell -e jupyter to activate jupyter environment.
See available tasks: pixi task list
License
This project is licensed under the LANL-Modified-MIT License - see the LICENSE file for details.
Project details
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 pleiades_neutron-2.1.5.tar.gz.
File metadata
- Download URL: pleiades_neutron-2.1.5.tar.gz
- Upload date:
- Size: 352.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c91b1f9047f89a81dbedcfb85ddf2b2d13cc6b1bc6f0500bd0893bb985d0148
|
|
| MD5 |
c303e1fc9b86caaa2c6f555ecd8a86f4
|
|
| BLAKE2b-256 |
52545d0d3bc05e7d7cf243f06caccdcb79cb574e64bfbbebb0c050d06619d8b3
|
Provenance
The following attestation bundles were made for pleiades_neutron-2.1.5.tar.gz:
Publisher:
package.yaml on lanl/PLEIADES
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pleiades_neutron-2.1.5.tar.gz -
Subject digest:
8c91b1f9047f89a81dbedcfb85ddf2b2d13cc6b1bc6f0500bd0893bb985d0148 - Sigstore transparency entry: 646158371
- Sigstore integration time:
-
Permalink:
lanl/PLEIADES@521a3f27d5cf74c477e46bce8a6ef68c42369503 -
Branch / Tag:
refs/tags/v2.1.5 - Owner: https://github.com/lanl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yaml@521a3f27d5cf74c477e46bce8a6ef68c42369503 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pleiades_neutron-2.1.5-py3-none-any.whl.
File metadata
- Download URL: pleiades_neutron-2.1.5-py3-none-any.whl
- Upload date:
- Size: 413.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e864f5aab6eac79816205a16031f577da2207440e107a78f607a67b7ddc83d0
|
|
| MD5 |
775fc58b9a87bd7516c17b300856430e
|
|
| BLAKE2b-256 |
f1dcdc540e5bc5b0fd8d2f5949684df134b262d1e4df9fe4b8dbad599c099bda
|
Provenance
The following attestation bundles were made for pleiades_neutron-2.1.5-py3-none-any.whl:
Publisher:
package.yaml on lanl/PLEIADES
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pleiades_neutron-2.1.5-py3-none-any.whl -
Subject digest:
6e864f5aab6eac79816205a16031f577da2207440e107a78f607a67b7ddc83d0 - Sigstore transparency entry: 646158440
- Sigstore integration time:
-
Permalink:
lanl/PLEIADES@521a3f27d5cf74c477e46bce8a6ef68c42369503 -
Branch / Tag:
refs/tags/v2.1.5 - Owner: https://github.com/lanl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yaml@521a3f27d5cf74c477e46bce8a6ef68c42369503 -
Trigger Event:
push
-
Statement type: