Metadata-Version: 2.4
Name: notion-git-sync
Version: 0.1.2
Summary: Synchronize Notion pages to markdown files with frontmatter support
Author-email: Joe Southin <joe.southin@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/jsouthin/notion-git-sync
Project-URL: Repository, https://github.com/jsouthin/notion-git-sync.git
Project-URL: Documentation, https://github.com/jsouthin/notion-git-sync#readme
Keywords: notion,markdown,documentation,sync
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Documentation
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Text Processing :: Markup
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: notion-client>=2.0.0
Requires-Dist: pyyaml>=6.0.0
Provides-Extra: test
Requires-Dist: pytest>=7.0.0; extra == "test"
Requires-Dist: pytest-cov>=4.0.0; extra == "test"
Provides-Extra: dev
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: isort>=5.0.0; extra == "dev"
Requires-Dist: flake8>=6.0.0; extra == "dev"
Dynamic: license-file

   # Notion Git Sync

   Synchronize Notion pages to markdown files with frontmatter support.

   ## Features
   - Converts Notion pages to markdown
   - Supports YAML frontmatter
   - Handles nested content
   - Git integration
   - Rich block type support

   ## Installation
   ```bash
   pip install notion-git-sync
   ```

   ## Usage
   ```python
   from notion_git_sync import NotionSync, Config

   config = Config.from_env()
   syncer = NotionSync(config)
   changed_files = syncer.sync()
   ```

   ## Configuration
   Set the following environment variables:
   - NOTION_TOKEN: Your Notion integration token
   - NOTION_PARENT_IDS: Comma-separated list of parent page IDs
