repo-activity-score
The goal of this repository is to collect reference implementations of the Repository Activity Score.
Currently we got only a single implementation (in Python), but are considering to add similar versions for JavaScript, Go and C#. Feel free to contribute other implementations! :)
Installation
pip install repo-activity-score
Usage
import repo_score.score as Score
# code sample - get the repo json data
# https://github.com/zkoppert/innersource-crawler
github_repo_json = github.get_repo
score = Score.calculate(github_repo_json)
Limitations
These implementations assume that the repositories for which you want to calculate the Repository Activity Score are hosted in GitHub i.e. the respective metadata is available via the GitHub Search API and GitHub stats/participation API. The current algorithm is based on the structure available through the zkoppert/innersource-crawler result.
Some incompatibility could be found, however, it should be possible with relatively low effort to adapt these implementations to other version control systems.
Educational purposes only
These implementations are provided as reference implementations and with that for educational purposes only.
License
Metadata
Release files for repo-activity-score 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| repo-activity-score-0.0.4.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| repo_activity_score-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / repo-activity-score-0.0.4.tar.gz
| Download URL | repo-activity-score-0.0.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a89ae80462337055d181765f91b697d24ade8951e622a59efadc1ccdcde5a2c1
|
|
BLAKE2b-256 checksum How to use checksums |
5f101cb4ccfbac925c71ae29faa26a318fd7e037bed36988bb0609b1f9a4f785
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / repo_activity_score-0.0.4-py3-none-any.whl
| Download URL | repo_activity_score-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27628fad36400b9e08c2a5c5300981cf25630755fff4ee859fe584b8548e6ce9
|
|
BLAKE2b-256 checksum How to use checksums |
6aa4e92f6b0b97ee156072b0841f2816c1f687f805e8878dfd31969841ea156c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|