Metadata-Version: 2.4
Name: blocknote-py
Version: 0.2.0
Summary: BlockNote Python library - Official Python support for BlockNote.js. Convert BlockNote blocks to HTML, Markdown, and JSON with full type safety and validation.
Project-URL: Homepage, https://github.com/rohansharmasitoula/blocknote-py
Project-URL: Documentation, https://rohansharmasitoula.github.io/blocknote-py/
Project-URL: Repository, https://github.com/rohansharmasitoula/blocknote-py
Project-URL: Bug Tracker, https://github.com/rohansharmasitoula/blocknote-py/issues
Project-URL: Changelog, https://rohansharmasitoula.github.io/blocknote-py/changelog/
Project-URL: Funding, https://buymeacoffee.com/sitoularohansharma
Author-email: Rohan Sharma Sitoula <rohansharmasitoula@gmail.com>
Maintainer-email: Rohan Sharma Sitoula <rohansharmasitoula@gmail.com>
License: MIT License
        
        Copyright (c) 2025 Rohan Sharma
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: block-note-python,blocknote,blocknote-py,blocknote-python,blocks,converter,html,json,markdown,python-blocknote,rich-text
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Topic :: Text Processing :: Markup :: Markdown
Classifier: Typing :: Typed
Requires-Python: >=3.8
Requires-Dist: markdown-it-py>=3.0.0
Requires-Dist: pydantic>=2.0.0
Provides-Extra: all
Requires-Dist: black>=23.0.0; extra == 'all'
Requires-Dist: flake8>=5.0.0; extra == 'all'
Requires-Dist: isort>=5.12.0; extra == 'all'
Requires-Dist: mkdocs-material>=9.0.0; extra == 'all'
Requires-Dist: mkdocs>=1.5.0; extra == 'all'
Requires-Dist: mkdocstrings[python]>=0.20.0; extra == 'all'
Requires-Dist: mypy>=1.0.0; extra == 'all'
Requires-Dist: pre-commit>=3.0.0; extra == 'all'
Requires-Dist: pytest-cov>=4.1.0; extra == 'all'
Requires-Dist: pytest>=7.4.0; extra == 'all'
Provides-Extra: dev
Requires-Dist: black>=23.0.0; extra == 'dev'
Requires-Dist: flake8>=5.0.0; extra == 'dev'
Requires-Dist: isort>=5.12.0; extra == 'dev'
Requires-Dist: mypy>=1.0.0; extra == 'dev'
Requires-Dist: pre-commit>=3.0.0; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocs-material>=9.0.0; extra == 'docs'
Requires-Dist: mkdocs>=1.5.0; extra == 'docs'
Requires-Dist: mkdocstrings[python]>=0.20.0; extra == 'docs'
Provides-Extra: test
Requires-Dist: pytest-cov>=4.1.0; extra == 'test'
Requires-Dist: pytest>=7.4.0; extra == 'test'
Description-Content-Type: text/markdown

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

[![PyPI version](https://badge.fury.io/py/blocknote-py.svg)](https://pypi.org/project/blocknote-py/)
[![Python Support](https://img.shields.io/pypi/pyversions/blocknote-py.svg)](https://pypi.org/project/blocknote-py/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Documentation](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://rohansharmasitoula.github.io/blocknote-py/)
[![CI](https://github.com/rohansharmasitoula/blocknote-py/workflows/CI/badge.svg)](https://github.com/rohansharmasitoula/blocknote-py/actions)

> **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

```bash
pip install blocknote-py
```

## 📚 Documentation

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

### Quick Navigation

| Section | Description |
|---------|-------------|
| [🚀 Quick Start](https://rohansharmasitoula.github.io/blocknote-py/getting-started/quick-start/) | Get up and running in minutes |
| [🔧 API Reference](https://rohansharmasitoula.github.io/blocknote-py/api/schema/) | Complete API documentation |
| [🔄 Converters](https://rohansharmasitoula.github.io/blocknote-py/converters/overview/) | Detailed converter documentation |
| [💡 Examples](https://rohansharmasitoula.github.io/blocknote-py/examples/basic/) | Real-world usage examples |
| [🤝 Contributing](https://rohansharmasitoula.github.io/blocknote-py/contributing/) | How to contribute |

## 🤝 Contributing

Contributions are welcome! Please see our [Contributing Guide](https://rohansharmasitoula.github.io/blocknote-py/contributing/) for details.

## 📄 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## ☕ Support the Project

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

[![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-support%20development-orange?style=for-the-badge&logo=buy-me-a-coffee)](https://buymeacoffee.com/sitoularohansharma)

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

## 🙏 Acknowledgments

- [BlockNote.js](https://www.blocknotejs.org/) - The amazing block-based editor
- [Pydantic](https://pydantic-docs.helpmanual.io/) - For robust data validation

---

**[⭐ Star this repo](https://github.com/rohansharmasitoula/blocknote-py)** if you find it useful!
