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.0a3.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.0a3-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grimoirelab_chronicler-1.0.0a3.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.0a3.tar.gz
Algorithm Hash digest
SHA256 81580b2f95cd698af2fede94ff2ba865ef4405cd723399450cecb5daa23ad6f2
MD5 f1f165280eebc5c719c54235236e4003
BLAKE2b-256 07dcaf3ac1a5afa304ec9a2028e6097eff897867dade6f42f7ca1d98502841bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grimoirelab_chronicler-1.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 c11b84bf488b79e4fa8cfc13681c2f6d3825c62fc9ba141b57753b7aee95dd61
MD5 cfb509bb6fd2898aec22701c46a74a11
BLAKE2b-256 54a10fef35e3686fdf3a8ad57c59dc84c3bf7c1d19e036cb9859f0064994ac38

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