Skip to main content

Set of tools for TREXIO files

Project description

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.

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

trexio_tools-0.10.0.tar.gz (51.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trexio_tools-0.10.0-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

Details for the file trexio_tools-0.10.0.tar.gz.

File metadata

  • Download URL: trexio_tools-0.10.0.tar.gz
  • Upload date:
  • Size: 51.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trexio_tools-0.10.0.tar.gz
Algorithm Hash digest
SHA256 a67e7edd2e78a03d37dfc02acc5543f27f99e09f55752fcafbd30556ed923adc
MD5 b5e42e0583e6b64743dff7cd581327b9
BLAKE2b-256 709c91a6926f6508693d7633f2d8c72dc22a947d6db95191b908f58a1bffde0f

See more details on using hashes here.

File details

Details for the file trexio_tools-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: trexio_tools-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 59.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trexio_tools-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11697eca730d68d9402b23125d6a19ec7542cf1284bd1d337cf91a7a743eaad5
MD5 adc3d806b96fe648135fbd0a360842ed
BLAKE2b-256 be89daff1f542914e8b33f3f1ed42cd404e96611c6775de774b57ad660a1b84f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page