GithubHelp home page GithubHelp logo

beatrica-git's Introduction

PyPI version License: MIT Downloads

Beatrica Git

beatrica-git is a Python package designed for analyzing git differences between branches in a local repository. It helps developers and project managers to easily track and visualize changes, fostering better understanding and collaboration within teams.

Installation

To install beatrica-git, use pip:

pip install beatrica-git

Usage

beatrica-git is straightforward to use. Below are examples demonstrating how to analyze and retrieve recent commit changes between branches.

Analyzing Commit Changes

from beatrica_git.recent_change_inspector import BeatricaDiffTracker

# Initialize the analyzer for a specific repository path (optional) and branch
beatrica_diff_tracker = BeatricaDiffTracker(base_branch='master')

# Perform the analysis
beatrica_diff_tracker.analyze_commits()

# Retrieve and print the commit changes
commit_changes = beatrica_diff_tracker.commit_changes
print(commit_changes)

This example shows how to instantiate the BeatricaDiffTracker and analyze commit changes between the master branch and the HEAD. It's possible to specify a repository path; otherwise, the current working directory is used.

Features

  • Easy retrieval and analysis of commit differences between two branches.
  • Support for analyzing changes in local git repositories.
  • Detailed breakdown of additions, deletions, and modifications in each commit.
  • Customizable for different base and head branches.
  • Simplified API for easy integration into development workflows and tools.

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

License

This project is licensed under the MIT License.

beatrica-git's People

Contributors

chigwell avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.