Notion API with Python
Project description
๐ PyToNotion
๐ PyToNotion
A repository for the PyToNotion package
Additional Material
ยท
Report Bug
ยท
Request Feature
๐ Table of Contents
๐ About The Project
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
๐ ๏ธ Built With
The project is built with Python programming language version 3.12.X
๐ Project Structure
PyToNotion/
โโโ PyToNotion/
โ โโโ __init__.py
โ โโโ pyNotion.py
โโโ tests/
โ โโโ Blocks/
โ โโโ Comments/
โ โโโ Databases/
โ โโโ Datasources/
โ โโโ Pages/
โ โโโ Users/
โ โโโ Views/
โโโ images/
โโโ LICENSE.txt
โโโ README.md
โโโ requirements.txt
โโโ pyproject.toml
๐ What's New - Version 1.0.0
- โจ 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
๐ฅ Video List
- In progress
๐ Getting Started
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.
Prerequisites
This is the list of libraries or packages you need to install to run the project properly.
- pip
pip install -r requirements.txt
Installation
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
๐ค Contributing
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
๐ License
Distributed under the LOSA (License Open Source with Attribution) v2.0 license. See LICENSE.txt file for more information.
๐ง Contact
Hazlo con el tipo de โค๏ธ que deja huellas en el alma
โญ Star this repo โข ๐ Report Bug โข โจ Request Feature
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytonotion-1.0.0.tar.gz.
File metadata
- Download URL: pytonotion-1.0.0.tar.gz
- Upload date:
- Size: 196.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3799638548ec3dee2b8f54c5ac3c6a3d96db0ca832d06bc81d7b609dd12a47dc
|
|
| MD5 |
01a7cc9cfa7a803085bd284b2c706b48
|
|
| BLAKE2b-256 |
fcc354db2c2768f7806ed99ac2fbe5aae42cdebd8175baaedbeb25ef47ce4500
|
File details
Details for the file pytonotion-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pytonotion-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15361f3dc7bbcce7779b8e88d84be1b2439f57567303a506d953dcb7bad6a8bf
|
|
| MD5 |
23044519449a6e06dd6be3e8ccd7a266
|
|
| BLAKE2b-256 |
81d7051b05afb3be471b4c1bc558ed2f5b59a34e780b3e395caf0b9765838f4b
|