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

Uploaded Python 3

File details

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

File metadata

  • Download URL: grimoirelab_chronicler-1.0.0a2.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.0a2.tar.gz
Algorithm Hash digest
SHA256 600da8487a5397fdfcd6977337387987cab092b817bbd76ff6d87d59cd3d4a8d
MD5 c5920098710712a082576df607cd5966
BLAKE2b-256 68932c1aba4e40930cdc20778ff0b20ad0e40687ae59d88b3b212e184ecc6aea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grimoirelab_chronicler-1.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e93d8ed155868840507156e184cdf0d2baf9c89ca0faa472b3ca33401b3eedb
MD5 dcf14ba0218b603ff06495f5c36493d4
BLAKE2b-256 252860b1e35a620d8f352511c6d8b2f8daf92311fea87924acf895fbf9370ec1

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