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 details)

Uploaded Source

File details

Details for the file IPhreeqcPy-1.0-beta.tar.gz.

File metadata

  • Download URL: IPhreeqcPy-1.0-beta.tar.gz
  • Upload date:
  • Size: 15.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for IPhreeqcPy-1.0-beta.tar.gz
Algorithm Hash digest
SHA256 2ab397caa5f835e6d8cd26d82d0959b81eadf2772ed6ca570544da8038851125
MD5 757dd338035d0ad0d52677c661daf22d
BLAKE2b-256 0fabe6464b0546ef6211960dcf00fd24c5a5e9c547a06b693d8b85c9ed94b50b

See more details on using hashes here.

Supported by

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