Skip to main content

About

mr.cabot is a tool for allowing software projects to map where their contributions are coming from. It reads data form common sources like GitHub, gmane and stackoverflow and attempts to locate where those contributors are physically located.

Basic usage

You need to customise your mr.cabot.cfg config file to match your software project. The basic format is that the sources line lists the sections that supply lists of contributors and users lists the sections that supply lists of contributors.

Only the GitHub sources support user enumeration at the moment, but stackoverflow and gmane both extract geolocation information where possible.

Example

The current example from the Plone project generates the following:

http://dist.plone.org/media/contributormaps/latest.png

Source types

github

type

github

key

the name of the organisation to be scanned

token

an oauth token, preferably one with the repo scope. See https://help.github.com/articles/creating-an-oauth-token-for-command-line-use

checkout_directory

an existing directory to cache checkouts in to save on bandwidth

git

type

git

key

a clone url of a git repository

stackoverflow

type

stackoverflow

key

a tag used on stack overflow

days

the number of days of history to download

gmane

type

gmane

key

the full gmane newsgroup name

messages

downloads the last x messages

Output types

Output type defaults to a google static map, but can be selected using –output type on the command line.

The available options are:

  • googlestaticmap

  • html

  • kml

Caching

No caching of geolocation data is included as yet, but data runs are cached under var/data, with the filename yyyy-mm-dd.pickle. This allows you to re-run old data sets if you are changing display methods.

To load a pickle instead of re-scanning use the –pickle command line option:

./bin/cabot --pickle ./var/data/2013-01-05.pickle --output kml

Additionally, there is a command line option to skip pulling git repositories. This is useful for re-running when you are tweaking the config file initially, as updating git is the slowest section:

./bin/cabot -N --output kml

Release files for mr.cabot 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mr.cabot 1.0
File Size Uploaded
mr.cabot-1.0.zip 41.0 kB Details

Release files / mr.cabot-1.0.zip

Download URL mr.cabot-1.0.zip
Size 41.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f8cef9c0fda8fea2ebbd90754f47e3ea0f81c1626313ad8384dc59d051f2cd4a
BLAKE2b-256 checksum
How to use checksums
a67b05ef2c732970804edadb9f48cd4056617c5fae08c1e82421a4262386fb91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page