python-notion-plus
An enhanced Python client for the Notion API, providing a more user-friendly interface and additional features.
Features
- Simplified API calls
- Automatic handling of pagination
- Support for Notion's database queries
- Easy-to-use methods for common tasks
Requirements
- Python 3.9+
- Notion API token
- Notion database ID
Installation
pip install python-notion-plus
Configuration
The package uses environment variables for authentication and configuration:
# Required environment variables
NOTION_TOKEN=your_notion_api_token
Examples
Basic Usage
import json
from python_notion_plus import NotionClient
notion_client = NotionClient(database_id='your_database_id')
notion_content = notion_client.get_database_content()
for page in notion_content:
properties = notion_client.format_notion_page(page)
formatted_data = json.dumps(properties, indent=4)
print(f'notion_page_properties: {formatted_data}')
🤝 Contributing
If you have a helpful tool, pattern, or improvement to suggest:
Fork the repo
Create a new branch
Submit a pull request
I welcome additions that promote clean, productive, and maintainable development.
🙏 Thanks
Thanks for exploring this repository!
Happy coding!
Metadata
Release files for python-notion-plus 1.1.1
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 |
|---|---|---|---|---|
| python_notion_plus-1.1.1.tar.gz | 4.5 kB | Without provenance | Details for python_notion_plus-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_notion_plus-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for python_notion_plus-1.1.1-py3-none-any.whl |
Total release size: 9.6 kB
Release files / python_notion_plus-1.1.1.tar.gz
| Download URL | python_notion_plus-1.1.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c6ec4c24ca3d6261fd0ebf3cf032aa36d21f672ba5815e2b92fb628eb26df7d
|
|
BLAKE2b-256 checksum How to use checksums |
e12be382192b1d12571cdbb507a87465a7726d627691e32d94ce65285c0b1095
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / python_notion_plus-1.1.1-py3-none-any.whl
| Download URL | python_notion_plus-1.1.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e88339a180d07570765ac9fb4e4d4eeb193fe972d6a02038fe52cea13e0d5b8
|
|
BLAKE2b-256 checksum How to use checksums |
94aa7886bc968aee1bf3ca9fa216f9a321633ab3252e2d71424122ad2da7cea0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for python-notion-plus 1.1.1
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.