drawgly-0.1.0
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | drawgly-0.1.0 |
| نام | drawgly |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | fubin1999 |
| ایمیل نویسنده | 65430559+fubin1999@users.noreply.github.com |
| آدرس صفحه اصلی | https://github.com/fubin1999/drawgly |
| آدرس اینترنتی | https://pypi.org/project/drawgly/ |
| مجوز | MIT |
# DrawGly
DrawGly is a Python library for drawing **Symbol Nomenclature for Glycans (SNFG)**, using
[GlyConnect API](https://glyconnect.expasy.org/).
## Requirements
```bash
python >= 3.9
```
## Installation
```bash
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](https://glyconnect.expasy.org/) to get the cartoons,
please make sure you have an internet connection.
```python
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.
نیازمندی
| مقدار | نام |
|---|---|
| >=2.28.2,<3.0.0 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl drawgly-0.1.0:
pip install drawgly-0.1.0.whl
نصب پکیج tar.gz drawgly-0.1.0:
pip install drawgly-0.1.0.tar.gz