Skip to content

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dati Semantic APIs

This repository provides documents, tools and PoC for the management of semantic assets in the context of the National Data Catalog for Semantic Interoperability.

This project is related to:

Table of contents

The repository currently contains:

  • a Python CLI for generating and validating vocabulary artifacts;
  • an ASGI API for serving vocabulary catalogs, entries, and per-vocabulary OpenAPI specs;
  • architecture and functional documentation in docs.

The core functional documentation is in Italian:

Usage

The core documentation for this project is in :flag-it: Italian. You can find it in the docs folder.

Quick start

The project requires Python 3.12 or newer.

Build CLI:

tox -e build
dist/schema_gov_it_tools.bin --help

Run the root test suite:

tox --

Run the API test suite:

tox -e api

Run the containerized test environment:

docker compose up test

API

The API implementation lives in apiv1. It runs as an ASGI application on uvicorn.

Start the local API container:

docker compose up api-data --build

Start the local TLS reverse proxy used in tests:

docker compose up api-data-tls

Then open https://localhost/ui/.

Contributing

Please, see CONTRIBUTING.md for more details on:

Repository layout is the following:

docs/         Project documentation and ADRs
assets/       Shared controlled vocabulary assets
tools/        CLI implementation
tests/        CLI and library tests
apiv1/        API implementation and API tests
scripts/      Helper scripts

Contributing

See CONTRIBUTING.md for:

  • pre-commit setup;
  • branch and pull request workflow;
  • CI expectations.

You can also test GitHub Actions locally with act:

# Run a specific job in the pipeline
act -j test

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages