DrawGly
DrawGly is a Python library for drawing Symbol Nomenclature for Glycans (SNFG), using GlyConnect API.
Requirements
python >= 3.9
Installation
python -m pip install drawgly
Usage
Using get_cartoon() to get the cartoon and saving the image.
More information can be found in the docstring.
Note: This function uses GlyConnect API to get the cartoons, please make sure you have an internet connection.
from drawgly import get_cartoon
struct_format = "gws"
structure = "freeEnd--?a1D-GalNAc,p(--3b1D-Gal,p--??2D-NeuAc,p)--6b1D-GlcNAc," \
"p--??1D-Gal,p--??2D-NeuAc,p}--??1Ac$MONO,Und,0,0,freeEnd"
output_path = "output.png"
get_cartoon(struct_format, structure, output_path)
Example output:
License
This project is licensed under the MIT License. See the LICENSE file for more information.
Metadata
Release files for drawgly 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| drawgly-0.1.0.tar.gz | 2.7 kB | Without provenance | Details for drawgly-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drawgly-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for drawgly-0.1.0-py3-none-any.whl |
Total release size: 6.1 kB
Release files / drawgly-0.1.0.tar.gz
| Download URL | drawgly-0.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
984a389dc6f57724424f8e9bf342dd0b2f2e6084d1cd3b4a7e50de625b021795
|
|
BLAKE2b-256 checksum How to use checksums |
a7e107d3d07cebcedeb3300ad024461196408d678c9f35bb852d8127a0d9a6c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.9 Darwin/22.3.0
|
Release files / drawgly-0.1.0-py3-none-any.whl
| Download URL | drawgly-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a3c11c6f4d11e87743c4da244f72c570250e811445e3e9bd4934b2417d66dc4
|
|
BLAKE2b-256 checksum How to use checksums |
f4dfc1d58df942ef12c4d348d7350d1006c1aa3090b31a5dc9f3c0747409ad0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.9 Darwin/22.3.0
|
Security for drawgly 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.