Skip to main content

Retrieve authors informations from commits.

Project description

Comiks

Comiks is a command line tool to retrieve authors informations (names and emails) in the repositories commits of a given user.

Heading illustration

Installation

$ pip install git+https://github.com/b0oml/Comiks

Configuration

The first time comiks runs, it will generate a config file .config/comiks/config.toml in your home directory. This will be the default configuration file used when using comiks.

By default, only Github provider is enabled, other providers needs an API key/access token. To enable and configure others providers, you can update the configuration file in your home directory.

It is also possible to load the configuration file from another path with option -c, --config.

$ comiks -c ./path/to/config.toml username

If you wan to create your own configuration file, you can take example on this one.

Usage

$ comiks --help
usage: comiks [-h] [-c CONFIG] [-l HIGHLIGHT] [-p TAGS] [-sb] username

Retrieve authors informations from commits.

positional arguments:
  username              Username for which to scan commits.

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        Custom config file (default is ~/.config/comiks/config.toml).
  -l HIGHLIGHT, --highlight HIGHLIGHT
                        Strings to highlight in output, separated by a comma (default is username).
  -p TAGS, --providers TAGS
                        Comma-sperated list of tags to select which providers to enable (default is in
                        config).
  -sb, --show-branches  Show in which branches authors have been found.

Examples

Normal scan, use config in home directory.

$ comiks b0oml

Scan using another config.

$ comiks -c my_config.toml b0oml

In tables output, comiks try to highlight names and emails similar to the given username. You can highlight based on other strings than the username by giving a comma-separated list of strings.

$ comiks -l john b0oml
$ comiks -l john,doe,something b0oml

You can enable/disable availables providers by updating config.toml. Now, let's imagine you have configured all the providers. But, for a given username, you only want to launch one of the providers. Rather than modifying the config each time this happens, you can select which provider to launch with tags.

$ comiks -p github,bitbucket b0oml
$ comiks -p gitlab b0oml

Providers

Below is listed all providers currently implemented.

Name Url Authentication Enabled by default Tags
GitHub github.com Not needed, but allows to get a higher API rate limit yes github
GitLab gitlab.com Needed no gitlab
Bitbucket bitbucket.org Needed no bitbucket

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

comiks-1.0.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comiks-1.0.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file comiks-1.0.0.tar.gz.

File metadata

  • Download URL: comiks-1.0.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-1031-azure

File hashes

Hashes for comiks-1.0.0.tar.gz
Algorithm Hash digest
SHA256 50738db2850af265a238d5cddc87fc35370fbc767db6df1bfba958a44140628c
MD5 a1b7d506a437982f0ab283090e0e06bf
BLAKE2b-256 5a54581e100e1cf898c07aec5feebcf9215dff406263804fae634cdcc7a23c39

See more details on using hashes here.

File details

Details for the file comiks-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: comiks-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-1031-azure

File hashes

Hashes for comiks-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f02d679fe5a0d326e7a69a9db51997c31d873c3ff5acefa4ee1ad4c8502c7387
MD5 b30880338c9bcf7c9ef9d331aa0d44e1
BLAKE2b-256 114b35805fd8d107d7c784ac7c6887737132d408fb01104a3a5614f38b06455d

See more details on using hashes here.

Supported by

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