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.
Metadata
Release files for beatrica-git 2025.5.180925
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| beatrica_git-2025.5.180925.tar.gz | 4.6 kB | Without provenance | Details for beatrica_git-2025.5.180925.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| beatrica_git-2025.5.180925-py3-none-any.whl | Python 3 | none | any | Details for beatrica_git-2025.5.180925-py3-none-any.whl |
Total release size: 10.4 kB
Release files / beatrica_git-2025.5.180925.tar.gz
| Download URL | beatrica_git-2025.5.180925.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
584ab8baf703adabe3340b9d7bfb586c3cd85ac5e3a34cf82d0fd391918522d4
|
|
BLAKE2b-256 checksum How to use checksums |
627d6073565b0c89440361675b29e0a4003b48d51ba98d8ffe9fae31d368b0b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.11
|
Release files / beatrica_git-2025.5.180925-py3-none-any.whl
| Download URL | beatrica_git-2025.5.180925-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ee9c5fec7fcfa53a4405bba942dd6ea541cb483297196983d8e24558b102001
|
|
BLAKE2b-256 checksum How to use checksums |
991e4aa7a3d5f7d37f559b976c0a5f715b0771592700afaecea83693538c4480
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.11
|
Security for beatrica-git 2025.5.180925
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.