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

For all work using molli, please cite the primary publication: Shved, A. S.; Ocampo, B. E.; Burlova, E. S.; Olen, C. L.; Rinehart, N. I.; Denmark. S. E.; J. Chem. Inf. Mod. 2024, DOI: 10.1021/acs.jcim.4c00424

Supplementary Materials and Libraries can be found on the Zenodo Repository: DOI: 10.5281/zenodo.10719790

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

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows x86-64

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

Uploaded CPython 3.12 Windows x86

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

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

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

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 Windows x86

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

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

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

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 Windows x86

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

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

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

File metadata

  • Download URL: molli-1.2.1.tar.gz
  • Upload date:
  • Size: 24.0 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.1.tar.gz
Algorithm Hash digest
SHA256 2f059a639bb5a7089eda5ef57b40c9a957c131001bb4db695d2494a0672de9d3
MD5 3f412bcf419eced468e16bd5ff02e96b
BLAKE2b-256 2f318d7fa1df6b9c4fd047fec18a0a67ec5b90d5c89dfe7474dbbce9cbefc057

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.2.1-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.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b83d04b75679fb70e3a924996bce6d2548452355ab3bc0739d38d22be1cef933
MD5 8191596458a1ec5124a4764786eb9037
BLAKE2b-256 748c985db0de8a06c50d40cf3c1607ad9edaf8d648df25dd872f581e4b62cfa6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.2.1-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.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 4d730d68182100c7caba020606a7e80718209b3b316d489854e92c3309baeea8
MD5 db00d8a236b303321a715a66173c0c6d
BLAKE2b-256 f070db3ae0266497089febfa17bdb796b6ce592904affeae9d9338a51f6c8cbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c113b392ed6841ac1139d111cb9bcb15da29806118f70a321abd327122fc612a
MD5 84361fc5d3d4ef341c6cb538f347adbc
BLAKE2b-256 31b43291ce8123fae0aeca46a4b047f819f5f42cd31346cc2bb454d52d0ab7a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp312-cp312-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 324c90bc46b60c52079b19f3d80d0afc8e9cdfbdc527eb49128d52a7a003182b
MD5 50fecf5b2f97e134057507573abea7ce
BLAKE2b-256 2190d7b23bb851fa06e44f560475c31a04fc7c8b5829f52d2718f6c4006e0ec5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 38ded4a1a6c5c253e2e8dc30e0ba847ecb9d7dc55d8edce36262e640d05de32e
MD5 2fa734167c39ada66dedd93698b9e065
BLAKE2b-256 59a1171cfd44425d9faede41912d1485205ffb9dff6ddd243e8fc38e8fe773dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 168176ec1c9398f3ce2aed2391b0e91b5bb1fb874a51b88d9c81709893c3c6b3
MD5 22a43adfec1f0225d9d55bc86283ff2e
BLAKE2b-256 454e9fad601e7b9851090e1d6f681482c453a6456b54c8765c29f05fd163bd20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e206c78a841edd467c50bde00f8360169bdc61789b1520ddcffaba5a10e9c88d
MD5 d5930fcd682914f72e6ec9193b10a89e
BLAKE2b-256 bfded34f5ecaa2052372f949b0415b81238238a8572b1a1095bc80c679feb1f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.2.1-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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0ff207a50fc0f84f3a617681c486fe49192d7d467ec858f505adc623e34bdfb0
MD5 b32cd5b3325bdbd37f10375540064301
BLAKE2b-256 cd36d884fb8289eb51136b9f59e8b50e773def76249227d426c65a459f7b9665

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.2.1-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.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 ae4181611b9c4cd369d452c2fc91e58a15f082dc83f31bd17eac90d25d330d69
MD5 9d3e69838fb9410295090d73f93175bf
BLAKE2b-256 141442ed0bb2f62ee8c0f3be677d62464ea7ceeaebbbe6c9c570ea35a405b0a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f7849cdc7c79e9dd7e83d5d200465f2cbd2bfae863b5ca3b17746e0839c8c2a5
MD5 eb148d30e11b5eb8c26b2900467eae90
BLAKE2b-256 cbd1490081f78873024f95b47c837affc40f28c25e0b833b88e3beecc509b8c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 4f8f33d8278d1939f7b8e3ae89bd77b52a2dae66448e2843fc7a3cb817cfd0d2
MD5 50851b9426147f0e9d6629fcb1617ff8
BLAKE2b-256 83621f0d778f33f4bd18784b54100e83d18b56763d365607440906b02fae941c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a0216ffb0a98a62eae541986da31bb3a0fc61c5a76b7584a81e3ef789c0201e4
MD5 634f15987799dcd45400e9b476c1b26d
BLAKE2b-256 7cf7ec7c1f47cdcee468ef279fde98d4843681daf0bc945555de0cc7bb1998a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 360e5a107bc30075d3a6b6c9dc46fed400e4f00b106e57955cbce9035a6e527e
MD5 a39ad6f6e59530ab7fbf821747e78bf3
BLAKE2b-256 c0d4fc9996845ccf6a10a93a2ea76bf0acff8c5b5027b15a42f64077e4c9016e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 91a8c6bfe46ac106a27c5d076344e1a14341bda63dfde743fa66bb93c9ac185b
MD5 63c8a8334680646be7e48c6317032000
BLAKE2b-256 2fb784fd0e9545b59841724d28758f9801e9c2cd33ea5476b427f08a9c788f65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.2.1-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.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 aed59b98b5c70114904087090ca8d0ac93aa268bec908eb2176190fb0f9ba8c2
MD5 c2d7f8bf3342d5cfaf25d92666fea1fc
BLAKE2b-256 7b29fb777a74868b14e4bc7c5fe89af40d04be96332f4b759c9bba8d0e8da501

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molli-1.2.1-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.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 ce5661543b0e21dcb9b015956a42b9f4b2f890ca29b96d4e13bf888c15f7541f
MD5 53b5113077082bc99c34f4b419c5c3c4
BLAKE2b-256 c1159cdb9da246732d4c141e4a962ef267feaf827b819a521034665c4c729558

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 e9b89fa2a9f3c76b30ee551b9c868ad729a6417993e68ad7d1a6c5d5a52926fe
MD5 2fefa8cdfe9a1b52af7eb638bf3e0e32
BLAKE2b-256 add3374a4ea5dca967c71cd4e3ba1c9500510648dc440ff751720fa60e229652

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 5df9208242113ae2732a142889f9af82e6d2010e8bbcea96aee3e3de7c2e6f7d
MD5 75dd3a75596ea5ce5743f899c25b7ce1
BLAKE2b-256 6f6bf030d35dabb26cf65025224f127c3e638720eab9fa61c4a743651c6c1cd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b824a148312c31ac89ad68e851d1dd8db66f6e1040851cc4f71a291fd4c57eee
MD5 112558d67feb07fbdef313123195a04d
BLAKE2b-256 6ef88d4ded5fd8ebf77ea149102359fbb52f76bb64c158310af52b72824c4f4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 43ecf0e50a8f2a39a8602d40b3d096ce7c55f69bd9426ecfe5413607870740c0
MD5 bfdfa6d6151e69c17d9c34f49787cb81
BLAKE2b-256 dbe22d30bf62741b1cabaf061719ccb7fceb9d185dc6cfe0ec64deb0218ced10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molli-1.2.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7680aa6d4498e63548b7852b242cfee869d4120f37de53bb286690c0d5d19229
MD5 1a24ee4707fa54371836667d30bb185a
BLAKE2b-256 e32783fbc52c26bf7c1eb266f0bc48a9c7f08de00a41316ecf2c712940426085

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