Skip to main content

Parser Library for Gaussian Files

Project description

https://zenodo.org/badge/333841133.svg

A python interface to Gaussian i/o files

This project contains an object oriented library for parsing Gaussian io files which aims to facilitate the everyday scripting of computational chemists using Gaussian.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • python >= 3.6

  • python library: setuptools

  • python library: numpy

Installing pyssian

(Work In Progress) Installing from PyPI:
$ python -m pip install pyssian
Installing from source:

Check your python version:

$ python --version

If the version is not one of the required substitute in the following commands “python” by the path to the python with the appropiate version. Some systems do not have the python symlink but come with the python3 symlink.

If working within a virtual environment with the appropiate python version, the installation should proceed as normal using “python”.

Get the source code either git or download and unpack it into “pyssian” (Currently you need the developer permission to access the code)

$ git clone https://github.com/maserasgroup-repo/pyssian.git pyssian

Now install pyssian

$ python -m pip install pyssian

Installing with the -e option before pyssian will make that all the changes in the source file will be effective without havin to reinstall

Or if you prefer you can download the source code in a compressed folder and install directly:

$ python -m pip install pyssian.tar.gz

Installing the dependencies

python3.7 installation in Ubuntu 18.04 LTS

$ sudo apt-get update
$ sudo apt-get install python3.7 python3.7-dev

If for any reason it is not reachable:

$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt-get update
$ sudo apt-get install python3.7 python3.7-dev

Now you can skip this if you don’t want to set up a virtual environment (Remember to change NewFolder for the actual path of the directory where you want the virtual environment)

$ sudo apt-get install python3.7-venv
$ python3.7 -m venv NewFolder
$ source NewFolder/bin/activate

Now we install the python default installer pip

$ python -m pip install pip
$ python -m pip install --upgrade pip
$ python -m pip install setuptools
$ python -m pip install numpy

If it proceeded without any errors (pip and setuptools should already be installed)

Running the tests

To run the tests run the following command (after installing pyssian):

$ python -m unittest -v pyssian.tests

Building the docs

To build the docs go to the docs folder where you have the source code then run:

$ cd sphinx/
$ python -m pip install -r requirements.txt
$ make html

Now if you go to the _docs/html folder you can open the index.html file in your folder and navigate through the documentation easily.

Developed with

  • python 3.7

  • Ubuntu 16.04 LTS, 18.04 LTS and 20.04 LTS

Authors

License

pyssian is freely available under an [MIT](https://opensource.org/licenses/MIT)

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

pyssian-1.0.2.tar.gz (215.5 kB view hashes)

Uploaded Source

Built Distribution

pyssian-1.0.2-py3-none-any.whl (235.4 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