Helpers around reactive MD post-processing workflows (ReacNetGenerator).
Project description
reacnet-md-tools
Small, dependency-light helpers around reactive MD post-processing workflows, built to make ReacNetGenerator runs more repeatable.
Design goals:
- minimal dependencies
- safe subprocess execution (no
shell=True) - clear, agent-friendly CLIs
Install / run
Run without installing (recommended)
uvx --from reacnet-md-tools rng-pipeline --help
Install into an environment
python -m pip install -U reacnet-md-tools
Commands
rng-xs2x
Convert a LAMMPS dump with scaled coordinates xs/ys/zs into absolute coordinates x/y/z.
rng-xs2x -i in.lammpstrj -o out.lammpstrj
Limitations: orthorhombic boxes only (triclinic tilt factors are rejected with an error).
rng-infer-atomnames
Infer reacnetgenerator -a atomname order from a LAMMPS data file by parsing the Masses section and matching masses to common elements.
rng-infer-atomnames path/to/system.data
# -> e.g. "C H O Cl"
rng-pipeline
End-to-end helper:
- If the input is a LAMMPS dump and uses
xs/ys/zs, convert it tox/y/zintoout/<basename>/dump_with_xyz.lammpstrj. - If
--atomnamesis not provided, try to infer them from a nearby LAMMPS data file (or ask you to pick one with--pick-data). - Run ReacNetGenerator, writing everything into
out/<basename>/.
Example:
rng-pipeline \
--input /path/to/traj.lammpstrj \
--type dump \
--outroot out \
--pick-data \
--stepinterval 10 \
--maxspecies 50
ReacNetGenerator runner selection
- default
--runner auto:- use local
reacnetgeneratorif found on PATH - otherwise run via:
uvx --from reacnetgenerator reacnetgenerator ...
- use local
Development
Build (wheel + sdist):
python -m pip install -U build
python -m build
License
MIT (see LICENSE).
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 reacnet_md_tools-0.1.0.tar.gz.
File metadata
- Download URL: reacnet_md_tools-0.1.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2440ce9a40bfdf101f8ed2f0a077896baa91e62e11a1d7e5929e51514da81633
|
|
| MD5 |
ccf1c6f0128f951c0d708f4a001fb0ee
|
|
| BLAKE2b-256 |
4cbfad124142b5ff1b770e66f69f18aae82a55187fd1be5b797523c06bb10971
|
Provenance
The following attestation bundles were made for reacnet_md_tools-0.1.0.tar.gz:
Publisher:
publish.yml on hcustc/reacnet-md-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reacnet_md_tools-0.1.0.tar.gz -
Subject digest:
2440ce9a40bfdf101f8ed2f0a077896baa91e62e11a1d7e5929e51514da81633 - Sigstore transparency entry: 1102163533
- Sigstore integration time:
-
Permalink:
hcustc/reacnet-md-tools@4dc051d3945ba4b6a874b91437dfedc83c0d7b09 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/hcustc
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4dc051d3945ba4b6a874b91437dfedc83c0d7b09 -
Trigger Event:
release
-
Statement type:
File details
Details for the file reacnet_md_tools-0.1.0-py3-none-any.whl.
File metadata
- Download URL: reacnet_md_tools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.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 |
a0d97c4669743efb958e1a9df19fd0e9d018c711146fd61ea1be5ca09fecf200
|
|
| MD5 |
4239ded6cccf61a23b3cc698a07fd8bd
|
|
| BLAKE2b-256 |
f3a69e5ebf9e2e3e074fdf6c0220d53c40e288b434679acd359ddf712adb304d
|
Provenance
The following attestation bundles were made for reacnet_md_tools-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on hcustc/reacnet-md-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reacnet_md_tools-0.1.0-py3-none-any.whl -
Subject digest:
a0d97c4669743efb958e1a9df19fd0e9d018c711146fd61ea1be5ca09fecf200 - Sigstore transparency entry: 1102163570
- Sigstore integration time:
-
Permalink:
hcustc/reacnet-md-tools@4dc051d3945ba4b6a874b91437dfedc83c0d7b09 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/hcustc
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4dc051d3945ba4b6a874b91437dfedc83c0d7b09 -
Trigger Event:
release
-
Statement type: