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.6.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.6-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: steamroll-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 a2b9cf928ff940ddc0311bdff37c1f22e5e7a1d823b988d18ba03da4e6fe6d40
MD5 33ae7e5d386e0f47875616b993bbe7e7
BLAKE2b-256 e6651a1bb9c3db3cc4a3f9ba003cd4014cfd0af5642cdc83a11bdd2ab3e7880f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: steamroll-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 32.0 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bf71350617c94f6e8ccbe04403c940c11c38a6b34825066e5a4ae68699e018a9
MD5 b92c3804980d361451aa6abc6ec93e94
BLAKE2b-256 17c51ca3577f114d640a581e32d4a90472900907059e65bd0709c1ac35a871a1

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