Skip to main content

molcrafts-molrs

PyPI

Python bindings for the molrs molecular modeling toolkit.

Install with pip install molcrafts-molrs and import molrs. Full docs: https://docs.molcrafts.org/molrs/.

Install

pip install molcrafts-molrs

Requires Python 3.12+.

Quick start (0.13 surface)

import numpy as np
import molrs

# SMILES → atomistic graph (class API under molrs.io)
mol = molrs.io.SmilesIR("CCO").to_atomistic()

# 3D coordinates
from molrs.conformer import Conformer

mol = Conformer().generate(mol)

# Force field: typify → pairs → potentials (no typifier.build())
from molrs.ff import MMFF94Typifier, extract_coords, intramolecular_pairs

typed = MMFF94Typifier().typify(mol)
frame = typed.to_frame()
frame["pairs"] = intramolecular_pairs(frame)
pots = MMFF94Typifier().forcefield().to_potentials(frame)
coords = extract_coords(frame)
energy, forces = pots.calc_energy_forces(coords)
assert forces.shape == (frame["atoms"].nrows, 3)

Package layout

Import Owns
molrs (top level) Core: Frame, Block, Atomistic, Box, neighbors, …
molrs.io Readers/writers, SmilesIR
molrs.ff Force fields, typifiers, potentials
molrs.compute RDF, MSD, transport, dielectric, …
molrs.conformer 3D generation
molrs.perceive Rings / aromaticity builder

Users of analysis APIs: analysis time is fs (LAMMPS real). MSD needs unwrapped coordinates. VACF is the unbiased (C(\tau)) used for Green–Kubo D and VDOS.

Development

maturin develop --release
pytest -q

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.

molcrafts_molrs-0.13.2-cp312-abi3-win_amd64.whl (5.9 MB view details)

Uploaded CPython 3.12+Windows x86-64

molcrafts_molrs-0.13.2-cp312-abi3-pyemscripten_2026_0_wasm32.whl (2.2 MB view details)

Uploaded CPython 3.12+PyEmscripten 2026.0 wasm32

molcrafts_molrs-0.13.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ x86-64

molcrafts_molrs-0.13.2-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ ARM64

molcrafts_molrs-0.13.2-cp312-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

molcrafts_molrs-0.13.2-cp312-abi3-macosx_10_12_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.12+macOS 10.12+ x86-64

File details

Details for the file molcrafts_molrs-0.13.2-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 84d78331a11b86170f29604794ebf83312ba209df086913a033a0dfddba7ff6c
MD5 1bd48e6d77f744d5255c1761e5651dba
BLAKE2b-256 d0bd119cea913a68aad1c6f4f21eddff3afcd6b944d1402e6a37ec156c2650c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.2-cp312-abi3-win_amd64.whl:

Publisher: publish.yml on MolCrafts/molrs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file molcrafts_molrs-0.13.2-cp312-abi3-pyemscripten_2026_0_wasm32.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.2-cp312-abi3-pyemscripten_2026_0_wasm32.whl
Algorithm Hash digest
SHA256 2496448c9da7df361fbdcfe3df26c82e9c9b2cc100a0e3dd8c54bd34e181ffa4
MD5 9e39e8ca31bed59934b26b05fc1270c6
BLAKE2b-256 4f15281a31ce8137f52f18e1bf3efecb6386def641f3107ae30baab1abf8ac93

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.2-cp312-abi3-pyemscripten_2026_0_wasm32.whl:

Publisher: publish.yml on MolCrafts/molrs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file molcrafts_molrs-0.13.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d3192b204c12569c5082163bcd372922d1f83bfd4c224f29761bfe587858f3a
MD5 87e228b8f3445369a5452ddbc3cc249c
BLAKE2b-256 ca7b3320a17a76a5056f85d2171ad197b6d4cdd0c4ff43ac6b9c9b9cf1ad1bad

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.2-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on MolCrafts/molrs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file molcrafts_molrs-0.13.2-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.2-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d4a8cf62c82593e3b281385db9a059b9644f2af9921ab44b2a5ee5b72284e209
MD5 813b8c078adcf223d1a0a9024b1242e6
BLAKE2b-256 5f09288d49a1ca227ac75116770b0b7e3d525d8416350841cc6f314ff71621de

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.2-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on MolCrafts/molrs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file molcrafts_molrs-0.13.2-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 45fd5dae38988ae426595122289107b43b54c91e5ee819197e00e700087a3483
MD5 c05233b3ad1acc7d589f2b98f5eaad66
BLAKE2b-256 63d12f7eb26da9e6855665188bdbdeadeba14d696ad505ce4076c2c69d02b283

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.2-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on MolCrafts/molrs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file molcrafts_molrs-0.13.2-cp312-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.2-cp312-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 232cea1a0ef884163dedb5134871ffac3c9adc88077d061dd63eda7cd4c82568
MD5 0b4573758ba055cd351a8856f44b8211
BLAKE2b-256 e568c6c21ecd88cb1432f49ab180ef08ed85d19d5aa3af42fb3bfa3c21846a37

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.2-cp312-abi3-macosx_10_12_x86_64.whl:

Publisher: publish.yml on MolCrafts/molrs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.13.2 This release

6 files

0.13.1

6 files

0.13.0

6 files

0.12.3

6 files

0.12.2

4 files

0.12.1

4 files

0.12.0

4 files

0.11.2

4 files

0.11.1

4 files

0.11.0

3 files

0.10.0

3 files

0.9.3

3 files

0.9.2

3 files

0.9.1

3 files

0.9.0

3 files

0.8.2

3 files

0.8.0

3 files

0.7.0

3 files

0.6.0

3 files

0.5.1

3 files

0.1.6

3 files

0.1.5

3 files

0.1.4

3 files

0.1.3

3 files

0.1.2

3 files

0.1.1

3 files

0.1.0

3 files

0.0.17

3 files

0.0.16

3 files

0.0.10

3 files

0.0.9

3 files

0.0.8

2 files

0.0.7

7 files

0.0.5

1 file

0.0.4

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page