auto-notion-py-0.1.4
توضیحات
Notion automation package
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | auto-notion-py-0.1.4 |
| نام | auto-notion-py |
| نسخه کتابخانه | 0.1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Piotr Styczyński |
| ایمیل نویسنده | pstyczynski@sumologic.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/auto-notion-py/ |
| مجوز | - |
# Notion automation utilities
**Note: Package in heavy development**
Installation:
```bash
$ poetry add "auto_notion_py==0.1.4"
```
Quick exmple:
```python
from auto_notion_py.github.api import get_pull_requests_df, GHFetch, GHFetchOrg, GHFetchRepo
from auto_notion_py.notion.api import notion_db_push
from auto_notion_py.zotero.api import get_zotero_publications_df
import asyncio
# Query all Zotero publications and update the Notion database
zotero_df = await get_zotero_publications_df(
zotero_api_key,
zotero_db_id,
)
await notion_db_push(notion_token, notion_db_id_zotero_publications, zotero_df)
# Query all PRs and update the Notion database
all_prs_df = await get_pull_requests_df([
GHFetch(
token=github_token,
creators=None,
organizations=[
GHFetchOrg(
name="covid-genomics",
creators=None,
repositories=None,
),
],
),
])
await notion_db_push(notion_token, notion_db_id_pull_requests, all_prs_df)
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.3.5,<2.0.0 | pandas |
| >=0.8.0,<0.9.0 | notion-client |
| >=0.12.1,<0.13.0 | moment |
| >=1.0.0,<2.0.0 | jupyter |
| >=1.1.0,<2.0.0 | githubpy |
| >=1.55,<2.0 | PyGithub |
| >=0.9.0,<0.10.0 | aiomultiprocess |
| >=1.5.1,<2.0.0 | pyzotero |
| >=0.8.2,<0.9.0 | mistletoe |
| >=2.27.1,<3.0.0 | requests |
| >=0.9.1,<0.10.0 | commonmark |
| >=0.9.0,<0.10.0 | dictdiffer |
| >=6.1.1,<7.0.0 | python-slugify |
| >=1.5.2,<2.0.0 | cached-property |
| >=4.2,<5.0 | tzlocal |
| >=0.0.1,<0.0.2 | bs4 |
| >=5.6.0,<6.0.0 | plotly |
| >=3.5.1,<4.0.0 | matplotlib |
| >=1.1.0,<2.0.0 | chart-studio |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl auto-notion-py-0.1.4:
pip install auto-notion-py-0.1.4.whl
نصب پکیج tar.gz auto-notion-py-0.1.4:
pip install auto-notion-py-0.1.4.tar.gz