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.12 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.12.0-cp312-abi3-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.12+Windows x86-64

molcrafts_molrs-0.12.0-cp312-abi3-pyemscripten_2026_0_wasm32.whl (1.8 MB view details)

Uploaded CPython 3.12+PyEmscripten 2026.0 wasm32

molcrafts_molrs-0.12.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.7 MB view details)

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

molcrafts_molrs-0.12.0-cp312-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (10.0 MB view details)

Uploaded CPython 3.12+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for molcrafts_molrs-0.12.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1beea43358e523d5d4c74e8086bc08b3acf7947573f68b52bd8b4f24c8d67716
MD5 52ce14c61656069f08aac84b060b2066
BLAKE2b-256 03e6271786fcf3e5777f1b7d2cb56f47a88720d1afe1946393545007fa1030af

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for molcrafts_molrs-0.12.0-cp312-abi3-pyemscripten_2026_0_wasm32.whl
Algorithm Hash digest
SHA256 b662d068b6b04eb031e7ae39a0a5971ce76e075b7ff75472e907cb15894a70d4
MD5 bf3616bd5c2e004eabec3fba07576050
BLAKE2b-256 4ead254189752d6467646a416ece9514085d5ad09a6094f4ad9bbad43f783a04

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for molcrafts_molrs-0.12.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a439e929ca2d39ec33ae75fb55a266dc7b862cb1d88ed4450f466c7feea1e454
MD5 b48264788640a26a5937282992cd1f3a
BLAKE2b-256 85cfb80848e5d69efb743c7af4659f8c4e17172b065de9f853b93116c6ae419d

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.12.0-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.12.0-cp312-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.12.0-cp312-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 003bd40cd93bed025da3d19bd80c8e55f8b1cb0dc2dd9053b6b418fcf0412305
MD5 4514df46222747215e7cda67bcb42533
BLAKE2b-256 61e9a367aba7309280099bd80581c7daefd644537ad55d9f042e2ca60d1b52b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for molcrafts_molrs-0.12.0-cp312-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.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

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

This release

0.12.0 This release

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