Getting Started

Installation

To use tulit, first install it using poetry:

$ poetry shell
$ poetry install

This will install the package and its dependencies.

Alternatively, you can install the package using pip:

$ pip install tulit

Basic usage

The tulit package has two main components:

  • Client: Query and retrieve data from legal sources across Europe:

    • EU: Cellar (EU Publications Office)

    • Member States: Finland, France, Germany, Ireland, Italy, Luxembourg, Malta, Portugal, Spain

    • Regional: Italian regions (Veneto)

  • Parser: Convert legal documents from various formats to JSON:

    • XML: Akoma Ntoso, FORMEX 4, BOE XML

    • HTML: Cellar variants, Regional parsers

    • JSON: Legifrance