Programming language usage over time in a git repository is plotted to an SVG file.
Project description
git-repo-language-trends
Programming language usage over time in a git repository is plotted to an SVG file, based on total line count for given file extensions.
Example
Simply pass the file extensions of the languages you want the trend for.
% cd ~/src/your-project
% git-repo-language-trends .cpp .rs
.cpp .rs
2021-01-23 0 121
2021-01-22 120 107
2021-01-19 243 66
Then open output.svg
.
Installation
Simply do
python3 -m pip install git-repo-language-trends
Performance
This program is pretty fast, because it uses the pygit2 wrapper for the C library libgit2. On a low end computer (with an Intel(R) Celeron(R) J4005 CPU @ 2.00GHz) it counts ~400 000 lines per qsecond.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file git-repo-language-trends-0.0.1.tar.gz
.
File metadata
- Download URL: git-repo-language-trends-0.0.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 120e7099daa98be124fb5528df1966b5695b6254877f25a7141ee88ebe4de556 |
|
MD5 | 2a345beff09ffc33ae5b6238ace3aab8 |
|
BLAKE2b-256 | d3e6310136dd7fa6957c3aa24850b7a33a6892f26461902a63a3e6d5a8ff823a |
File details
Details for the file git_repo_language_trends-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: git_repo_language_trends-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c9984bf7cabde7150d76ca8ff6f0beb31d5deab20c8b0e83b6957e4a39d0a17 |
|
MD5 | b5da5ac310c2ea5393492b21b6a62ff7 |
|
BLAKE2b-256 | bbd82e781b5b7a8b57c4b2d28d0a908310ee4d3cb41dd5b89adbd0735b2bf8d8 |