trexio-tools


Nametrexio-tools JSON
Version 0.6.0 PyPI version JSON
download
home_pagehttps://github.com/TREX-CoE/trexio_tools
SummarySet of tools for TREXIO files
upload_time2023-10-02 09:28:40
maintainer
docs_urlNone
authorTREX-CoE
requires_python>=3.6
licenseBSD 3-Clause License
keywords
VCS
bugtrack_url
requirements trexio resultsFile docopt pyscf
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TREXIO tools

[![PyPI version](https://badge.fury.io/py/trexio-tools.svg)](https://badge.fury.io/py/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]
- 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`
2. Create an isolated virtual environment, for example using
- `python3 -m venv trexio_tools`
3. Activate the previously created environment, for example using
- `source trexio_tools/bin/activate`
4. Install the Python packages that are required for `trexio-tools` to work
- `pip install -r requirements.txt`
5. 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. 

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.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TREX-CoE/trexio_tools",
    "name": "trexio-tools",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "TREX-CoE",
    "author_email": "posenitskiy@irsamc.ups-tlse.fr",
    "download_url": "https://files.pythonhosted.org/packages/91/4d/01a679c68b4c4ce8f8e8ef57d11d859ca94caa78e811eefc7a45dbbd9579/trexio-tools-0.6.0.tar.gz",
    "platform": null,
    "description": "# TREXIO tools\n\n[![PyPI version](https://badge.fury.io/py/trexio-tools.svg)](https://badge.fury.io/py/trexio-tools)\n\nSet of tools for TREXIO files.\n\n\n## Requirements\n\n- python3 (>=3.6)\n- trexio (>=1.0.0) [Python API]\n- numpy (>=1.17.3)\n- resultsFile [for GAMESS/GAU$$IAN conversion]\n- docopt [for CLI]\n- pyscf [only if you use the pyscf->trexio converter]\n\n\n## Installation\n\n### Installation via PyPI, periodically updated\n\n`pip install trexio-tools` \n\n### Installation from source code\n\n1. Clone the repository\n- `git clone https://github.com/TREX-CoE/trexio_tools.git`\n2. Create an isolated virtual environment, for example using\n- `python3 -m venv trexio_tools`\n3. Activate the previously created environment, for example using\n- `source trexio_tools/bin/activate`\n4. Install the Python packages that are required for `trexio-tools` to work\n- `pip install -r requirements.txt`\n5. Install `trexio-tools` via `pip` (also works in `--editable` mode)\n- `pip install .` \n\n\n## Instructions for users\n\nAfter installation, `trexio-tools` provides an entry point, which can be accessed via CLI:\n\n`trexio --help`\n\nThis will list all currently supported command line arguments. For example,\n\n`trexio convert-from -t gamess -i data/GAMESS_CAS.log -b hdf5 trexio_cas.hdf5`\n\nconverts data from the `GAMESS_CAS.log` output file of the GAMESS code\n(note also `-t gamess` argument) into the TREXIO file called `trexio_cas.hdf5`\nusing `-b hdf5` back end of TREXIO. \n\nand,\n\n`trexio convert-from -t orca -i data/h2o.json -b hdf5 trexio_orca.hdf5`\n\nNote that since ORCA AOs and MOs are in spherical coordinates, one needs to convert\nthese to cartesian to be able to use `trexio` functions.\n\n`trexio convert-to -t cartesian -o trexio_orca_cart.hdf5 trexio_orca.hdf5`\n\nconverts data from the `h2o.json` output file of the ORCA code\ninto the TREXIO file called `trexio_orca.hdf5` using `-b hdf5` back end of TREXIO\nfollowed by converting the spherical AOs and MOs to cartesian coordinates.\n\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "Set of tools for TREXIO files",
    "version": "0.6.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/TREX-CoE/trexio_tools/issues",
        "Homepage": "https://github.com/TREX-CoE/trexio_tools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "afe3a8c278d82503dcaf8d4c4082a2e5915d27a139a080c2b949f44461bcd1cb",
                "md5": "126e0b8735753e17949e9602b69747c6",
                "sha256": "953184eaf002a5aeed41db04c4a461f638a980aaf1573f2c3d90ca0ab7f46f12"
            },
            "downloads": -1,
            "filename": "trexio_tools-0.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "126e0b8735753e17949e9602b69747c6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 43879,
            "upload_time": "2023-10-02T09:28:38",
            "upload_time_iso_8601": "2023-10-02T09:28:38.901755Z",
            "url": "https://files.pythonhosted.org/packages/af/e3/a8c278d82503dcaf8d4c4082a2e5915d27a139a080c2b949f44461bcd1cb/trexio_tools-0.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "914d01a679c68b4c4ce8f8e8ef57d11d859ca94caa78e811eefc7a45dbbd9579",
                "md5": "545cc9df7a71c20f86018e498a85105d",
                "sha256": "b22044625faee3f70f52a9af2418360aab7d39f8144c9972769e1a29437cac2b"
            },
            "downloads": -1,
            "filename": "trexio-tools-0.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "545cc9df7a71c20f86018e498a85105d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 37899,
            "upload_time": "2023-10-02T09:28:40",
            "upload_time_iso_8601": "2023-10-02T09:28:40.293417Z",
            "url": "https://files.pythonhosted.org/packages/91/4d/01a679c68b4c4ce8f8e8ef57d11d859ca94caa78e811eefc7a45dbbd9579/trexio-tools-0.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-02 09:28:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TREX-CoE",
    "github_project": "trexio_tools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "trexio",
            "specs": [
                [
                    ">=",
                    "1.2.0"
                ]
            ]
        },
        {
            "name": "resultsFile",
            "specs": [
                [
                    ">=",
                    "2.4"
                ]
            ]
        },
        {
            "name": "docopt",
            "specs": []
        },
        {
            "name": "pyscf",
            "specs": []
        }
    ],
    "lcname": "trexio-tools"
}
        
Elapsed time: 0.12256s