Skip to main content

A molecule reading/writing and manipulation package.

Project description

MoleculeKit

Conda

A molecule manipulation library

Getting started

Installing moleculekit

With pip

pip install moleculekit

With conda

Installation Instructions

Using moleculekit in ipython

Install ipython in the correct conda enviroment using the following command.

pip install ipython

Now you can start an ipython console with

ipython

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

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

conda create -n pyodide-build
conda activate pyodide-build
conda install python=3.11
pip install pyodide-build==0.25.1

# Activate the emscripten environment
cd ../emsdk
./emsdk install 3.1.46
./emsdk activate 3.1.46
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

If you get an error at building about numpy missing, check this issue https://github.com/pyodide/pyodide/issues/4347

Debugging segmentation faults in Cython part

  1. Put a reproducible script in a file like segfault.py
  2. Modify setup.py to have -g as compile flag instead of -O3
  3. Recompile extensions with python setup.py build_ext --inplace
  4. Execute script with gdb like gdb --args python segfault.py
  5. Execute run and then bt 10 to show the backtrace
  6. Have fun

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

moleculekit-1.11.7-cp313-cp313-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.13Windows x86-64

moleculekit-1.11.7-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

moleculekit-1.11.7-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (12.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

moleculekit-1.11.7-cp313-cp313-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

moleculekit-1.11.7-cp312-cp312-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.12Windows x86-64

moleculekit-1.11.7-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

moleculekit-1.11.7-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (12.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

moleculekit-1.11.7-cp312-cp312-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

moleculekit-1.11.7-cp311-cp311-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.11Windows x86-64

moleculekit-1.11.7-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

moleculekit-1.11.7-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (12.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

moleculekit-1.11.7-cp311-cp311-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

moleculekit-1.11.7-cp310-cp310-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.10Windows x86-64

moleculekit-1.11.7-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (12.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

moleculekit-1.11.7-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (12.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

moleculekit-1.11.7-cp310-cp310-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file moleculekit-1.11.7-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b1db4f99bde952afef283b3d4af6c60dcc98218e953f6029ae9ef3652fc56bbe
MD5 e5c8931a10c2217c871784040b3160f1
BLAKE2b-256 9713c7d3a1431ab0e4ab13a8620ddbd098dbd0cee6ce8e552c0c85a2b39e477f

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 843d589eef104568b0d9743e6b7513ea7fd2f4de22bb38e8a3b17ccdc82bfd8c
MD5 3a7c8ce7ecbe136e43aa4150702bfae7
BLAKE2b-256 60c123461402f4c67a23b51c514fb93806406b908c85f4a274214ca97a8d9053

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 56bdfe60f8ce0472889e7b2a8c4cfea3af99a6c68f73236087dfca2f4e6e9fdf
MD5 3aa8b54abb18a9d3e98bbb43c7652708
BLAKE2b-256 94c0f8aaecf6296ba78ea796acab9db4ac31cbd3f6cf4aecd3ef9ea7860a742c

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fbc4c27c3208c5e8cdb807f41da122008fe7cab1fca74a58bc01a55eef7ca4f3
MD5 9f9d47b2c66871bba8f3506f94a5e9ba
BLAKE2b-256 ab1c0a7e3f7aa4a48a0b7598bc6b0009ffbb3260fb407498e3b12d28badbcef6

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9190ecb739115bb7eb4fd55f6f4e41a354085e4805f7f859852521d084586d77
MD5 822f7748353cf7113ad084206ca1f54b
BLAKE2b-256 a474195c4090641047d6bcc2373e320b21495a0f8e927464aae2d12b6a151343

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a2a9129250dd2ffde01d5cdd68e53645b65c6fb85443d2f08da22815996c0270
MD5 a11f8944e89c3a115b44c4cfbffbc7ee
BLAKE2b-256 adde9347188435ec6fbd56121964ec24b90291748c5ad7446ed4fa1a28b9fb30

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2d1e028c00094d40b45c3370fe147c63e83d7c65686c460f57b0d6165ea3321f
MD5 39f487775e015435153c62e81612bdcc
BLAKE2b-256 0de1dc3d99af426875fbdb314b7e965674376a307de0f2777acf5cf6e76bab61

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 311498fc443adb609e73bac35a06f2799ee9da3932262f7cced5f90108b8f278
MD5 d60e7a1a31b2779a78419c45256c19ac
BLAKE2b-256 e8e2b09d3f8e808e1677b5a3421739f5030a159f8edf731641a7aba1513e5e51

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4a8f381f488d403a6fe5a284db13e9d4687ee84b1a39e305724116f9989ed373
MD5 6f8513a83ea82d68c1c58ad3d856bd0a
BLAKE2b-256 c6081d79ff9afb08543cb9f112a7a69190ad03e2c446b6154ded45b29550cfa7

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a55765266db593fb1a32fbb95b8a09bfdbcdcf067b62a5b574f47cc2e4e2b8ff
MD5 ad37ba9c7ab95a8e86506969473e863a
BLAKE2b-256 b7a4eacb194a143791bd2b458d57f96e6ddedeb6d39e00998557fd8e12f1db9c

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5ff34e187510215d6e851f35ba4ec03541aa961941b6fac47bcb54b06152543b
MD5 72402732d5aef3fbcbe402d6d72f99bb
BLAKE2b-256 c42d19a0b2b48b733dd0a23a97d72d1557249cdcbdf319a4865f128d562ad90c

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c743b9f2baa77df2f96f7c77f79f70529faf838a718f3128a4d47cba0dd21bed
MD5 a30d05eefe4e572f18674e41f1d32d1f
BLAKE2b-256 19dc2e481529517b8f3f1c6e7401c36d1475573b0570ad165ff9cca8a8a9b211

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cf0a9a4a44e8c346fd91a393ffbfaaf9949f5d3fb50064348b2b1c9541d25621
MD5 e262b3b2881555740d80ab54b7956503
BLAKE2b-256 d242a9b010850d6f7e2a4280a730249ab50249d2fcb51bb81f3b50c7aa933a9b

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4d59ff168a8af6a868e68092d0f79b2aace3093a8a229e94a35795232b9bc05a
MD5 07e68271b3dafae6e0487ee37c6a6e7f
BLAKE2b-256 1a0c8be2b51f55c6f67e5fe1f7af13019da6d9e87603d3fabf142e90345b124f

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d89cbae7085985de1f2e955f1e0c8ac94df842cda2bb5537709507251a8699e3
MD5 1bac04908fbbb3a2042d40b64845a243
BLAKE2b-256 9a334d0f0c007fb857d600ab4091aa6b588660f33f8a322576f181c5f9280bac

See more details on using hashes here.

File details

Details for the file moleculekit-1.11.7-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for moleculekit-1.11.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8255015f9493aad486079c814399ef705451f972e372337edeaf57dbeef4e9aa
MD5 be155b06576c74c7b864dde558899cc3
BLAKE2b-256 77c9980ec1aaedfdea538cd2b48424216a098cf1635625dc0a19a14a7401209a

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