Skip to main content

Describe your project here.

Project description

rxn-availability

Development setup

pip install -e ".[dev,rdkit]"

Example

The easiest way to use the package is to rely on the IsAvailable object:

from rxn.availability import IsAvailable

is_available_object = IsAvailable()
smiles = "B1C2CCCC1CCC2"
print(f"{smiles} availability: {is_available_object(smiles}")

# BYOC: bring your own compounds
compounds_filepath = "tests/example_compounds.txt"
is_available_object = IsAvailable(additional_compounds_filepath=compounds_filepath)
smiles = "CC(Cc1ccc(cc1)C(C(=O)O)C)C"
print(f"{smiles} availability: {is_available_object(smiles}")

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

rxn_availability-3.0.0.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

rxn_availability-3.0.0-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file rxn_availability-3.0.0.tar.gz.

File metadata

  • Download URL: rxn_availability-3.0.0.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for rxn_availability-3.0.0.tar.gz
Algorithm Hash digest
SHA256 5dfe1c86a59ca044a88ba5766cf76df2541198de570a136b079459480c61ba69
MD5 b8b52a9014ed87deeb83a5ed5de56664
BLAKE2b-256 4dfec253009ddb544d921f4a58c19586ae5ca101196e268522e98027a0c77004

See more details on using hashes here.

File details

Details for the file rxn_availability-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rxn_availability-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 019eda7358a5ed5be7b5cfeb779be70f65a5fa780c4c7208a17ac3e653050318
MD5 dd6ebc45a34aac04c61cb307e8937fbe
BLAKE2b-256 6e4c1206ff0fbed0def1f09d9d124f6738eb825f0adea06727422073aa2696dd

See more details on using hashes here.

Supported by

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