rxn-availability


Namerxn-availability JSON
Version 3.0.0 PyPI version JSON
download
home_page
SummaryDescribe your project here.
upload_time2024-02-16 21:01:54
maintainer
docs_urlNone
authorIBM RXN team
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # rxn-availability

## Development setup

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

## Example

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

```python
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}")
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "rxn-availability",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "IBM RXN team",
    "author_email": "rxn4chemistry@zurich.ibm.com",
    "download_url": "https://files.pythonhosted.org/packages/4d/fe/c253009ddb544d921f4a58c19586ae5ca101196e268522e98027a0c77004/rxn_availability-3.0.0.tar.gz",
    "platform": null,
    "description": "# rxn-availability\n\n## Development setup\n\n```console\npip install -e \".[dev,rdkit]\"\n```\n\n## Example\n\nThe easiest way to use the package is to rely on the `IsAvailable` object:\n\n```python\nfrom rxn.availability import IsAvailable\n\nis_available_object = IsAvailable()\nsmiles = \"B1C2CCCC1CCC2\"\nprint(f\"{smiles} availability: {is_available_object(smiles}\")\n\n# BYOC: bring your own compounds\ncompounds_filepath = \"tests/example_compounds.txt\"\nis_available_object = IsAvailable(additional_compounds_filepath=compounds_filepath)\nsmiles = \"CC(Cc1ccc(cc1)C(C(=O)O)C)C\"\nprint(f\"{smiles} availability: {is_available_object(smiles}\")\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Describe your project here.",
    "version": "3.0.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e4c1206ff0fbed0def1f09d9d124f6738eb825f0adea06727422073aa2696dd",
                "md5": "dd6ebc45a34aac04c61cb307e8937fbe",
                "sha256": "019eda7358a5ed5be7b5cfeb779be70f65a5fa780c4c7208a17ac3e653050318"
            },
            "downloads": -1,
            "filename": "rxn_availability-3.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dd6ebc45a34aac04c61cb307e8937fbe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 21897,
            "upload_time": "2024-02-16T21:01:51",
            "upload_time_iso_8601": "2024-02-16T21:01:51.538615Z",
            "url": "https://files.pythonhosted.org/packages/6e/4c/1206ff0fbed0def1f09d9d124f6738eb825f0adea06727422073aa2696dd/rxn_availability-3.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4dfec253009ddb544d921f4a58c19586ae5ca101196e268522e98027a0c77004",
                "md5": "b8b52a9014ed87deeb83a5ed5de56664",
                "sha256": "5dfe1c86a59ca044a88ba5766cf76df2541198de570a136b079459480c61ba69"
            },
            "downloads": -1,
            "filename": "rxn_availability-3.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b8b52a9014ed87deeb83a5ed5de56664",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20790,
            "upload_time": "2024-02-16T21:01:54",
            "upload_time_iso_8601": "2024-02-16T21:01:54.418119Z",
            "url": "https://files.pythonhosted.org/packages/4d/fe/c253009ddb544d921f4a58c19586ae5ca101196e268522e98027a0c77004/rxn_availability-3.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-16 21:01:54",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "rxn-availability"
}
        
Elapsed time: 0.81662s