All Projects → PyBites-Open-Source → git-stats

PyBites-Open-Source / git-stats

Licence: MIT License
No description or website provided.

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to git-stats

Hacktoberfest2021-DSA
If You know the implementation of any DSA related topic/problem then you can contribute it in this repo. Raise Genuine PRs only. Your PRs will be accepted, keep patience. Star this Repo. You aren't allowed to Update README.md. Welcoming developers, content writers, and programming enthusiasts.
Stars: ✭ 232 (+1350%)
Mutual labels:  hacktoberfest2021
downloadTimeCalculator
A site to get approximate download time
Stars: ✭ 25 (+56.25%)
Mutual labels:  hacktoberfest2021
Caribay
A PEG Parser Generator with Semi-Automatic Error Recovery based on LPeg(Label)
Stars: ✭ 14 (-12.5%)
Mutual labels:  hacktoberfest2021
Hacktoberfest-hackedoff
This Repo contains easy javascript questions for beginners to participate in Hacktoberfest 2021.
Stars: ✭ 14 (-12.5%)
Mutual labels:  hacktoberfest2021
Hacktoberfest-imagine-your-contribution
Contribute anything for your T-shirt, must be relevant that can add some value to this repo.
Stars: ✭ 16 (+0%)
Mutual labels:  hacktoberfest2021
GoogleKickStart2020 Solutions
This repository will contain solutions of "Google Kick Start 2020" in C/C++/Java/Python. If you loved it, give a 🌟!
Stars: ✭ 137 (+756.25%)
Mutual labels:  hacktoberfest2021
Angular
A repositoy to learn and boost your Angular skills. It contains cheatsheet, code, articlues and all learning resources you need.
Stars: ✭ 49 (+206.25%)
Mutual labels:  hacktoberfest2021
moxer-code
Moxer Theme brings your DX to another level.
Stars: ✭ 37 (+131.25%)
Mutual labels:  hacktoberfest2021
forestTreesTagging
This project has the vision to assist the officials for Forest trees census and tagging each tree with proper location (latitude and longitude), tree type, and other arguments. and further had the plan to apply data analysis over-collected data.
Stars: ✭ 18 (+12.5%)
Mutual labels:  hacktoberfest2021
CPP-DSA
C++ Data Structures and Algorithms | College Placement Course taught by renowned faculties of Apni Kaksha (Aman Dhattarwal).
Stars: ✭ 53 (+231.25%)
Mutual labels:  hacktoberfest2021
Footer-and-Header-design-Challenge
Contribute your design in Footer and Header design templates using HTML, CSS, JavaScript.
Stars: ✭ 12 (-25%)
Mutual labels:  hacktoberfest2021
voyager-hf
Voyager website: A space website that can be used as a template in the future for space-related topics.
Stars: ✭ 34 (+112.5%)
Mutual labels:  hacktoberfest2021
MERN-E-Commerce
A simple E-Commerce app built on MERN stack with integrated Stripe Checkout.
Stars: ✭ 57 (+256.25%)
Mutual labels:  hacktoberfest2021
HealthBliss-Hacktoberfest2021
HealthBliss is a static responsive website which provides its users with good health reads on how to overcome anxiety, depression and bipolar disorders. Check the readme to know more.
Stars: ✭ 22 (+37.5%)
Mutual labels:  hacktoberfest2021
WWCodePython
Content, Code & Resources for WWCodePython Events
Stars: ✭ 183 (+1043.75%)
Mutual labels:  hacktoberfest2021
tbftss
2D mission-based space shooter, based on the Battle for the Solar System space opera novel trilogy.
Stars: ✭ 46 (+187.5%)
Mutual labels:  hacktoberfest2021
cinesimile
CineSimile is a platform that shows similar movies for a specific movie.
Stars: ✭ 16 (+0%)
Mutual labels:  hacktoberfest2021
nova-page-manager
Page manager for Laravel Nova
Stars: ✭ 35 (+118.75%)
Mutual labels:  hacktoberfest2021
magento2-showoutofstockprice
This Magento2 Module adds prices and the add-to-cart button to out-of-stock configurable products.
Stars: ✭ 22 (+37.5%)
Mutual labels:  hacktoberfest2021
NearBeach
NearBeach is an open sourced project management tool, helping you keep track of your project. You can track requirements, projects and tasks
Stars: ✭ 97 (+506.25%)
Mutual labels:  hacktoberfest2021

Are you an active developer?

The aim of this package is to get some useful stats from a local git repo.

To run it

All code uses Standard Library so far so you should be able to run it upon checkout:

python3 -m stats YOUR_REPO_FOLDER

Example output

Bit meta but here is how it looks for this repo at this time of writing:

$ python3 -m stats ~/code/git-stats
--------------------------------------------------
< Git Repo Activity Report >
> Repo: git-stats
--------------------------------------------------

* Repo changes (inserts and deletes) per week:

2021-22                                | 1607
2021-23                                | 479

* Number of commits per week and author:

2021-22
- Bob Belderbos                        |  32
2021-23
- Bob Belderbos                        |   3

* Files that are most often found in commits:

stats/git.py                           |  16
stats/report.py                        |   9
tests/functional/test_report.py        |   6
README.md                              |   5
tests/conftest.py                      |   4
stats/stats.py                         |   3
Makefile                               |   3
stats/__main__.py                      |   3
tests/unit/test_git.py                 |   2
tests/test_git.py                      |   2
--------------------------------------------------

To run it from any repo / directory, add this to your .bashrc (.zshrc) file (assuming your virtual environment is called venv and is located in the project folder):

alias ae='source venv/bin/activate'
function gitst {
    (pwd=`pwd` && cd ~/code/git-stats/ && ae && python3 -m stats $pwd)
}

The sub shell (()) makes that it should not have any side effects on your current shell session.

To run the tests:

There are unit tests and one functional (end-to-end) test. You can run them like this:

make venv
source venv/bin/activate
make install
make unit (or make test)
make functional
make testall
make coverage
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].