Skip to main content

image

Dit revolutionizes database management by introducing a version control system tailored specifically for databases, akin to Git's role in source code management. It directly addresses a significant pain point in developer workflows: the complex and error-prone process of tracking, merging, and reverting database schema and content changes. By automating and streamlining these tasks, Dit significantly enhances developer productivity in several key areas:

Seamless Integration with DevOps Pipelines: Dit integrates into existing development workflows, allowing database changes to be versioned, reviewed, and deployed alongside application code. This tight integration reduces friction and improves the speed of development cycles.

Conflict Resolution and Collaboration: Dit's intelligent merge conflict resolution facilitates smoother collaboration among team members working on the same database. By providing clear, manageable mechanisms to handle conflicts, Dit minimizes downtime and communication overhead, allowing developers to focus on their core tasks.

Environment Consistency: Dit ensures that all team members and deployment environments are synchronized with the latest database changes, mitigating "it works on my machine" issues and streamlining the deployment process across development, staging, and production environments.

Rapid Rollbacks and Historical Analysis: The ability to quickly revert to previous database states or analyze the history of changes empowers developers to troubleshoot and fix issues faster, further boosting productivity.

Enhanced Data Management: For projects involving data analysis or machine learning, Dit provides version control for datasets, enabling more efficient experimentation and collaboration on data-driven projects.

By providing a robust, intuitive tool for database version control, Dit fills a crucial gap in the modern developer's toolkit, making database-related tasks safer, faster, and more collaborative. This contributes significantly to the developer productivity track by reducing manual overhead, speeding up development cycles, and fostering better collaboration and consistency across projects.

🦄 Installation

1. Clone the repo

git clone https://github.com/sr2echa/dit.git

2. Install the requirements

pip install -r requirements.txt

3. Install Dit

pip install .

✨ Useage

 Dit                                                                                  
 Dit is a version control system for your databases.

╭─ Commands ─────────────────────────────────────────────────────────────────────────╮
│ branch        Create a new branch from the current commit.                         │
│ commit        Commit your database changes                                         │
│ diff          Compare the current database with a specific commit hash.            │
│ init          Initialize Dit Repository                                            │
│ log           Shows the commit log of the dit repo                                 │
│ merge         Merge a branch into the current branch.                              │
│ reset         Reset the database to a specific state by commit hash.               │
╰────────────────────────────────────────────────────────────────────────────────────╯

Metadata

Release files for dbdit 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbdit 0.0.1
File Size Uploaded
dbdit-0.0.1.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dbdit 0.0.1
File Interpreter ABI Platform
dbdit-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / dbdit-0.0.1.tar.gz

Download URL dbdit-0.0.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1bbd3dd3c1ef33f17d088cf3d673c3fab617845a157dd216a80d18dbbdd42ea5
BLAKE2b-256 checksum
How to use checksums
75048e3fb7a6f27ad13c23afe4dac0a6bf18e20b83b503cdb4fdf120b3bc5e93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / dbdit-0.0.1-py3-none-any.whl

Download URL dbdit-0.0.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da5adeabb3e868534b02151fa4cd0750ccf61bacfd9dc28d51e4799951171f0e
BLAKE2b-256 checksum
How to use checksums
d4d7c191b173bea1215d4259b50f019451246ab41fbc1c386b322e2c19c6321a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page