All Projects → gruns → Gitauthors

gruns / Gitauthors

Licence: mit
✍️ Get a quick summary of a repo's authors.

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Gitauthors

Lucid
A simple mock-application for programs that work with child processes
Stars: ✭ 45 (-10%)
Mutual labels:  command-line, tool
Composer Git Hooks
Easily manage git hooks in your composer config
Stars: ✭ 838 (+1576%)
Mutual labels:  command-line-tool, command-line
Mprislyrics
Small command-line utility that displays lyrics in sync with the currently playing song in a MPRIS2 capable player.
Stars: ✭ 24 (-52%)
Mutual labels:  command-line, tool
Hexyl
A command-line hex viewer
Stars: ✭ 6,349 (+12598%)
Mutual labels:  command-line, tool
Pm2
Node.js Production Process Manager with a built-in Load Balancer.
Stars: ✭ 36,126 (+72152%)
Mutual labels:  command-line-tool, command-line
Stronghold
Easily configure macOS security settings from the terminal.
Stars: ✭ 813 (+1526%)
Mutual labels:  command-line-tool, command-line
Trek
Trek is a CLI/ncurses explorer for HashiCorp Nomad clusters.
Stars: ✭ 26 (-48%)
Mutual labels:  command-line-tool, command-line
Diskus
A minimal, fast alternative to 'du -sh'
Stars: ✭ 674 (+1248%)
Mutual labels:  command-line, tool
Text Minimap
Generate text minimap/preview using Braille Patterns
Stars: ✭ 21 (-58%)
Mutual labels:  command-line-tool, command-line
Ecsctl
Command-line tool for managing AWS Elastic Container Service and Projects to run on it.
Stars: ✭ 15 (-70%)
Mutual labels:  command-line-tool, command-line
Terjira
Terjira is a very interactive and easy to use CLI tool for Jira.
Stars: ✭ 713 (+1326%)
Mutual labels:  command-line-tool, command-line
Google Images Download
Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!
Stars: ✭ 7,815 (+15530%)
Mutual labels:  command-line-tool, command-line
Bat
A cat(1) clone with wings.
Stars: ✭ 30,833 (+61566%)
Mutual labels:  command-line, tool
Przm
🎨 A simple, yet feature rich color picker and manipulator
Stars: ✭ 17 (-66%)
Mutual labels:  command-line-tool, command-line
Ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Stars: ✭ 28,564 (+57028%)
Mutual labels:  command-line-tool, command-line
Laminas Cli
Console command runner, exposing commands written in Laminas MVC and Mezzio components and applications
Stars: ✭ 25 (-50%)
Mutual labels:  command-line-tool, command-line
Papis
Powerful and highly extensible command-line based document and bibliography manager.
Stars: ✭ 636 (+1172%)
Mutual labels:  command-line-tool, command-line
Shyaml
YAML for command line
Stars: ✭ 642 (+1184%)
Mutual labels:  command-line, tool
Rcli
Rapidly create full-featured command line interfaces with help, subcommand dispatch, and validation.
Stars: ✭ 9 (-82%)
Mutual labels:  command-line-tool, command-line
Catchart
Pipe something from command line to a chart in the browser
Stars: ✭ 27 (-46%)
Mutual labels:  command-line-tool, tool
GitAuthors

GitAuthors

GitAuthors is simple tool that prints a quick summary of a repository's authors, as collated by commits. Summary output includes each author's name, email, number of commits, and date of last commit.

Once installed, GitAuthors is available via the gitauthors command.

Usage

To use, provide gitauthors the URL of a respository and let it go to work. gitauthors will, in turn:

  1. Check out the repository into a temporary directory.
  2. Parse the repository's log history.
  3. Collate a list of the repository's authors and their commits.
  4. Output a nicely formatted summary of the repository's authors and their commits.
  5. Clean up after itself and delete the temporary directory.

Example:

$ gitauthors https://github.com/gruns/gitauthors
Ansgar Grunseid  [email protected]              16 commits, latest on Aug 06, 2018
Ansgar Grunseid  [email protected]   1  commit, latest on Jul 17, 2018

That's it. Simple.

Of course gitauthors can also be imported and used programmatically, too.

>>> from gitauthors import collateGitAuthors, formatGitAuthors
>>>
>>> authors = collateGitAuthors('https://github.com/gruns/gitauthors')
>>> authors[0]
('[email protected]', 'grun', 46, time.struct_time(tm_year=2018, tm_mon=7, tm_mday=18, tm_hour=7, tm_min=8, tm_sec=14, tm_wday=2, tm_yday=199, tm_isdst=0))
>>>
>>> formatted = formatGitAuthors(authors)
>>> print(formatted)
grun             grunseid@gmail.com              46 commits, latest on Jul 18, 2018
Ansgar Grunseid  gruns@users.noreply.github.com   1  commit, latest on Jul 18, 2018

Installation

Installing GitAuthors with pip is easy.

$ pip install gitauthors
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].