moleculekit


Namemoleculekit JSON
Version 1.8.29 PyPI version JSON
download
home_pageNone
SummaryA molecule reading/writing and manipulation package.
upload_time2024-03-27 10:02:09
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MoleculeKit

[![Conda](https://anaconda.org/acellera/moleculekit/badges/version.svg)](https://anaconda.org/acellera/moleculekit)
[![codecov](https://codecov.io/gh/Acellera/moleculekit/branch/master/graph/badge.svg)](https://codecov.io/gh/Acellera/moleculekit)

A molecule manipulation library

# Getting started

We recommend installing Miniconda on your machine to better manage python packages and environments.

You can install moleculekit either in the "base" conda environment or in a new conda environment. We recommend the second.

### Install it into the base conda environment

#### With conda

[Installation Instructions](https://software.acellera.com/moleculekit/installation.html)

#### With pip

The pip version of moleculekit is VERY limited and not officially supported. Use at your own risk.

```
(base) user@computer:~$ pip install moleculekit
```

### Optional dependencies of moleculekit

Moleculekit has a small number of optional dependencies which are needed for some of it's functionalities. They were not added to the default dependencies to keep moleculekit a fast and small installation and to avoid unnecessary conflicts with other software. However if you want to leverage all of it's functionality you can install the rest of the dependencies with the following command:

```
(moleculekit) user@computer:~$ wget https://raw.githubusercontent.com/Acellera/moleculekit/master/extra_requirements.txt
(moleculekit) user@computer:~$ conda install --file extra_requirements.txt -c acellera
```

### Using moleculekit in ipython

Install ipython in the correct conda enviroment using the following command. If you have installed the extra dependencies as above, you can skip this step since it already installs ipython.

```
(moleculekit) user@computer:~$ conda install ipython
```

Now you can start an ipython console with

```
(moleculekit) user@computer:~$ ipython
```

In the ipython console you can now import any of the modules of moleculekit and use it as normal.

```python
from moleculekit.molecule import Molecule

mol = Molecule('3ptb')
mol.view()
```

### API

For the official documentation of the moleculekit API head over to https://software.acellera.com/moleculekit/index.html

### Issues

For any bugs or questions on usage feel free to use the issue tracker of this github repo.

### Dev

If you are using moleculekit without installing it by using the PYTHONPATH env var you will need to compile the C++ extensions in-place with the following command:

```
python setup.py build_ext --inplace
```

#### Building for WebAssembly

Install `emscripten` https://emscripten.org/docs/getting_started/downloads.html

```
mamba create -n pyodide-build
mamba activate pyodide-build
mamba install python=3.10
pip install pyodide-build==0.23.2

# Activate the emscripten environment
cd ../emsdk
git checkout 3.1.32
./emsdk install latest
./emsdk activate latest
source emsdk_env.sh
cd -

# Build the package
export PYO3_CROSS_INCLUDE_DIR="HACK"
export PYO3_CROSS_LIB_DIR="HACK"
rm -rf .pyodide-xbuildenv
pyodide build -o dist_pyodide
cp dist_pyodide/*.whl test_wasm/wheels/
cd test_wasm
python3 -m http.server
```

## Citing MoleculeKit

If you use this software in your publication please cite:

Stefan Doerr, Matthew J. Harvey, Frank Noé, and Gianni De Fabritiis.
**HTMD: High-throughput molecular dynamics for molecular discovery.**
_Journal of Chemical Theory and Computation_, **2016**, _12_ (4), pp 1845–1852.
[doi:10.1021/acs.jctc.6b00049](http://pubs.acs.org/doi/abs/10.1021/acs.jctc.6b00049)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "moleculekit",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Stefan Doerr <s.doerr@acellera.com>",
    "download_url": "https://files.pythonhosted.org/packages/2a/f9/1d7fe1a09e04049ace7db33faf27c26478ba9674a3cb39d1115fcd1d0679/moleculekit-1.8.29.tar.gz",
    "platform": null,
    "description": "# MoleculeKit\n\n[![Conda](https://anaconda.org/acellera/moleculekit/badges/version.svg)](https://anaconda.org/acellera/moleculekit)\n[![codecov](https://codecov.io/gh/Acellera/moleculekit/branch/master/graph/badge.svg)](https://codecov.io/gh/Acellera/moleculekit)\n\nA molecule manipulation library\n\n# Getting started\n\nWe recommend installing Miniconda on your machine to better manage python packages and environments.\n\nYou can install moleculekit either in the \"base\" conda environment or in a new conda environment. We recommend the second.\n\n### Install it into the base conda environment\n\n#### With conda\n\n[Installation Instructions](https://software.acellera.com/moleculekit/installation.html)\n\n#### With pip\n\nThe pip version of moleculekit is VERY limited and not officially supported. Use at your own risk.\n\n```\n(base) user@computer:~$ pip install moleculekit\n```\n\n### Optional dependencies of moleculekit\n\nMoleculekit has a small number of optional dependencies which are needed for some of it's functionalities. They were not added to the default dependencies to keep moleculekit a fast and small installation and to avoid unnecessary conflicts with other software. However if you want to leverage all of it's functionality you can install the rest of the dependencies with the following command:\n\n```\n(moleculekit) user@computer:~$ wget https://raw.githubusercontent.com/Acellera/moleculekit/master/extra_requirements.txt\n(moleculekit) user@computer:~$ conda install --file extra_requirements.txt -c acellera\n```\n\n### Using moleculekit in ipython\n\nInstall ipython in the correct conda enviroment using the following command. If you have installed the extra dependencies as above, you can skip this step since it already installs ipython.\n\n```\n(moleculekit) user@computer:~$ conda install ipython\n```\n\nNow you can start an ipython console with\n\n```\n(moleculekit) user@computer:~$ ipython\n```\n\nIn the ipython console you can now import any of the modules of moleculekit and use it as normal.\n\n```python\nfrom moleculekit.molecule import Molecule\n\nmol = Molecule('3ptb')\nmol.view()\n```\n\n### API\n\nFor the official documentation of the moleculekit API head over to https://software.acellera.com/moleculekit/index.html\n\n### Issues\n\nFor any bugs or questions on usage feel free to use the issue tracker of this github repo.\n\n### Dev\n\nIf you are using moleculekit without installing it by using the PYTHONPATH env var you will need to compile the C++ extensions in-place with the following command:\n\n```\npython setup.py build_ext --inplace\n```\n\n#### Building for WebAssembly\n\nInstall `emscripten` https://emscripten.org/docs/getting_started/downloads.html\n\n```\nmamba create -n pyodide-build\nmamba activate pyodide-build\nmamba install python=3.10\npip install pyodide-build==0.23.2\n\n# Activate the emscripten environment\ncd ../emsdk\ngit checkout 3.1.32\n./emsdk install latest\n./emsdk activate latest\nsource emsdk_env.sh\ncd -\n\n# Build the package\nexport PYO3_CROSS_INCLUDE_DIR=\"HACK\"\nexport PYO3_CROSS_LIB_DIR=\"HACK\"\nrm -rf .pyodide-xbuildenv\npyodide build -o dist_pyodide\ncp dist_pyodide/*.whl test_wasm/wheels/\ncd test_wasm\npython3 -m http.server\n```\n\n## Citing MoleculeKit\n\nIf you use this software in your publication please cite:\n\nStefan Doerr, Matthew J. Harvey, Frank No\u00e9, and Gianni De Fabritiis.\n**HTMD: High-throughput molecular dynamics for molecular discovery.**\n_Journal of Chemical Theory and Computation_, **2016**, _12_ (4), pp 1845\u20131852.\n[doi:10.1021/acs.jctc.6b00049](http://pubs.acs.org/doi/abs/10.1021/acs.jctc.6b00049)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A molecule reading/writing and manipulation package.",
    "version": "1.8.29",
    "project_urls": {
        "Bug Tracker": "https://github.com/Acellera/moleculekit/issues",
        "Homepage": "https://github.com/Acellera/moleculekit"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2af91d7fe1a09e04049ace7db33faf27c26478ba9674a3cb39d1115fcd1d0679",
                "md5": "2b3d7ac3a1a94f7dfce036743ddbc786",
                "sha256": "b76fdd05035bc1bb6df10aa91e722cd4e5558db9735db725390aeff49f45905b"
            },
            "downloads": -1,
            "filename": "moleculekit-1.8.29.tar.gz",
            "has_sig": false,
            "md5_digest": "2b3d7ac3a1a94f7dfce036743ddbc786",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6804746,
            "upload_time": "2024-03-27T10:02:09",
            "upload_time_iso_8601": "2024-03-27T10:02:09.959838Z",
            "url": "https://files.pythonhosted.org/packages/2a/f9/1d7fe1a09e04049ace7db33faf27c26478ba9674a3cb39d1115fcd1d0679/moleculekit-1.8.29.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-27 10:02:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Acellera",
    "github_project": "moleculekit",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "moleculekit"
}
        
Elapsed time: 0.23047s