Skip to main content
Fair3R logo

ckanext-fair3r

CKAN License PyPI

This extension is made to cuztomize fair3r.fr ckan theme and add features

Deployment

For a ready-to-run FAIR3R stack with this extension already wired up, see fair3r-docker-dev.

The instructions below are for adding ckanext-fair3r to your own existing CKAN 2.12 instance.

Installation

To install ckanext-fair3r:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate

  2. Install via pip:

    pip install ckanext-fair3r pip install -r requirements.txt

    Or, to install from source:

    git clone cd ckanext-fair3r pip install -e . pip install -r requirements.txt

  3. Add fair3r to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload

Config settings

exemple: 

# The app context (could be DEV, INTEGRATION, VALIDATION, or PRODUCTION)
ckanext.fair3r.context = DEV

# Optional. Directory containing fdf_schema.json and i18n/*.json.
# In DEV Docker this is set automatically from FDF_SCHEMA_LOCAL_PATH
# (mounted local clone of https://github.com/Phen-ICS/fair3r-fdf-schema).
# Leave unset on validation / integration / production (cron downloads GitHub).
# ckanext.fair3r.fdf_schema_dir = /fdf-schema

Developer installation

To install ckanext-fair3r for development, activate your CKAN virtualenv and do:

git clone <url-of-this-repository>
cd ckanext-fair3r
python setup.py develop
pip install -r dev-requirements.txt

Fix code formating

ruff format . ruff check . --fix

Tests

docker exec -u ckan -it ckan-app pytest --ckan-ini=/plugins/ckanext-fair3r/test.ini /plugins/ckanext-fair3r/ckanext/fair3r/tests

Metadata

Release files for ckanext-fair3r 3.1.50

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ckanext-fair3r 3.1.50
File Size Uploaded Provenance
ckanext_fair3r-3.1.50.tar.gz 528.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ckanext-fair3r 3.1.50
File Interpreter ABI Platform
ckanext_fair3r-3.1.50-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / ckanext_fair3r-3.1.50.tar.gz

Download URL ckanext_fair3r-3.1.50.tar.gz
Size 528.9 kB
Tags Source
SHA-256 checksum
How to use checksums
90b782aad07b256e35729580d57f32e3a9d1aeb8ba9322677114ca44f7c0e901
BLAKE2b-256 checksum
How to use checksums
cffcdc62be5edccdcf6d4a0fc4f0861a8c7ae780297e2115ed81375709258deb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Release files / ckanext_fair3r-3.1.50-py3-none-any.whl

Download URL ckanext_fair3r-3.1.50-py3-none-any.whl
Size 574.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd55af82cd920c0f7d02820e9a98e4f3cfe5cb6af43f861a665a4d5b93e7b4d4
BLAKE2b-256 checksum
How to use checksums
1f60368cadf02107deea7edada5ad4caf39e24c392d4c871ff82a6acb48cf33f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Security for ckanext-fair3r 3.1.50

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page