Skip to content

Releases: ericmiguel/datahood

v0.1.0

20 Sep 21:44

Choose a tag to compare

This is the first release of Datahood, your go-to CLI toolkit for seamless data transfers and automatic schema discovery!

🚀 Highlights

  • Data Transfer Made Easy

    • Stream data MongoDB ↔ BSON with blazing performance
    • One-step MongoDB → MongoDB migrations
    • Built-in support for compression and --dry-run mode
  • Automatic Schema Generation

    • Generate TypedDict and Pydantic models from live MongoDB or BSON files
    • Handles nested documents, optional fields, and union types
    • Clean, production-ready code with minimal configuration
  • User-Friendly CLI

    • Intuitive commands:
      • dh transfer mongo-to-bson, bson-to-mongo, mongo-to-mongo
      • dh schema from-mongo, from-bson with --to-pydantic or --to-typeddict
    • Comprehensive --help text and sensible defaults

📦 Installation & Quick Start

uv add datahood  # or pip install datahood 

Jump straight in:

dh --help
dh transfer mongo-to-bson out.bson --source-uri mongodb://… --source-collection users
dh schema from-mongo --uri mongodb://… --collection users --to-pydantic -o models.py

Thank you for trying Datahood! We can’t wait to see what you build. ✨