Skip to main content

Notion API with Python

Project description

๐Ÿ PyToNotion

Contributors Forks Stars Issues License PyPI - Version


Logo

๐Ÿ PyToNotion

Logo

A repository for the PyToNotion package

Additional Material ยท Report Bug ยท Request Feature

๐Ÿ“‘ Table of Contents
  1. About The Project
  2. Project Structure
  3. What's New - Version 1.0.0
  4. Video List
  5. Getting Started
  6. Contributing
  7. License
  8. Contact

๐Ÿ“– 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

  • Python

๐Ÿ“‚ 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

  1. Clone the repository
    git clone https://github.com/your_username_/PyToNotion.git
    
  2. Install the packages
    pip install -r requirements.txt
    
  3. 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!

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. 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

YouTube Instagram TikTok Facebook Link LinkedIn Web BuyMeACoffee


Hazlo con el tipo de โค๏ธ que deja huellas en el alma

โญ Star this repo โ€ข ๐Ÿ› Report Bug โ€ข โœจ Request Feature

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytonotion-1.0.0.tar.gz (196.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytonotion-1.0.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

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

Hashes for pytonotion-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3799638548ec3dee2b8f54c5ac3c6a3d96db0ca832d06bc81d7b609dd12a47dc
MD5 01a7cc9cfa7a803085bd284b2c706b48
BLAKE2b-256 fcc354db2c2768f7806ed99ac2fbe5aae42cdebd8175baaedbeb25ef47ce4500

See more details on using hashes here.

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

Hashes for pytonotion-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15361f3dc7bbcce7779b8e88d84be1b2439f57567303a506d953dcb7bad6a8bf
MD5 23044519449a6e06dd6be3e8ccd7a266
BLAKE2b-256 81d7051b05afb3be471b4c1bc558ed2f5b59a34e780b3e395caf0b9765838f4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page