# 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.2 (2021-05-28)
Fix links in modal (Validata and data.gouv facet)
Fix to function which detect if resource has schema or not
## 1.3.1 (2021-05-25)
Add venv’s activation in circle’s configuration file for publish step [#8](https://github.com/etalab/udata-schema-gouvfr/pull/8)
## 1.3.0 (2021-05-25)
Add version schema if exists in modal [#7](https://github.com/etalab/udata-schema-gouvfr/pull/7)
## 1.2.0 (2020-10-16)
Link to datasets with the same schema from the schema modal [#4](https://github.com/etalab/udata-schema-gouvfr/pull/4)
## 1.1.0 (2020-08-25)
Add a job to set the schema attribute to the IRVE schema on multiple resources [#3](https://github.com/etalab/udata-schema-gouvfr/pull/3)
## 1.0.0 (2020-08-05)
Initial release
Metadata
Release files for udata-schema-gouvfr 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| udata_schema_gouvfr-1.3.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for udata_schema_gouvfr-1.3.2-py2.py3-none-any.whl |
Release files / udata_schema_gouvfr-1.3.2-py2.py3-none-any.whl
| Download URL | udata_schema_gouvfr-1.3.2-py2.py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6150b3154d218ddd88db2f0eee0990e1c61c2f0c4e87ee6fe0dcaf9edf3d472b
|
|
BLAKE2b-256 checksum How to use checksums |
9dfcda332c0e740b219c7608c358401e786bac20594052c7afb12865effc0b6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.6
|
Security for udata-schema-gouvfr 1.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.