Aggregation of github activities on multiple repositories based on github2pandas
Project description
github2pandas_manager Introduction
github2pandas_manager
coordinates data aggregation activities for multiple GitHub-repositories. The user selects a list of repositories by names, name pattern, organizations or individual queries and provides a collection of versions, releases, pull-requests etc. For this purpose github2pandas_manager
reads a configuration file (yml), collects the referenced repositories and provides the demanded information as Python pandas or csv files.
Take a view to the documentation of github2pandas for being familiar with the individual aggregation classes.
Application example
Concept
Installation
github2pandas-manager
is available on pypi. Use pip to install the package.
global
On Linux:
sudo pip3 install github2pandas-manager
sudo pip install github2pandas-manager
On Windows as admin or for one user:
pip install github2pandas-manager
pip install --user github2pandas-manager
in virtual environment:
pipenv install github2pandas-manager
In addition a GitHub token is required for authentication. The website describes how you can generate this for your GitHub account. Add your toke to an hidden .env
file, an example is given in .env.example
.
Run examples
The example folder contains four types of query configurations for different purposes:
Fokus | Keywords | Example |
---|---|---|
Repo names | List all relevant repositories by username and repository name - repo_names |
ProjectsByRepoNames.yml |
Repo name patterns | Describe relevant repositories by white- and black-patterns - repo_white_pattern , repo_black_pattern |
ProjectsByRepoNamePatterns.yml |
Repos by organizations | Select all repositories of an organization account - organization_names |
ProjectsByOrganizations.yml |
Repos by a set of query parameter | Select all repositories according to programming languages, stars etc. - language , start_date , end_date , star_filter |
ProjectsByQuery.yml |
In order to start the examples just run:
pipenv run python -m github2pandas_manager -path ./examples/ProjectsByQuery.yml
YAML-Configuration schema
In addition to the specific configuration parameters mentioned above, each request includes three further definitions - project_name
, project_folder
and content
.
While the first two are used to structure the folders to hold the data, the last parameter describes the repository data to be aggregated:
Repository
Issues
Version
PullRequests
Workflows
GitReleases
An overview of the information contained in each data frame can be found in the wiki of the gitlab2pandas project.
Project details
Release history Release notifications | RSS feed
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 github2pandas_manager-0.0.8.tar.gz
.
File metadata
- Download URL: github2pandas_manager-0.0.8.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81bfb2eadf320373dabedcb8b2d4db342e1034083da4986d759d4a4aa19f4789 |
|
MD5 | 8d8be787ea69629f2d9587ed1d8dbc30 |
|
BLAKE2b-256 | 488f6c7e331232fd1ef7847722bf7b2a853b3ac1a8df96314569e48c2c903524 |
File details
Details for the file github2pandas_manager-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: github2pandas_manager-0.0.8-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2648a41fd6ddd015f10c5a4ac1024b4492429de14c26e283454148a8f315ade |
|
MD5 | b911e0808b4613248318da5d51edd923 |
|
BLAKE2b-256 | 052a7a7acf487f9cf401751522b0b2e73635720797d75cb650c54d1e71b5561e |