Skip to main content

Molecular toolbox library

Project description

Upload Python Package Upload Anaconda Package

Anaconda version Anaconda license Anaconda last updated Anaconda platforms

molli: Molecular Toolbox Library

https://github.com/SEDenmarkLab/molli

Developed by:

  • Alexander S. Shved
  • Blake E. Ocampo
  • Elena S. Burlova
  • Casey L. Olen
  • N. Ian Rinehart

S. E. Denmark Laboratory, University of Illinois, Urbana-Champaign

Copyright 2022-2023 The Board of Trustees of the University of Illinois. All Rights Reserved.

About molli

Molli is a cross-platform toolbox written in modern Python (3.10+) that provides a convenient API for molecule manipulations, combinatorial library generation with stereochemical fidelity from plain CDXML files, as well as parallel computing interface. The main feature of molli is the full representation of molecular graphs, geometries and geometry ensembles with no implicit atoms. Additionally, a compact and extensible format for molecular library storage make it a useful tool for in silico library generation. molli is cross-platform code that runs on a wide range of hardware from laptops and workstations to distributed memory clusters.

Installation and Building

Molli is available as the source code distribution on GitHub. Additionally, convenient installation is provided in the form of a PyPi package and conda package.

Note: We routinely test the package on Linux and Windows OS. OSX support is tested upon the pull request submission using GitHub workflows. We can only offer limited support for that OS at this time.

Install using pip

Installation from PyPI

The easiest way to obtain molli is to obtain the latest PyPI package.

pip install molli

Upon a successful installation of molli, one can test the installation by running the following commands

molli --VERSION\
molli test -vv

which will provide the current version (it is obtained dynamically from the Git tags and determined at the installation time) and run the full test suite to guarantee that the core functionality performs correctly.

Install from source

Installation from source can offer a few advantages, such as the editable installation, or installing . This is convenient for users who wish to significantly alter their molli experience by modifying the core functionality

pip install git+https://github.com/SEDenmarkLab/molli.git

# or

pip install -e git+https://github.com/SEDenmarkLab/molli.git#egg=molli

Editable installation: (Assumes that the repository source code was cloned onto the hard drive using Github tools into ./molli/ folder) We have noticed that development with VSCode is not greatly compatible with the most recent version of the

pip install -e molli/ --config-settings editable_mode=compat

Install as a conda package

Molli can be installed from a conda repository:

Note: Conda setup is not fully configured yet, so you may expect that there will be slight changes to the syntax. For more information about the current installation instructions, please visit the Anaconda repository

conda install molli

Testing the installation

Core functions

Note: By default, molli only tests the core functionality: the functions that do not depend on external computational or chemoinformatics packages, such as OpenBabel, RDKit, Orca, XTB and CREST. These tests are considered extended (see below).

There are two syntaxes that allow to test the functionality of molli, of which one (molli test) is a more convenient alias for another (python -m unittest). See unittest documentation for additional arguments, which can be applied to both.

python -m unittest molli_test # additional args
molli test # additional args

Extended tests

These tests are automatically invoked if the corresponding packages are either importable (that is, installed in the same conda environment or the corresponding Python virtual environment), or the corresponding executables can be located. An example of such extended test is found below (if Environment Modules configures the packages on your machine)

module load xtb/6.4.1
module load crest/2.11.1
molli test -vv # Now this tests XTB and CREST driver

Hello, World!

This section describes your first steps in molli package.

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

molli-1.2.0.tar.gz (18.4 MB view details)

Uploaded Source

Built Distributions

molli-1.2.0-cp312-cp312-win_amd64.whl (18.2 MB view details)

Uploaded CPython 3.12 Windows x86-64

molli-1.2.0-cp312-cp312-win32.whl (18.2 MB view details)

Uploaded CPython 3.12 Windows x86

