Skip to main content

Generator of GrimoireLab events using Perceval data.

Project description

Chronicler

Tool and library to convert Perceval data into events.

Usage

$ chronicler --help
Usage: chronicler [OPTIONS] DATASOURCE

Generates GrimoireLab events from the items obtained by Perceval.

The chronicler is a command line tool and a library that converts items
generated by Perceval into events. The tool reads these events from the
standard input or from a given file.

To run it, you will have to give the type of items the chronicler is
receiving with DATASOURCE argument (e.g. git, github, gitlab).

Output is produced using JSON format. Use the option <json_line>
to generate JSON object per line.

Options:
  --input FILENAME   File with perceval items
  --output FILENAME  File where events will be written
  --json-line        Produce a JSON line for each output item
  --version          Show the version and exit.
  --help             Show this message and exit.

You can connect the Chronicler with Perceval to generate events.

perceval git --json-line https://example.com | chronicler git

Installation

There are several methods to install this tool.

pip

pip install grimoirelab-chronicler

poetry (source code)

We use poetry for dependency management and packaging. You can install chronicler and its dependencies on an isolated environment provided by poetry.

poetry install
poetry shell

Contributing

Chronicler is part of the GrimoireLab project. Please read its Contributing Guidelines for more information.

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

grimoirelab_chronicler-1.0.0a1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

grimoirelab_chronicler-1.0.0a1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file grimoirelab_chronicler-1.0.0a1.tar.gz.

File metadata

  • Download URL: grimoirelab_chronicler-1.0.0a1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for grimoirelab_chronicler-1.0.0a1.tar.gz
Algorithm Hash digest
SHA256 7dd01aec8b16d939ba1851a19ee91dabd97063aaca83484cef0dd0920d18a243
MD5 961727fac543af4a83dd73fb7045a2ed
BLAKE2b-256 b7b406d6ff2766c06d0181d15b9138bed43512176784296b7dca509bb105019d

See more details on using hashes here.

File details

Details for the file grimoirelab_chronicler-1.0.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for grimoirelab_chronicler-1.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 dff25e323d7b8b42bccc5ac1b39ec5eec88cc7a9cd5243cd0b7b912bc8104e08
MD5 da2f44adbd5abf235ed11f2339ccbe0c
BLAKE2b-256 f506783738c9b8152066ce7e919d2b6ca3f160765750bde458c5a8cbf1430074

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