Skip to main content

Python wrapper for Iphreeqc

Project description

IPhreeqcPy: a Python wrapper for IPhreeqc
========================================

IPhreeqcPy provides a wrapper to communicate with IPhreeqc. It is an alternative to PhreeqPy and is derived from PhreeqPy . One of the drawback of PhreeqPy was that it used pythonic names spaces for IPhreeqc function calls which made PhreeqPy function calls different from IPhreeqc . Secondly it didnot have automated compilation for IPhreeqc during installation. As PhreeqPy I took further liberty to address this issue and redistribute it as IPhreeqcPy to avoid conflicts with development of PhreeqPy . Moreover more Iphreeqc function calls are included in IPhreeqcPy e.g. function calls related to dump which can be of use while restarting simulations.


Installation
============

Please follow the following instructions for installation

windows
+++++++

* Install cmake which can be downloaded from https://cmake.org/

* Make sure visual studio 2010 is installed which can be downloaded from https://www.microsoft.com/en-us/download/details.aspx?id=23507


* Open windows console and type following commands

.. code:: batch

set path="C:\Program Files\CMake\bin";%PATH% #Includes CMake in search path
pip install IPhreeqcPy

* If you want to install IPhreeqcPy in a specific location specify following additional directives

.. code:: batch

pip install --install-option="--prefix=*YOUR INSTALL PATH*" --ignore-installed IPhreeqcPy


* To test installation type following in python console

.. code:: Python

import IPhreeqcPy
IPhreeqcPy.test()

* To upgrade your current installation type following in windows console

.. code:: batch

set path="C:\Program Files\CMake\bin";%PATH% #Includes CMake in search path
pip install --upgrade IPhreeqcPy

* To uninstall IPhreeqcPy type following in windows console

.. code:: bash

pip uninstall IPhreeqcPy

Linux
+++++

* Open linux terminal and type following

.. code:: bash

sudo pip install IPhreeqcPy

* If you want to install IPhreeqcPy in a specific location specify following additional directives

.. code:: bash

pip install --install-option="--prefix=*YOUR INSTALL PATH*" --ignore-installed IPhreeqcPy


* To test installation type following in python console

.. code:: Python

IPhreeqcPy.test()

* To upgrade your current installation type following in linux terminal

.. code:: bash

pip install --upgrade IPhreeqcPy

* To uninstall IPhreeqcPy type following in linux terminal

.. code:: bash

pip uninstall IPhreeqcPy


Detailed Documentation
======================
For detail documentation visit http://raviapatel.bitbucket.org/IPhreeqcPy/

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

IPhreeqcPy-1.0-beta.tar.gz (15.8 MB view hashes)

Uploaded Source

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