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

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, report = Conformer().generate(mol)

# Force field: typify → pairs → potentials
from molrs.ff import (
    MMFF94Typifier,
    PotentialCompiler,
    intramolecular_pairs,
)

typifier = MMFF94Typifier()
typed = typifier.typify(mol)
frame = typed.to_frame()
ff = typifier.forcefield()  # a copy of exactly the types typify assigned
frame["pairs"] = intramolecular_pairs(frame, ff)
pots = PotentialCompiler(ff).compile(frame)
energy, forces = pots.calc_energy_forces(frame)
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, *.mrec record files (write_mrec, read_mrec, …)
molrs.io.mrec Streaming trajectories: SequenceSchema, TrajectoryWriter, TrajectoryReader, pack
molrs.ff Force fields, typifiers, potentials
molrs.compute RDF, MSD, transport, dielectric, …
molrs.conformer 3D generation
molrs.perceive Rings / aromaticity builder

Analysis kernels take dt in the time unit of your trajectory, and time-valued results come back in that unit. MSD needs unwrapped coordinates. VACF is the unbiased (C(\tau)) used for Green–Kubo D and VDOS.

Upgrading from 0.14? See the migration guide.

Development

maturin develop --release
pytest -q

Metadata

Release files for molcrafts-molrs 0.15.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for molcrafts-molrs 0.15.0
File
molcrafts_molrs-0.15.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
molcrafts_molrs-0.15.0-cp312-abi3-pyemscripten_2026_0_wasm32.whl CPython 3.12 abi3 PyEmscripten 2026.0+ WebAssembly Details
molcrafts_molrs-0.15.0-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details
molcrafts_molrs-0.15.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-64 Details
molcrafts_molrs-0.15.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details
molcrafts_molrs-0.15.0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details

Total release size: 45.2 MB

Release files / molcrafts_molrs-0.15.0-cp312-abi3-win_amd64.whl

Download URL molcrafts_molrs-0.15.0-cp312-abi3-win_amd64.whl
Size 9.1 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
0c384cc07f03c44701d6706fdfa840b4d957464fcfb1b656747f61283ea70885
BLAKE2b-256 checksum
How to use checksums
a80cda1f850bcdd77f1563204d27d3a4be1d8650584a078fa49d3534d13831fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release files / molcrafts_molrs-0.15.0-cp312-abi3-pyemscripten_2026_0_wasm32.whl

Download URL molcrafts_molrs-0.15.0-cp312-abi3-pyemscripten_2026_0_wasm32.whl
Size 3.0 MB
Tags CPython 3.12 PyEmscripten 2026.0+ WebAssembly abi3
SHA-256 checksum
How to use checksums
b381e3632d507dba90b24a7eb617be67dffbb0e0b4210a9b9f8da0bc47c52e99
BLAKE2b-256 checksum
How to use checksums
0821ea0f25f46e25348294a095e797a417dba022c715c5f189e2c7448a10b7d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release files / molcrafts_molrs-0.15.0-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL molcrafts_molrs-0.15.0-cp312-abi3-manylinux_2_28_aarch64.whl
Size 8.0 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
1eedaea87e4bd6604f0d76334e51d65de1d4ed06a297165eb3c4f46745b0d41d
BLAKE2b-256 checksum
How to use checksums
bfaaf9d2a07dda04461f985588dfaaea19eaffb2d20f59922f3ef4b23a335c0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release files / molcrafts_molrs-0.15.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL molcrafts_molrs-0.15.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 8.9 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
f75bdff7aa7fc0c1a46160ee75023fa1a9f4073d2575fba1b02f2893f3a0c5bb
BLAKE2b-256 checksum
How to use checksums
610a320718c010a5638d5801be2d84880680e698904ae6260484d618b83f5782
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release files / molcrafts_molrs-0.15.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL molcrafts_molrs-0.15.0-cp312-abi3-macosx_11_0_arm64.whl
Size 7.7 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7866bf49eba1330460c27ab34699c108b5fd0df8bfaaf963c37d453be65176e3
BLAKE2b-256 checksum
How to use checksums
a3db5dfea8c2780b361dfb053d72ebe14b4ce22eaa4d5bef441ea981b78a32c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release files / molcrafts_molrs-0.15.0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL molcrafts_molrs-0.15.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 8.5 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
676567635612725d8694d251dce5aafc9c42a12c8087c97fc0d8a0c861ad4545
BLAKE2b-256 checksum
How to use checksums
8fa19fa6420faeee69066a240ceb92ca956b6662f4fe358a9705bec51ad2029f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Security for molcrafts-molrs 0.15.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for molcrafts_molrs-0.15.0-cp312-abi3-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.15.0 This release

6 release files Full provenance

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