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
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:
Your support helps maintain and improve BlockNote-py for the entire Python community! 🙏
🙏 Acknowledgments
- BlockNote.js - The amazing block-based editor
- Pydantic - For robust data validation
⭐ Star this repo if you find it useful!
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90593fd614447711322ce1cc165f5f0e351faf050c9ad17649f0d8d727565629
|
|
| MD5 |
382f50a6aef102b9efb812707733fe3d
|
|
| BLAKE2b-256 |
80ff6cd90ffccdcae4ad0284f6460c5ddf51b8c526c0d7524ed0a8d313b233ea
|
File details
Details for the file blocknote_py-0.2.0-py3-none-any.whl.
File metadata
- Download URL: blocknote_py-0.2.0-py3-none-any.whl
- Upload date:
- Size: 41.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
053b69f1012085af1df626df3f6ba8a724f7189b20a08cd95c0928b0b3f6d786
|
|
| MD5 |
93b77c534e4aff47912c7dc3e8ca92c5
|
|
| BLAKE2b-256 |
1f35ff400cd90ad5674c0ca9e45de71ce7b3305e737208d932b61f1d8b2cb7a7
|