molli-1.2.0-cp312-cp312-musllinux_1_1_x86_64.whl (18.7 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

molli-1.2.0-cp312-cp312-musllinux_1_1_i686.whl (18.8 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

molli-1.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

molli-1.2.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (18.2 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

molli-1.2.0-cp312-cp312-macosx_11_0_arm64.whl (18.1 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

molli-1.2.0-cp311-cp311-win_amd64.whl (18.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

molli-1.2.0-cp311-cp311-win32.whl (18.2 MB view details)

Uploaded CPython 3.11 Windows x86

molli-1.2.0-cp311-cp311-musllinux_1_1_x86_64.whl (18.7 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

molli-1.2.0-cp311-cp311-musllinux_1_1_i686.whl (18.8 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

molli-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

molli-1.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (18.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

molli-1.2.0-cp311-cp311-macosx_11_0_arm64.whl (18.1 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

molli-1.2.0-cp310-cp310-win_amd64.whl (18.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

molli-1.2.0-cp310-cp310-win32.whl (18.2 MB view details)

Uploaded CPython 3.10 Windows x86

molli-1.2.0-cp310-cp310-musllinux_1_1_x86_64.whl (18.7 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

molli-1.2.0-cp310-cp310-musllinux_1_1_i686.whl (18.8 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

molli-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

molli-1.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (18.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

molli-1.2.0-cp310-cp310-macosx_11_0_arm64.whl (18.1 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

File details

Details for the file molli-1.2.0.tar.gz.

File metadata

  • Download URL: molli-1.2.0.tar.gz
  • Upload date:
  • Size: 18.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for molli-1.2.0.tar.gz
Algorithm Hash digest
SHA256 64ddb6e7a289f7b56177d096d06b29b83844961f120e7fc089411d9e09c3d192
MD5 144ff77960247c074357c79d0583a970
BLAKE2b-256 6fa73b25a44aaadf27c2d16e102ecff0576c4f975b68bf736cdad6608ec048d2

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: molli-1.2.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 18.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for molli-1.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ce06b1187aac315fc107c7be5441898f0090a78fe95cc86fd501a3a1efdd509f
MD5 abb3a4096188dceb15be98c5318391c5
BLAKE2b-256 f2b82bc6a51d3467cb08b2a92c13e5cc9c7a78f71fdd6a4027fc257e9609051e

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp312-cp312-win32.whl.

File metadata

  • Download URL: molli-1.2.0-cp312-cp312-win32.whl
  • Upload date:
  • Size: 18.2 MB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for molli-1.2.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 c8b3ac71476945f8756021bd3585b4cb86e87b0391a362cd3b257f63a46d137d
MD5 2768924e8e8089e25e0704383e7a96b5
BLAKE2b-256 b53b7f54a700d6940e9af3ead4901c180da312b90466109f00cfdb03955d6644

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 87fe6028e1e28da28abab62d8fadb58355fc1666d7473d931b3870a16a051f16
MD5 7b30ac7c86237e1d83a04be60d04c155
BLAKE2b-256 2cc980127ac2f16ac01b15cc006333d9e2dcef5bf4badf3f9dbb95e1278ceaf8

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp312-cp312-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp312-cp312-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 c932128e164acde1ebfcaa21be3eefc501c77eca3636a820903f5493a41ce922
MD5 f26ce72ba472eb132b2068ddb569f2ba
BLAKE2b-256 baefb9fea2efc972d9e614cce7bf508c7aa8f2cb971be0c5f6547eecac2b85c8

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2dbad2f38b6494bb1cabfb02bc3bf7bd9441e9a88656d6398bd6aa19c60420cf
MD5 7281e9fcf1aa78e688e70d083d7d95d2
BLAKE2b-256 46983085c8c1e938c2750ba555edf112705a3d532eae7d0f5520b9d64ebb0019

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2cd60226a8671619abbaa26c1839a30a83f48d57f6ab10514921e8844469b25f
MD5 af5bfa3ea41839ac66112609e21a7c4e
BLAKE2b-256 b5d6a0b15c5586a48c871980744ff30cbc1c0fa4db53651e3ff00b9b40490ef9

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e29bed04267998913c7d48a9491e3df565408da204e1926b602aa9d83819c52
MD5 d368d2e662304a2867a896fd07af9335
BLAKE2b-256 b66e005f2d03ceef1445ba528cf605e32c0dd699f82c546f5df9b5ce9cec99f3

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: molli-1.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 18.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for molli-1.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e45757217616c2d382e8e9bd08bf2e57b64c90e1d4c87bb5e93bc54d3a8d9583
MD5 ef90de3878bbbdd1e952fe7fa59994bf
BLAKE2b-256 1c712031ce68bbaef9e89715d230cadae8aa6764eab4a06465c17947fa1eee31

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp311-cp311-win32.whl.

File metadata

  • Download URL: molli-1.2.0-cp311-cp311-win32.whl
  • Upload date:
  • Size: 18.2 MB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for molli-1.2.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 19ab444651dfd4b1903e8d1c24fdbd8cf1fa85034aed9c40cc8efdc4ecd94363
MD5 25b132dd061c4c0c301deabacdabc2f5
BLAKE2b-256 0e7005a388df28b7a36b7dd4ee95372027b612b91a92201dfc3809abb49227e4

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 387a9fd48be0205960e21697e0be14a669020b5651dac76e1e2db000413cc8d1
MD5 d6771c3e03613b199cbf5f8eef64a5af
BLAKE2b-256 4da44b3e5d26b498cbe4e11855ee8d656417ee5075ce681dc8ca4f616ac1898c

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp311-cp311-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 f893c16321bfa9440d1f41916a993000431c1bc9b32ff2553f82c050ed56f6bf
MD5 5725300eb5f236135cde39b35b54a32f
BLAKE2b-256 08d9afb0955f7b5e33a6cee70a084c20e52a242eb3941a42bfa109976ecdd9f4

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 96e1f9de08f45355fb1f16609fc10ff08349627041cd7dea0d1caff2961f42c0
MD5 9b9de8c2a546feeb949fb7fbdd2df6a2
BLAKE2b-256 a39d95f20720e2377c2bac210d7e9e426dd1aee4fa6df096b9732cffd346817d

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9200b31756e74f07c6452be4e17c6006e62a85db48aac7b785718ff3e5dd97c4
MD5 94dc06cc52d463366bbe192114d0335e
BLAKE2b-256 ccbad844ce53af3b60588a665090d4aacd7fcd7f1972417a3f8ee6b787e8e0df

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7853f22380f9f05205e0849f1fb827f05203bef7f5cac969aa148303c0091ea1
MD5 ded481e74eae020bcf2ef9c298a84ce4
BLAKE2b-256 b59fbcfcb942e388e5075fee224011836b03e61282c3ce2a1fd4d23a91e0df99

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: molli-1.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 18.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for molli-1.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 bea189a9915ddf80a2ecf37b5c64ff80be5ae43ba04e6b6533070449730a2c86
MD5 6f53141a295f479d7c264d96cd7c08ab
BLAKE2b-256 4a2bba482980712acece1ab03fb72bc304b845160e27cd79b00168337a0b72b3

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp310-cp310-win32.whl.

File metadata

  • Download URL: molli-1.2.0-cp310-cp310-win32.whl
  • Upload date:
  • Size: 18.2 MB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for molli-1.2.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 795d87d35f19f6e1207396c90f0fea9a9f5bb56ec9fe7786c41f5d8b7d44f0ab
MD5 f2207654aa28d1bb0dd2b5635a4df735
BLAKE2b-256 c75b4b9f7baf928b99eadc4846dd3e37ecd2abb2f7d159f56b1f933feddb3c5d

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a6237a11fccaa915b65cb67e4d347d5cef0dbba861115458ebf057c26cfa31b6
MD5 77d92aec0bd2fef540d59a7bc9278236
BLAKE2b-256 d87f8df7d3e47a423d779c2c375f82ae12f094faa1b577b9406090dcbb25711a

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp310-cp310-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 ab0d88e96b7437e064372d0c4ca2714f5cf22c41b330f9f59387c11cc9559f82
MD5 121c96c31b5b7e566680475ec0772528
BLAKE2b-256 cb62da5053ff8cbd887cbdd12d4b94a187eb145d29fe7505b1c1549ed8863c02

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6e334747b207610916754bcf54833c7818c6a87ed21b4c2953972d1b74def328
MD5 c211139e43c05a673464d883be66d6fe
BLAKE2b-256 655b0ae25d65c9a052d40d3015a6568bcd5bc533326ac4c602c88860d64e7dc4

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5e19f0b3fc772af4bb509248e3d9abbf977e7a636cf17b128b1459c4735ef580
MD5 ff2024e7878103555cba5f325aa3eff9
BLAKE2b-256 619033211ba04febb93dcbfbbd1c1e149e66116f4b06e8a77894d52e0a83d98c

See more details on using hashes here.

File details

Details for the file molli-1.2.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for molli-1.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a9c3e74c5e1fb01e169086e2e69fef53d94fac44f10046ceacd07c672d597376
MD5 c6fc6f87850e39879fb416f5078f4355
BLAKE2b-256 21fadc223e902966440964a1b285e590e7a074360f00e23650c012fd3c5eaef1

See more details on using hashes here.

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