epigraph-2021.2
توضیحات
Python API for graphql
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | epigraph-2021.2 |
| نام | epigraph |
| نسخه کتابخانه | 2021.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Shiny Brar |
| ایمیل نویسنده | charanjotbrar@gmail.com |
| آدرس صفحه اصلی | https://github.com/CHIMEFRB/epigraph |
| آدرس اینترنتی | https://pypi.org/project/epigraph/ |
| مجوز | MIT |
# CHIME/FRB API
| **`Release`** | **`Style`** | **`Documentation`** |
|-----------------|-----------------|-------------------------|
| [](https://pypi.org/project/epigraph/) | [](https://black.readthedocs.io/en/stable/)|[](https://chimefrb.github.io/epigraph)|
--------
# epigraph
Automated GraphQL API
### Installation
```
pip install epigraph
```
### Running the API
```python
In [1]: from epigraph import graphql_api
In [2]: API = graphql_api.GraphQLAPI(url="https://swapi.graph.cool/")
In [3]: API.query('Planet').args({'name': "Alderaan"}).fetch(['climate'])
Out[3]: {"data": {"Planet": {"climate": ["temperate"]}}}
```
نیازمندی
| مقدار | نام |
|---|---|
| >=0.2,<0.3 | graphqlclient |
| >=5.5.0,<6.0.0 | mkdocs-material |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl epigraph-2021.2:
pip install epigraph-2021.2.whl
نصب پکیج tar.gz epigraph-2021.2:
pip install epigraph-2021.2.tar.gz