Skip to main content

Work report generator for the lazy

Project description

https://travis-ci.org/saschpe/rapport.png?branch=master https://pypip.in/d/rapport/badge.png https://pypip.in/v/rapport/badge.png

Writing work reports is tedious. Some people have custom hacks. This is meant to be the last one. It’s Apache-2.0 licensed and written in Python, not VimScript, not Bash, not Ruby, not C, …, you probably got it ;-)

Features

  • Asynchronously collects data from various resources:

    • Bugzilla

    • Gerrit

    • Github

    • Launchpad

    • MediaWiki

    • OpenBuildService

    • Trello

    • Twitter

  • Supports plugins for extendability

  • Simple ini-style config file

  • (Almost) comprehensive unit and functional testsuite

  • Supports creating work reports for arbitrary timeframes and provides some convenient ones:

    • Current week / month

    • Recent days

    • Week / month of of year

    • Generic

Installation

To install rapport from the Python Package Index, simply:

$ pip install rapport

Or, if you absolutely must:

$ easy_install rapport

But, you really shouldn’t do that. Lastly, you can check your distro of choice if they provide packages. For openSUSE, you can find packages in the Open Build Service for all releases. If you happen to use openSUSE:Factory (the rolling release / development version), simply:

$ sudo zypper install rapport

Usage

Rapport allows to query various upstream resources for modifications you made. So before creating your first work report, you should check rapport’s config file and add your credentials to the resources you are interested in.

By default, rapport creates a work report for the current weak, so from Monday until now (And yes, i18n and i10n are on the TODO list). You can also set the timeframe to consider explicitly. For instance, you could generate a work report for the last 10 days:

$ rapport create --recent-days 10

Check the help of the create command for other options:

$ rapport create --help

You can show a list of all previous work reports:

$ rapport list

And display details for a specific work report:

$ rapport show 2013-05-21T09:27:43

Or display the latest work report by:

$ rapport show

If you need further assistance, check rapport’s help:

$ rapport help

Hacking and contributing

You can test rapport from your git checkout by executing the rapport.cli module:

$ python -m rapport.cli

Alternatively, you can invoke the convenience script wrapper:

$ ./scripts/rapport

Fork the repository on Github to start making your changes to the master branch (or branch off of it). Don’t forget to write a test for fixed issues or implemented features whenever appropriate. You can invoke the testsuite from the repository root directory via:

$ python setup.py test

Or by running nose directly:

$ nosetests

Both assume you have the test dependencies installed (available on PYTHONPATH) on your system. If that doesn’t work for you, you can create a virtual environment instead:

$ virtualenv .venv
$ source .venv/bin/activate
(.venv)$ pip install -r test-requirements.txt
(.venv)$ nosetests

Lastly, if using virtualenv is too tedious or you want to test different configurations (py26, py27, py33, pep8), you can also use tox:

$ tox

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

rapport-0.1.4.tar.gz (27.2 kB view details)

Uploaded Source

Built Distributions

rapport-0.1.4.linux-x86_64.tar.gz (35.9 kB view details)

Uploaded Source

rapport-0.1.4-py2.py3-none-any.whl (35.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rapport-0.1.4.tar.gz.

File metadata

  • Download URL: rapport-0.1.4.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rapport-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ca2c087f8cbe15752b0e816a55c2648c81794b4086524e81dcc0bca61a925e1b
MD5 a199311f0d9bdb11c60d19d146679ec0
BLAKE2b-256 4d6a42219def4b553887e729685b3fa7940347bef55e40ead93352b82290ce28

See more details on using hashes here.

File details

Details for the file rapport-0.1.4.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for rapport-0.1.4.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 9c4697f2045f27392791a683d243316da04b1713437397e8a1137023ad4876f2
MD5 bd9b8c59622469dff0d403715cbe2adc
BLAKE2b-256 281a2eb9f185d485c86bc7ce62d338105f9d3adf737a994f6b8036ccdc7595ec

See more details on using hashes here.

File details

Details for the file rapport-0.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rapport-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d2e70bfcd7d8e321e468f53198a1e820662e5b199ceab7d486ce1b0c45afb261
MD5 ce6a5c62605bc55886d765e61bb118ed
BLAKE2b-256 1b41129f1e009328498f1b284b4b2d245330813bcde25685a42f55da93abee8e

See more details on using hashes here.

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