/create-project-list

a little python script that generates a list of projects for a given GitHub organisation, and saves this information as a table in a .docx document

Primary LanguagePythonMIT LicenseMIT

create-project-list

Continuous Integration

Contents generated with DocToc

About

This is a little python script that generates a list of projects for a given GitHub organisation, and saves this information as a table in a .docx document

The table is structured as follows:

No. Name Description Language Stars Forks Last updated Has setup.py ?
1
2
3
...

Dependencies

Usage

First things first

  • Clone the repo, create a virtual environment and install the dependencies (pip install -r requirements.txt).
  • Create a GitHub personal access token, and save it in a .env file as GITHUB_ACCESS_TOKEN=..... You can make a copy of the provided .env.sample:
cp -v .env.sample .env

Run the script

Make it executable:

chmod +x ./create_project_list.py

Simply pass the organization name to the script:

./create_project_list.py -o [organization]

or

./create_project_list.py --org [organization]

Customize

If you want additional info for each repo, feel free to customize the script as well as the template to your liking.

Please refer to the PyGithub docs for more info. I also created a text file in the docs directory to serve as quick reference for methods/properties available for a repo instance, fir example, repo.html_url for a repo's URL.