| Name | RanDepict JSON |
| Version |
1.3.0
JSON |
| download |
| home_page | https://github.com/OBrink/RanDepict |
| Summary | RanDepict is an easy-to-use utility to generate a big variety of chemical structure depictions (random depiction styles and image augmentations). |
| upload_time | 2023-09-22 10:00:04 |
| maintainer | Otto Brinkhaus, Kohulan Rajan |
| docs_url | None |
| author | Otto Brinkhaus |
| requires_python | >=3.7 |
| license | MIT |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
[](https://opensource.org/licenses/MIt)
[](https://github.com/OBrink/RanDepict/graphs/commit-activity)

[](https://GitHub.com/OBrink/RanDepict/issues/)
[](https://GitHub.com/OBrink/RanDepict/graphs/contributors/)
[](https://GitHub.com/OBrink/RanDepict/releases/)
[](https://pypi.python.org/pypi/RanDepict/)

[](https://doi.org/10.5281/zenodo.5531702)
[](https://randepict.readthedocs.io/en/latest/?badge=latest)

This repository contains RanDepict, an easy-to-use utility to generate a big variety of chemical structure depictions (random depiction styles and image augmentations) based on RDKit, CDK, Indigo and PIKAChU.
## Usage
- To use RanDepict, clone the repository to your local disk and make sure you install all the necessary requirements.
### Installation
```shell
$ git clone https://github.com/OBrink/RanDepict.git
$ cd RanDepict
$ python -m pip install -U pip #Upgrade pip
$ pip install .
```
### Alternative
```shell
$ python -m pip install -U pip #Upgrade pip
$ pip install git+https://github.com/OBrink/RanDepict.git
```
### Install from PyPI
```shell
$ pip install RanDepict
```
### Development
> **Note**
> We recommend using RanDepict inside a Conda environment to facilitate the installation of the dependencies.
- Conda can be downloaded as part of the [Anaconda](https://www.anaconda.com/) or the [Miniconda](https://conda.io/en/latest/miniconda.html) plattforms (Python 3.8). We recommend `miniconda3`. On Linux you can get it with:
```shell
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ bash Miniconda3-latest-Linux-x86_64.sh
```
```shell
$ echo -e "channels:\n - conda-forge\n - nodefaults" > ~/.condarc
$ conda update conda
$ conda install conda-libmamba-solver
$ conda config --set experimental_solver libmamba
$ conda create --name RanDepict python=3.8
$ conda activate RanDepict
# pypi has rdkit so not necessary to install it using conda
# $ conda install -c rdkit rdkit
$ pip install -e ".[dev]" # will install pytest and tox
# To run tests for python 3.8
$ tox -e py38
```
### Basic usage:
```python
from RanDepict import RandomDepictor
smiles = "CN1C=NC2=C1C(=O)N(C(=O)N2C)C"
with RandomDepictor() as depictor:
image = depictor(smiles)
```
Have a look at the [examples in our demo notebook](https://github.com/OBrink/RanDepict/blob/main/examples/RanDepictNotebook.ipynb). A more detailed [documentation is provided here](https://randepict.readthedocs.io/en/latest/).
Here are some examples of depictions of caffeine without augmentations (left) and with augmentations (right) that were automatically created using RanDepict.
 
## Cite Us
- Brinkhaus, H.O., Rajan, K., Zielesny, A. et al. RanDepict: Random chemical structure depiction generator. J Cheminform 14, 31 (2022). https://doi.org/10.1186/s13321-022-00609-4
## Acknowledgements
- We would like to thank [M. Isabel Agea](https://github.com/Iagea) and [Tulay Muezzinoglu](https://github.com/tulay) for their valuable contributions.
## More information about our research group
[](https://cheminf.uni-jena.de)

Raw data
{
"_id": null,
"home_page": "https://github.com/OBrink/RanDepict",
"name": "RanDepict",
"maintainer": "Otto Brinkhaus, Kohulan Rajan",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "otto.brinkhaus@uni-jena.de, kohulan.rajan@uni-jena.de",
"keywords": "",
"author": "Otto Brinkhaus",
"author_email": "otto.brinkhaus@uni-jena.de, kohulan.rajan@uni-jena.de",
"download_url": "https://files.pythonhosted.org/packages/e0/98/d6a05e416380f37027f877bf0dcb4a747feb0282ff8a7a507aa7fc6af219/RanDepict-1.3.0.tar.gz",
"platform": null,
"description": "[](https://opensource.org/licenses/MIt)\n[](https://github.com/OBrink/RanDepict/graphs/commit-activity)\n\n[](https://GitHub.com/OBrink/RanDepict/issues/)\n[](https://GitHub.com/OBrink/RanDepict/graphs/contributors/)\n[](https://GitHub.com/OBrink/RanDepict/releases/)\n[](https://pypi.python.org/pypi/RanDepict/)\n\n[](https://doi.org/10.5281/zenodo.5531702)\n[](https://randepict.readthedocs.io/en/latest/?badge=latest)\n\n\n\nThis repository contains RanDepict, an easy-to-use utility to generate a big variety of chemical structure depictions (random depiction styles and image augmentations) based on RDKit, CDK, Indigo and PIKAChU.\n\n## Usage\n- To use RanDepict, clone the repository to your local disk and make sure you install all the necessary requirements.\n\n### Installation\n\n```shell\n$ git clone https://github.com/OBrink/RanDepict.git\n$ cd RanDepict \n$ python -m pip install -U pip #Upgrade pip\n$ pip install .\n```\n\n### Alternative\n```shell\n$ python -m pip install -U pip #Upgrade pip\n$ pip install git+https://github.com/OBrink/RanDepict.git\n```\n\n### Install from PyPI\n```shell\n$ pip install RanDepict\n```\n\n### Development\n\n> **Note**\n> We recommend using RanDepict inside a Conda environment to facilitate the installation of the dependencies.\n- Conda can be downloaded as part of the [Anaconda](https://www.anaconda.com/) or the [Miniconda](https://conda.io/en/latest/miniconda.html) plattforms (Python 3.8). We recommend `miniconda3`. On Linux you can get it with:\n\n```shell\n$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\n$ bash Miniconda3-latest-Linux-x86_64.sh\n```\n\n```shell\n$ echo -e \"channels:\\n - conda-forge\\n - nodefaults\" > ~/.condarc\n$ conda update conda\n$ conda install conda-libmamba-solver\n$ conda config --set experimental_solver libmamba\n$ conda create --name RanDepict python=3.8\n$ conda activate RanDepict\n# pypi has rdkit so not necessary to install it using conda\n# $ conda install -c rdkit rdkit\n$ pip install -e \".[dev]\" # will install pytest and tox\n# To run tests for python 3.8\n$ tox -e py38\n```\n\n### Basic usage: \n```python\nfrom RanDepict import RandomDepictor\n\nsmiles = \"CN1C=NC2=C1C(=O)N(C(=O)N2C)C\"\n\nwith RandomDepictor() as depictor:\n image = depictor(smiles)\n``` \n\nHave a look at the [examples in our demo notebook](https://github.com/OBrink/RanDepict/blob/main/examples/RanDepictNotebook.ipynb). A more detailed [documentation is provided here](https://randepict.readthedocs.io/en/latest/).\n\nHere are some examples of depictions of caffeine without augmentations (left) and with augmentations (right) that were automatically created using RanDepict. \n\n \n\n\n\n\n\n\n\n\n\n\n\n\n## Cite Us\n\n- Brinkhaus, H.O., Rajan, K., Zielesny, A. et al. RanDepict: Random chemical structure depiction generator. J Cheminform 14, 31 (2022). https://doi.org/10.1186/s13321-022-00609-4\n\n## Acknowledgements\n\n- We would like to thank [M. Isabel Agea](https://github.com/Iagea) and [Tulay Muezzinoglu](https://github.com/tulay) for their valuable contributions.\n\n## More information about our research group\n\n[](https://cheminf.uni-jena.de)\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "RanDepict is an easy-to-use utility to generate a big variety of chemical structure depictions (random depiction styles and image augmentations).",
"version": "1.3.0",
"project_urls": {
"Homepage": "https://github.com/OBrink/RanDepict"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c82ce0faa07e0d3acb1f33e26c1f6870869e9da0b5d79814ccf24cf277f7810d",
"md5": "dbbff39a6a715de959675fffa8156c44",
"sha256": "ab28799f1f71bc3d1c138ed1b8071910b382800ed345b14c6e1528b22f73d4b7"
},
"downloads": -1,
"filename": "RanDepict-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dbbff39a6a715de959675fffa8156c44",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 53456909,
"upload_time": "2023-09-22T09:59:58",
"upload_time_iso_8601": "2023-09-22T09:59:58.747721Z",
"url": "https://files.pythonhosted.org/packages/c8/2c/e0faa07e0d3acb1f33e26c1f6870869e9da0b5d79814ccf24cf277f7810d/RanDepict-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e098d6a05e416380f37027f877bf0dcb4a747feb0282ff8a7a507aa7fc6af219",
"md5": "c063ead79104dd28cd01a8e194d7a199",
"sha256": "824bcaf4e34afe7046a195593dd5216d6da3c5a9c7d841564c7dc0db302acd4c"
},
"downloads": -1,
"filename": "RanDepict-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "c063ead79104dd28cd01a8e194d7a199",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 53380505,
"upload_time": "2023-09-22T10:00:04",
"upload_time_iso_8601": "2023-09-22T10:00:04.260399Z",
"url": "https://files.pythonhosted.org/packages/e0/98/d6a05e416380f37027f877bf0dcb4a747feb0282ff8a7a507aa7fc6af219/RanDepict-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-22 10:00:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OBrink",
"github_project": "RanDepict",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "randepict"
}