Skip to main content

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.

Metadata

Release files for grimoirelab-chronicler 0.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 grimoirelab-chronicler 0.1.0
File Size Uploaded
grimoirelab_chronicler-0.1.0.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grimoirelab-chronicler 0.1.0
File Interpreter ABI Platform
grimoirelab_chronicler-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / grimoirelab_chronicler-0.1.0.tar.gz

Download URL grimoirelab_chronicler-0.1.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
026bb4d4b459caaac7429fe5e0bd6bea9cac1a781fa813eabafc5ae5b1bf7be1
BLAKE2b-256 checksum
How to use checksums
f50352075da2ee7dc01859f77369aab80e5d9cf4f53154f40cb3d3d077415045
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure

Release files / grimoirelab_chronicler-0.1.0-py3-none-any.whl

Download URL grimoirelab_chronicler-0.1.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
baf222c2487f03e981b09815ea97f3fb71b84c608d28a317b476ba07c4e7b051
BLAKE2b-256 checksum
How to use checksums
6be87f32486f62af53c0a02f49d4b0fb81a97f306cf2ffd131166c34a8a7dc44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure
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