pyISOPACh - a "fairly fast" ISOtope PAttern Calculator for Python
This is a sister package of the DIMEdb project. This program calculates the isotopic distribution/pattern of a given chemical species.
Installation
pyISOPACh requires Python 3+ and is unfortunately not compatible with Python 2. If you are still using Python 2, a clever workaround is to install Python 3 and use that instead.
The easiest way of installing pyISOPACh is using pip:
pip install pyisopach
Alternatively, you can use git and pip in unison to get the development branch:
pip install https://github.com/AberystwythSystemsBiology/pyISOPACh
Example Usage
# Import the package into python
>>> import pyisopach
# Create Molecule object for Sucrose
>>> mol = pyisopach.Molecule("C12H22O11")
# Return molecular weight
>>> mol.molecular_weight
342.2970125766493
# Calculate isotopic distribution/pattern
>>> mol.isotopic_distribution()
(array([342.11621155, 343.11956639, 344.12045733]), array([100. , 12.97887395, 2.260493 ]))
License
Code released under the MIT license.
Release files for pyisopach 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyisopach-0.1.2.tar.gz | 9.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyisopach-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.8 kB
Release files / pyisopach-0.1.2.tar.gz
| Download URL | pyisopach-0.1.2.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2a0ec6fa8a8cae3f2064c3f40c0ec7185a225df66ab8d673ba670cd3097d95d
|
|
BLAKE2b-256 checksum How to use checksums |
ee3b83f04320f0ba805a4aeeca8ef809997f5b0efb2d66727ce9e6a418bf1c34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4
|
Release files / pyisopach-0.1.2-py3-none-any.whl
| Download URL | pyisopach-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50eefabbf715c771813d832fe67e211cd57f5d12e38033a7b436a1008454f619
|
|
BLAKE2b-256 checksum How to use checksums |
f664c23df6717971f1c8f8207cacd649a04e5ce27f4443fb31fa1ff1b715176f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4
|