Skip to main content

BlockNote Python library - Official Python support for BlockNote.js. Convert BlockNote blocks to HTML, Markdown, and JSON with full type safety and validation.

Project description

BlockNote-py 🐍✨ - Python Library for BlockNote.js

PyPI version Python Support License: MIT Documentation CI

BlockNote Python Library - Official Python support for BlockNote.js. Convert BlockNote blocks to HTML, Markdown, and JSON with full type safety and validation. Perfect for Python backends, server-side rendering, and content processing.

✨ Features

  • 🔄 Multiple Format Support: HTML, Markdown, and Dictionary conversion
  • 🌐 HTML Conversion: Full bidirectional HTML support with styling preservation
  • 📝 Markdown Support: Convert to/from Markdown with formatting
  • 🛡️ Type Safety: Built with Pydantic for robust data validation
  • 🎨 Rich Formatting: Bold, italic, colors, lists, quotes, and more
  • 🧪 Well Tested: Comprehensive test suite with 70+ tests
  • 📚 Great Documentation: Detailed docs with examples

📦 Installation

pip install blocknote-py

📚 Documentation

Complete documentation: https://rohansharmasitoula.github.io/blocknote-py/

Quick Navigation

Section Description
🚀 Quick Start Get up and running in minutes
🔧 API Reference Complete API documentation
🔄 Converters Detailed converter documentation
💡 Examples Real-world usage examples
🤝 Contributing How to contribute

🤝 Contributing

Contributions are welcome! Please see our Contributing Guide for details.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

☕ Support the Project

If you find BlockNote-py useful, consider supporting its development:

Buy Me A Coffee

Your support helps maintain and improve BlockNote-py for the entire Python community! 🙏

🙏 Acknowledgments


⭐ Star this repo if you find it useful!

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

blocknote_py-0.2.0.tar.gz (170.2 kB view details)

Uploaded Source

Built Distribution

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

blocknote_py-0.2.0-py3-none-any.whl (41.8 kB view details)

Uploaded Python 3

File details

Details for the file blocknote_py-0.2.0.tar.gz.

File metadata

  • Download URL: blocknote_py-0.2.0.tar.gz
  • Upload date:
  • Size: 170.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.3

File hashes

Hashes for blocknote_py-0.2.0.tar.gz
Algorithm Hash digest
SHA256 90593fd614447711322ce1cc165f5f0e351faf050c9ad17649f0d8d727565629
MD5 382f50a6aef102b9efb812707733fe3d
BLAKE2b-256 80ff6cd90ffccdcae4ad0284f6460c5ddf51b8c526c0d7524ed0a8d313b233ea

See more details on using hashes here.

File details

Details for the file blocknote_py-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for blocknote_py-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 053b69f1012085af1df626df3f6ba8a724f7189b20a08cd95c0928b0b3f6d786
MD5 93b77c534e4aff47912c7dc3e8ca92c5
BLAKE2b-256 1f35ff400cd90ad5674c0ca9e45de71ce7b3305e737208d932b61f1d8b2cb7a7

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