Set of tools for TREXIO files
Project description
TREXIO tools
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]
Installation
- Clone the repository
git clone https://github.com/TREX-CoE/trexio_tools.git
- Create an isolated virtual environment, for example using
python3 -m venv trexio_tools
- Activate the previously created environment, for example using
source trexio_tools/bin/activate
- Install/upgrade the Python setup tools
pip install --upgrade setuptools wheel build
- Install the Python packages that are required for
trexio-tools
to work
pip install -r requirements.txt
- Install the
trexio-tools
package using one of the following methods:
pip install trexio-tools
(installation from PyPI, periodically updated)pip install .
(installation from source, always contains recent updates)
Only the last step has to be repeated to upgrade the trexio-tools
package.
This means that the virtual environment can stay the same, unless there have been
critical updates in trexio
or resultsFile
packages.
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
Built Distribution
Hashes for trexio_tools-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e61b980e161113df2378f95a699662fc7bcfecdfa44f06b89e9e2b7ae42160d1 |
|
MD5 | a52d726e956d3ca9d26ec9ae7463ce1a |
|
BLAKE2b-256 | 12ae80fd2ab92e7596c5ed84ad3c817fe4a7df1344f93cc4016bd6af9fd04d7d |