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]

Installation

Installation via PyPI, periodically updated

pip install trexio-tools

Installation from source code

  1. Clone the repository
  • git clone https://github.com/TREX-CoE/trexio_tools.git
  1. Create an isolated virtual environment, for example using
  • python3 -m venv trexio_tools
  1. Activate the previously created environment, for example using
  • source trexio_tools/bin/activate
  1. Install the Python packages that are required for trexio-tools to work
  • pip install -r requirements.txt
  1. Install trexio-tools via pip (also works in --editable mode)
  • pip install .

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.

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.5.0.tar.gz (34.2 kB view hashes)

Uploaded Source

Built Distribution

trexio_tools-0.5.0-py3-none-any.whl (37.8 kB view hashes)

Uploaded Python 3

Supported by

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