Skip to main content

Molecular toolbox library

Project description

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.1.0.tar.gz (18.4 MB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows x86-64

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

Uploaded CPython 3.12 Windows x86

molli-1.1.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.1.0-cp312-cp312-musllinux_1_1_i686.whl (18.8 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

molli-1.1.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.1.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.1.0-cp312-cp312-macosx_11_0_arm64.whl (18.1 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 Windows x86

molli-1.1.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.1.0-cp311-cp311-musllinux_1_1_i686.whl (18.8 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

molli-1.1.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.1.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.1.0-cp311-cp311-macosx_11_0_arm64.whl (18.1 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 Windows x86

molli-1.1.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.1.0-cp310-cp310-musllinux_1_1_i686.whl (18.8 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

molli-1.1.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.1.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.1.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.1.0.tar.gz.

File metadata

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

File hashes

Hashes for molli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5d2912dd3cc18d68bfe769ff2c14053322104b02b342a7cde8f45758f843f7ec
MD5 6b80e28a0f8307ea10ac6bccbd890d00
BLAKE2b-256 74f08628f34e47b1fec6bbe44ca13c9c502d96b86f7c95a451b7cb4376458ad9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.1.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.0 CPython/3.12.4

File hashes

Hashes for molli-1.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3ecbddf5e047c97ba3f3f418e08927ed03e3a3bf09b04d25ebdbb6cdef1fc9e3
MD5 a09c37961664e85b92f1f350323df994
BLAKE2b-256 6eb53efeb12aed97050f36b19204b774775a7f581adee54fd8ddee002eb993fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.1.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.0 CPython/3.12.4

File hashes

Hashes for molli-1.1.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 e30eacb57eb616aade36168a03f5287c797ed8449331912f6347f8b78a453143
MD5 e5c55c6b4fa84594bf1797c798138877
BLAKE2b-256 fcf5daf11889678ba6ce9e24def5b2dbd57361c2422d898a0b40f267cf1b03d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7d0b86d7c5903df4c3f84686dc4b0e705b355b43d05b2552b07e47f4ad459f89
MD5 2ed1279425ff2e241419b413f1397bdf
BLAKE2b-256 f3b90ba347a45cf6f05c57b82863a6601410bd11b9a504aff1b5a8b7d0de551b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp312-cp312-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 86bf0af7ba2ce528f0327c75e7e7d973e9844b3db5e11fc73122ff52b430775a
MD5 44bca68262f899c0a54e39399933e58b
BLAKE2b-256 b9b6f8b5a258b1b4c2f397518a460a80f34414e65c3ae10261d6c2b394d10090

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f3b8a7784ccac85356a495f2c6e8ee3dc5bbc7457d9f014ea8f529cead50f2ab
MD5 72ca5ebcb9dcf3855903e25edcdb98f8
BLAKE2b-256 a87d76f9107fd791fbb501958aacb685fe0202c1453a1547d2ebd8f01b7a2694

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 690dde31780bebe3643f5e0fa739601889c76adf884fba37bc396424f9329462
MD5 593652973a2712d6837234d34fa1d305
BLAKE2b-256 7e32847840dfa5372945ecdf71404e3b8ad822ed43f5560bb4f5d35aa83c0af6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b71a23472d60a1118fd9c2a082a46a3769d764e6c647f7ae4c3a13ed333935ac
MD5 f3dcfb69968724be8672db9c6ea1fe12
BLAKE2b-256 d1482aa0fe3998f232a4cbbba4dbe7d83b2b8648f1db9c5bc3cd2556bcd4deb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.1.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.0 CPython/3.12.4

File hashes

Hashes for molli-1.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4634e12ada0467df38322c4bb32ecb7f47745b4548d5318d3b1df65a5251a731
MD5 b1a07d1230a9483c47ee8183aca3070e
BLAKE2b-256 362dc4072b3f6efd53d5dd97d80ccd500b3241cbbe2caece4603b1ce39bc95fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.1.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.0 CPython/3.12.4

File hashes

Hashes for molli-1.1.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 a0eff8465723addb2b2d248865d2a21509e47dcdc17371d8c32835daa442283c
MD5 9e5a9944b40a7e2b16d0b66bfdcc02d2
BLAKE2b-256 6761719865b4b954a02ac9b0e359722b2eca8d11890cc22eac5d7fdbed526aca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3d5e5808737e9931c56ac7e9adfcb37a9b3b5e0c33fe1973af999af7193d92f9
MD5 9517eca1e86164b084881f41bc22a565
BLAKE2b-256 9713ab3b6d9ffcdbfac7383a0388cdc1a531148dccb72c555f8cf6bfe1ee6a1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 9ee4a2f4e702f655c0b64c1e62cb5176935949ffd0352a923d2256f82cebea29
MD5 a4d857d280c542c1ab41b8408af8991b
BLAKE2b-256 03535c16d547884d6a12dc171abe4419d97fb11032bd9ec117b79a4546389aa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e8798bbe200e307a1b96fb7e2f48bc266048304bdf107f63007d1b8e2d17cef9
MD5 3e5ed68e24dd6885c42468584c10c8e2
BLAKE2b-256 90c5e06ba089520fdac70754581056ce12eb70733bef94c5346bffddafe61ab3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6872bf4fcaf94b0caebab9a1b89a046d369061d4c5953b3f9a94c5ceaf828abd
MD5 7ec7dd2b6d2c629d7a70702d282b6ad9
BLAKE2b-256 e98586cc62134ff062346d864f65e75c192d5e4dcec80de89d46cd17dda61c43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cbd1c6a574fffa9947bb970a5b97b1029423fd670147f1fd2138795eb2931721
MD5 19e1ed2cd09eccfa4e7d5d3c1d9e4e77
BLAKE2b-256 98685f71a79cfe60c15ce10936fadd9b09b8e131ac9c781ace56d64e541de5b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.1.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.0 CPython/3.12.4

File hashes

Hashes for molli-1.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c88118aca9592c03f76e0fcd330d5847d391e1263295498b4438bb43fda1c550
MD5 08ef75323e221078b0b49f4f1ddd3fb4
BLAKE2b-256 2ac95ca482febe3f8d8c0cf2a5d9ebdfc8619aff380375a89149fa36c4b086c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.1.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.0 CPython/3.12.4

File hashes

Hashes for molli-1.1.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 f31ee5d6b3062d02837c9f020c1d5e8270952af0caefce13695359a57f2f2409
MD5 e7d143d0a0a68749d73c71393175f4c4
BLAKE2b-256 1a6a64a82bc9f17daf2a4e7124204d663e779a14e405d94b0b2f45ee82f0fa9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2ce76a1c24c8c5ef16ece18efdd5fb59808e526d9cecbb989269afdd803bc18f
MD5 a7ae3e663f2ce7b406040104004f7675
BLAKE2b-256 033896bb2d1360e32d76144713ea3dba4adb013f62cc032848f3792fceb9b514

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 f3b61b8915c62d698bef260bb04cf360577be4fdda151299d162bd30e2047f42
MD5 f1d103398db438f038a139d31da9b5cf
BLAKE2b-256 aa31d86b9a164a5411c87100c47c2df3e51a6b292ad769b559ca6e322aba8ab9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c7e1708a1ac42a2097acd5d4099210e2561840da3ec85b90d74246cf0e4c24e4
MD5 335429563fee052f34a4d887fb17568e
BLAKE2b-256 97ac312b81f926fd984b76b0a4466b3760023554419a27887603a71040c9b62a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 61c189ae9a7a7bfb383edc55c703cf85cd9a92f3fd2407c80a33eed2b9e95fca
MD5 2b1137a80ac26636628831102b3d5aa8
BLAKE2b-256 73df8dee3c2a181e82f652ece8f358945d6875dcd24717dee510fef84fa42812

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 400ffc664ae66433695ffb4865668066f9a2b13c448a7ab674b9e9b1d55ef8c7
MD5 cf461376369d26e54c1d9462f925703d
BLAKE2b-256 e6e6374a808ceba9a2d082a1f241f7cdbefbe63e979505a9299bc9d07bbc2938

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