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.4.tar.gz (71.5 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.4-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: steamroll-0.0.4.tar.gz
  • Upload date:
  • Size: 71.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.4.tar.gz
Algorithm Hash digest
SHA256 6385fb875a1463f2d1decbc2c47938abefc6c590584d668be9355f46ce63568c
MD5 f06ea032ffbef62c74e33da866a1b017
BLAKE2b-256 ef69e35848d7dd03a5fff2fae3e8a52228779eb3e78eed5e64200cb10d38283c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: steamroll-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0627a926ca9279c2381d811a208a817e5742fa58c0edfc3aee04515f2b08ea59
MD5 2607d030f2c31a15fdd459157926ac83
BLAKE2b-256 3f9315f9d6cd4e9ceb2b5359f8ae2b3413b257a8011636ebced6816ca8d36fa9

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