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.5.tar.gz (81.4 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.5-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: steamroll-0.0.5.tar.gz
  • Upload date:
  • Size: 81.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.5.tar.gz
Algorithm Hash digest
SHA256 97e0bdef7f857839b81266757be6ae51577ac29197d341d98b6d903d8b683cc8
MD5 57fbb9bc2a768ea356be0c8b4f129905
BLAKE2b-256 41e727e145576a9921f746ab32cfbc5b63185d2bee56fa6c840b4d40a18a54d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: steamroll-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0095dd77d7cd3abcbb0f3c10e1e8f63adaf454dfc4c4081078ccbd5fb25cf469
MD5 4f1220106ec693aad202ba73730497cf
BLAKE2b-256 e08a6b1e9315b5446abed371137ccbc23f68e797c0cbe87ae86edc1736880b6e

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