Skip to main content

View the language breakdown of your entire GitHub account.

Project description

Linguist

View the language breakdown of your entire GitHub account.

Build Status MIT Licence

GitHub displays beautiful language breakdowns on each repo on their website; however, they do not show your entire language breakdown across all your projects.

Linguist can return the language breakdown of your personal repos or all repos you have access to individually via the command line, then Linguist will build a customized pie chart breakdown of your overall language usage across all repos (limited to the top 8 for clarity; all languages are returned via CLI). Configure some settings and quickly find out what languages you use the most!

Install

pip3 install linguist-breakdown

Usage

Usage:
    GITHUB_TOKEN=123... linguist --type owner --pieces 8 --forks

Options
    -t, --type TYPE         The repo type to look at (OPTIONS: all, owner, member, private, public).
    -p, --pieces PIECES     Number of chart pieces of the chart to generate (will use greatest percentages).
    -f, --forks             Include forked repos in the language breakdown.

TYPE expects a string option listed above.
PIECES expects an integer. The lower the number, the more readable your graph will be.

Development

Install project with dev depencencies:

pip3 install -e ."[dev]"

Lint the project:

pylint linguist/*.py

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

linguist-breakdown-1.0.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

linguist_breakdown-1.0.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page