Metadata-Version: 2.4
Name: python-notion-plus
Version: 0.0.7
Summary: Python wrapper for Notion API
Home-page: https://github.com/aviz92/python-notion-plus
Author: Avi Zaguri
Author-email: 
Project-URL: Repository, https://github.com/aviz92/python-notion-plus
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: setuptools
Requires-Dist: wheel
Requires-Dist: python-dotenv
Requires-Dist: pre-commit
Requires-Dist: twine
Requires-Dist: pytest
Requires-Dist: retrying
Requires-Dist: notion_client
Requires-Dist: pytz
Requires-Dist: custom-python-logger
Dynamic: author
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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>
