Skip to main content

Integration with schema.data.gouv.fr

Project description

# udata-schema-gouvfr

This udata plugin provides an integration with [schema.data.gouv.fr](https://schema.data.gouv.fr)

## Features

  • Adds a schema button to resources with a schema

  • Displays a modal when clicking this button providing links to documentation and validation

## Usage

Install the plugin package in your udata environment:

`bash pip install udata-schema-gouvfr `

Then activate it in your udata.cfg:

`python PLUGINS = ['schema-gouvfr'] `

## Configuration

You can control this plugin behavior with the following udata.cfg parameters:

  • `SCHEMA_GOUVFR_VALIDATA_URL`: the URL to your [Validata](https://validata.fr/) instance (without trailing slash). ex: https://validata.etalab.studio

  • `SCHEMA_GOUVFR_IRVE_STABLE_RESOURCE_URL`: the permalink to the consolidated [IRVE dataset](irve-dataset)’s latest resource. ex: https://www.data.gouv.fr/fr/datasets/r/50625621-18bd-43cb-8fde-6b8c24bdabb3

## Jobs

This plugin declares jobs.

  • `udata job run set-irve-schemas`: sets the schema attribute of resources that are consolidated as part of [the national IRVE dataset](irve-dataset)

[irve-dataset]: https://www.data.gouv.fr/fr/datasets/fichier-consolide-des-bornes-de-recharge-pour-vehicules-electriques/

# Changelog

## 1.3.1 (2021-05-25)

## 1.3.0 (2021-05-25)

  • Nothing yet

## 1.2.0 (2020-10-16)

## 1.1.0 (2020-08-25)

## 1.0.0 (2020-08-05)

Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

udata_schema_gouvfr-1.3.1-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file udata_schema_gouvfr-1.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: udata_schema_gouvfr-1.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.6

File hashes

Hashes for udata_schema_gouvfr-1.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 be10af3c0a2c67adf3119e9f1b10150da3feeb1c7ca48a4665879ac6af00b901
MD5 f2d9d8ace0520000813d21fd3f11f70d
BLAKE2b-256 76ee8c45f8ede81cc754758535bf7931e1b723fd5bd1bfbaee236b15014f875f

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page