📑 Table of Contents
This repository contains the code for the PyToNotion package, a Python library to connect with Notion that includes examples of how to use each function.
Notion API Documentation: https://developers.notion.com/guides/get-started/overview
Notion API Version: 2026-03-11
The project is built with Python programming language version 3.12.X
PyToNotion/
├── PyToNotion/
│ ├── __init__.py
│ └── pyNotion.py
├── tests/
│ ├── Blocks/
│ ├── Comments/
│ ├── Databases/
│ ├── Datasources/
│ ├── Pages/
│ ├── Users/
│ └── Views/
├── images/
├── LICENSE.txt
├── README.md
├── requirements.txt
└── pyproject.toml
- ✨ Initial release of PyToNotion
- 🔌 Full integration with Notion API (Version 2026-03-11)
- 📄 Page management: Create, read, update and move pages
- 🗄️ Database management: Create, query and update databases
- 🧱 Block management: Append, retrieve, update and delete blocks
- 💬 Comment system: Create, read, update and delete comments
- 👥 User management: Get information about users and bots
- 👁️ View management: Create, read, update and delete views
- 📊 Datasource support: Create and query data sources
- 😀 Emoji retrieval available in Notion
- 📚 Complete examples of usage in the
tests/directory - 📝 Comprehensive documentation with English comments
- In progress
This is an example of how to run the project and its internal functions. You need to install the package or clone the project locally.
This is the list of libraries or packages you need to install to run the project properly.
- pip
pip install -r requirements.txt
Below is a guide for installing the repository
- Clone the repository
git clone https://github.com/your_username_/PyToNotion.git
- Install the packages
pip install -r requirements.txt
- Install the package
pip install PyToNotion
Contributions make the open source community a great place to learn, inspire, and create. Any contributions you make are greatly appreciated
If you have a suggestion to improve the project, please fork the repository and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the repository a star :D! Thank you!
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the LOSA (License Open Source with Attribution) v2.0 license. See LICENSE.txt file for more information.
Hazlo con el tipo de ❤️ que deja huellas en el alma