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

Uploaded Python 3

File details

Details for the file grimoirelab_chronicler-0.1.0.tar.gz.

File metadata

  • Download URL: grimoirelab_chronicler-0.1.0.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-0.1.0.tar.gz
Algorithm Hash digest
SHA256 026bb4d4b459caaac7429fe5e0bd6bea9cac1a781fa813eabafc5ae5b1bf7be1
MD5 45b6530cb38f0cdbde99628387a1c1f6
BLAKE2b-256 f50352075da2ee7dc01859f77369aab80e5d9cf4f53154f40cb3d3d077415045

See more details on using hashes here.

File details

Details for the file grimoirelab_chronicler-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for grimoirelab_chronicler-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 baf222c2487f03e981b09815ea97f3fb71b84c608d28a317b476ba07c4e7b051
MD5 dd1ce1c8a5c1013996a75e1af6a9a169
BLAKE2b-256 6be87f32486f62af53c0a02f49d4b0fb81a97f306cf2ffd131166c34a8a7dc44

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