Metadata-Version: 2.4
Name: python-notion-plus
Version: 0.0.8
Summary: Python wrapper for Notion API
Author: Avi Zaguri
License: MIT
Project-URL: Homepage, https://github.com/aviz92/python-notion-plus
Project-URL: Repository, https://github.com/aviz92/python-notion-plus
Project-URL: Issues, https://github.com/aviz92/python-notion-plus/issues
Keywords: development,notion,notion-api,notion-sdk,notion-integration
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Classifier: Topic :: System :: Logging
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: custom-python-logger>=2.0.10
Requires-Dist: notion-client>=2.7.0
Requires-Dist: pre-commit>=4.5.0
Requires-Dist: pytest>=9.0.1
Requires-Dist: python-dotenv>=1.2.1
Requires-Dist: pytz>=2025.2
Requires-Dist: retrying>=1.4.2
Requires-Dist: setuptools>=80.9.0
Requires-Dist: twine>=6.2.0
Requires-Dist: wheel>=0.45.1
Dynamic: license-file

# 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
```bash
pip install python-notion-plus
```

---

## Configuration
The package uses environment variables for authentication and configuration:
```bash
# Required environment variables
NOTION_TOKEN=your_notion_api_token
```

---

## Examples
### Basic Usage
```python
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 <br>
Create a new branch <br>
Submit a pull request <br>
I welcome additions that promote clean, productive, and maintainable development. <br>

---

## 🙏 Thanks
Thanks for exploring this repository! <br>
Happy coding! <br>
