Skip to main content

TREXIO tools

PyPI version

Set of tools for TREXIO files.

Requirements

  • python3 (>=3.6)
  • trexio (>=1.0.0) [Python API]
  • numpy (>=1.17.3)
  • resultsFile [for GAMESS/GAU$$IAN conversion]
  • docopt [for CLI]
  • pyscf [only if you use the pyscf->trexio converter]

Deprecation note: the pyscf--->trexio converter in this repository is no longer maintained. Please install the pyscf-forge plugin for the latest and the most complete pyscf<--->trexio interface (including multi-reference wave function I/O).

Installation

Installation via PyPI, periodically updated

pip install trexio-tools

Installation from source code

pip install git+https://github.com/TREX-CoE/trexio_tools

Instructions for users

After installation, trexio-tools provides an entry point, which can be accessed via CLI:

trexio --help

This will list all currently supported command line arguments. For example,

trexio convert-from -t gamess -i data/GAMESS_CAS.log -b hdf5 trexio_cas.hdf5

converts data from the GAMESS_CAS.log output file of the GAMESS code (note also -t gamess argument) into the TREXIO file called trexio_cas.hdf5 using -b hdf5 back end of TREXIO.

and,

trexio convert-from -t orca -i data/h2o.json -b hdf5 trexio_orca.hdf5

Note that since ORCA AOs and MOs are in spherical coordinates, one needs to convert these to cartesian to be able to use trexio functions.

trexio convert-to -t cartesian -o trexio_orca_cart.hdf5 trexio_orca.hdf5

converts data from the h2o.json output file of the ORCA code into the TREXIO file called trexio_orca.hdf5 using -b hdf5 back end of TREXIO followed by converting the spherical AOs and MOs to cartesian coordinates.

Metadata

Release files for trexio-tools 0.10.0

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

Source distribution (sdist)

Source distribution for trexio-tools 0.10.0
File Size Uploaded Provenance
trexio_tools-0.10.0.tar.gz 51.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for trexio-tools 0.10.0
File Interpreter ABI Platform
trexio_tools-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 110.8 kB

Release files / trexio_tools-0.10.0.tar.gz

Download URL trexio_tools-0.10.0.tar.gz
Size 51.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a67e7edd2e78a03d37dfc02acc5543f27f99e09f55752fcafbd30556ed923adc
BLAKE2b-256 checksum
How to use checksums
709c91a6926f6508693d7633f2d8c72dc22a947d6db95191b908f58a1bffde0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / trexio_tools-0.10.0-py3-none-any.whl

Download URL trexio_tools-0.10.0-py3-none-any.whl
Size 59.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11697eca730d68d9402b23125d6a19ec7542cf1284bd1d337cf91a7a743eaad5
BLAKE2b-256 checksum
How to use checksums
be89daff1f542914e8b33f3f1ed42cd404e96611c6775de774b57ad660a1b84f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for trexio-tools 0.10.0

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.

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