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

Uploaded Source

Built Distributions

molli-0.99.4-cp312-cp312-win_amd64.whl (18.1 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

molli-0.99.4-cp312-cp312-win32.whl (18.1 MB view hashes)

Uploaded CPython 3.12 Windows x86

molli-0.99.4-cp312-cp312-musllinux_1_1_x86_64.whl (18.7 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

molli-0.99.4-cp312-cp312-musllinux_1_1_i686.whl (18.7 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

molli-0.99.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

molli-0.99.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (18.2 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

molli-0.99.4-cp312-cp312-macosx_10_9_x86_64.whl (18.1 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

molli-0.99.4-cp311-cp311-win_amd64.whl (18.1 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

molli-0.99.4-cp311-cp311-win32.whl (18.1 MB view hashes)

Uploaded CPython 3.11 Windows x86

molli-0.99.4-cp311-cp311-musllinux_1_1_x86_64.whl (18.7 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

molli-0.99.4-cp311-cp311-musllinux_1_1_i686.whl (18.7 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

molli-0.99.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

molli-0.99.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (18.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

molli-0.99.4-cp311-cp311-macosx_10_9_x86_64.whl (18.1 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

molli-0.99.4-cp310-cp310-win_amd64.whl (18.1 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

molli-0.99.4-cp310-cp310-win32.whl (18.1 MB view hashes)

Uploaded CPython 3.10 Windows x86

molli-0.99.4-cp310-cp310-musllinux_1_1_x86_64.whl (18.7 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

molli-0.99.4-cp310-cp310-musllinux_1_1_i686.whl (18.7 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

molli-0.99.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

molli-0.99.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (18.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

molli-0.99.4-cp310-cp310-macosx_10_9_x86_64.whl (18.1 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

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