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.1-cp312-abi3-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.12+Windows x86-64

molcrafts_molrs-0.13.1-cp312-abi3-pyemscripten_2026_0_wasm32.whl (2.3 MB view details)

Uploaded CPython 3.12+PyEmscripten 2026.0 wasm32

molcrafts_molrs-0.13.1-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.1-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.1-cp312-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

molcrafts_molrs-0.13.1-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.1-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e53cea63f3cf6d805e3c08e745d3779c6f06750db9ea91fee18ffbad47367afd
MD5 0d4139f13a7a78b0b046d636d19b6adc
BLAKE2b-256 25f94108e9ab0223cb6c136bb2ca13aed86020a4565b1995a552040e11af03fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.1-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.1-cp312-abi3-pyemscripten_2026_0_wasm32.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.1-cp312-abi3-pyemscripten_2026_0_wasm32.whl
Algorithm Hash digest
SHA256 677683b5236d9775e68c61e975ed36279093163cdcc8c4384ca0ff70e485781a
MD5 7d64adb2f19af105abf087d01c7d797c
BLAKE2b-256 15bdb2e4e41b36b88d7f27138f4f85c0ee1e4a3b027c90343c1f500a7edc4006

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.1-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.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14573f6332e2c4a6230a24dfb2ef9667af519bd9331edbe1c931e20578a011bb
MD5 cf7d018aac6b45e6b118ce5595e1a0f6
BLAKE2b-256 00fac1aa590999bcbfb52220f0e26167530a011b616b7de8895a785a635ecd3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.1-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.1-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.1-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e0d0f3376f4b1aa7c164f90d69212a77bd011bebc182ff712bbd2679b5bceef2
MD5 010d933d1f9daec65ae3e07cd851505c
BLAKE2b-256 4594407f0da10e4196866653d827b89f26cda14dd80962ee65f249f31da23fc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.1-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.1-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe478b9b9cfd53e9bfdb8fee134ef7ce84f6b63954ddabdf9560e6723b493ebb
MD5 7758bbb086a85c84dcc735787933f0f0
BLAKE2b-256 a9d3f072da80fd2b7bf328b6d38e384d9a36bda9811445547c70213f062fd20f

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.1-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.1-cp312-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.1-cp312-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 75ae5f89e9916056d497b19bca1f1fea5053c68ae85e2f7d06703ba617c0b5e6
MD5 47b6ea95a561d632e954e645b79a4d39
BLAKE2b-256 adfd2882a67629812832052bfa549ea2cd6cf20675eb27f1b73c88a51b130180

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.13.1-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

0.13.2

6 files

This release

0.13.1 This release

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