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

Uploaded CPython 3.12+Windows x86-64

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

Uploaded CPython 3.12+PyEmscripten 2026.0 wasm32

molcrafts_molrs-0.13.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB view details)

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

molcrafts_molrs-0.13.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ ARM64

molcrafts_molrs-0.13.0-cp312-abi3-macosx_11_0_arm64.whl (5.8 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

molcrafts_molrs-0.13.0-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.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4adc80860166f3cbb6b35651f7ee74dd0ab4824be7743b796065c25f525e1bf4
MD5 0b91bb9c6beba6986cf0034a9916f41b
BLAKE2b-256 9f6b731c964c76949e298f30836875fc37bccbc74e698d9a817d556fb9655086

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.0-cp312-abi3-pyemscripten_2026_0_wasm32.whl
Algorithm Hash digest
SHA256 ca3e69fadc83324cafcdb7bea8871b0b7dcc76c1b195ba7b92868f9b9165c446
MD5 79d0d13764478aafc7846ba323fdc16b
BLAKE2b-256 54e551c88f78141b1bd900a4f201781e8d05c0d8ec8dc914361760031d6cfc79

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4da8dec66b4269e6b063147419a69b5975156781ab5c4bd92d522bf8037f121c
MD5 f9a45f9140e7e68ee75f87238659dfa1
BLAKE2b-256 cdc77dfbc766789e1a2a481b64788368a95389b053f8ff94814b0323d2cfeb1c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 358ab41223a8529971d2fb6849023e52d133bdcf54bfe4ef314f61531191b93a
MD5 62b879b29830d5f99a36af2cd927a814
BLAKE2b-256 fb3157c6f61d600e806d7c6309b2a5a0923e850e82ca18f37047d453e2b3fd66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 88fe39c0661fb056604f1e3dc914ef2e2b7309adc9b3ae6f2181e07a146e4cfa
MD5 e01d5c9f69d5a5a9f1fe29a596fce3ea
BLAKE2b-256 5430b5df2e5234c2c0023b5d127ecd5f2e18333df3c3b2db9dd77d24c5928365

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for molcrafts_molrs-0.13.0-cp312-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 30145fc04bdd19c815625d13ad081e620548f012584757302914391fcd7da331
MD5 f467ad079e09ebdc3792b8c93d03529a
BLAKE2b-256 dddfb045465ea4db9ed557565911be3275f2da5082abf4ab10e7ba76f53b5953

See more details on using hashes here.

Provenance

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

0.13.1

6 files

This release

0.13.0 This release

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