Skip to main content

Package to convert 3D molecules to RDKit

Project description

Steamroll

License Powered by: uv Code style: ruff Typing: ty GitHub Workflow Status Codecov PyPI package

Package for creating RDKit molecules from 3D molecules.

Usage

Steamroll is simple to use. Simply supply atomic numbers and coordinates (in Å):

from steamroll.steamroll import SteamrollConversionError, to_rdkit

atomic_numbers: list[float] = ...
coordinates: list[float] = ...
charge: int = 0

try:
    rdkit_molecule = to_rdkit(atomic_numbers, coordinates, charge=charge, remove_Hs=True)
except SteamrollConversionError as e:
    raise ValueError("Conversion to RDKit failed!") from e

Credits

This package was created with Cookiecutter and the jevandezande/uv-cookiecutter project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

steamroll-0.0.7.tar.gz (74.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

steamroll-0.0.7-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file steamroll-0.0.7.tar.gz.

File metadata

  • Download URL: steamroll-0.0.7.tar.gz
  • Upload date:
  • Size: 74.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for steamroll-0.0.7.tar.gz
Algorithm Hash digest
SHA256 4e8f12b5a3706ec4920019c91bb4861fe7f56378482037627d23b26bd20daf48
MD5 5469d759fd29993f163a385fa4901e18
BLAKE2b-256 270c1c136bf922dc2234cf73381cbb449d5f1a2466447d698fe5ae0201f43fea

See more details on using hashes here.

File details

Details for the file steamroll-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: steamroll-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for steamroll-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f4f2d819aae5db0c852f57801f5a2e2dc39ddb95fb28d1d10eecb867853053af
MD5 a9e410f8e70a4808fdf4a8f67ccca9d7
BLAKE2b-256 2b0efc30bf213231b351fc341690d7b13a473e180cc149dc71421e0728fcdaa5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page