Notion automation utilities
Note: Package in heavy development
Installation:
$ poetry add "auto_notion_py==0.1.4"
Quick exmple:
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)
Metadata
Release files for auto-notion-py 0.1.4
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 |
|---|---|---|---|---|
| auto_notion_py-0.1.4.tar.gz | 46.0 kB | Without provenance | Details for auto_notion_py-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| auto_notion_py-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for auto_notion_py-0.1.4-py3-none-any.whl |
Total release size: 100.0 kB
Release files / auto_notion_py-0.1.4.tar.gz
| Download URL | auto_notion_py-0.1.4.tar.gz |
|---|---|
| Size | 46.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e37d4faedd92fad9bf1076c1bf82c56a54eea95414dec2e6384fabcf1dace72
|
|
BLAKE2b-256 checksum How to use checksums |
2ce1070440a2b9dc13e5120c0f1203d3ea081773aaf9e28e1284076f2dbb3222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.10 Darwin/19.6.0
|
Release files / auto_notion_py-0.1.4-py3-none-any.whl
| Download URL | auto_notion_py-0.1.4-py3-none-any.whl |
|---|---|
| Size | 54.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2bdadfb32e6bb2ab07a3ae0b7b3430b6c7cd4c64950a7bc06b4a513704ce3c23
|
|
BLAKE2b-256 checksum How to use checksums |
c79398316b295aa5255ad0789091de4aacef088cf725daa3bb2d48d1a6f08529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.10 Darwin/19.6.0
|
Security for auto-notion-py 0.1.4
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.