udata-recommendations
This plugin acts as a bridge between uData and a recommendation system.
In our case (data.gouv.fr), it’s a set of scripts living here https://github.com/etalab/datasets_reco.
Compatibility
udata-recommendations requires Python 2.7+ and uData.
Installation
Install uData.
Remain in the same virtual environment (for Python) and use the same version of npm (for JS).
Install udata-recommendations:
pip install udata-recommendations
Modify your local configuration file of udata (typically, udata.cfg) as following:
PLUGINS = ['recommendations']
RECOMMENDATIONS_DATASETS_SOURCE_URL = 'http://path/to/recommendations.json'
Then run the command to fetch recommendations:
udata recommendations datasets
Expectations
This plugin expects the following format to provide datasets recommendations:
{
"id": "dataset-id",
"recommendations": [
{
"id": "dataset-recommended-1"
},
{
"id": "dataset-recommended-2"
}
]
}
Changelog
1.0.1 (2018-08-03)
Nothing yet
1.0.0 (2018-06-06)
Allow slug instead of id for datasets #8
Initial release
Metadata
Release files for udata-recommendations 1.0.1
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_recommendations-1.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for udata_recommendations-1.0.1-py2.py3-none-any.whl |
Release files / udata_recommendations-1.0.1-py2.py3-none-any.whl
| Download URL | udata_recommendations-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dd174077a2407b4b6015a35e6398580b45f9dadc711ad3816d0b4214b26b8c12
|
|
BLAKE2b-256 checksum How to use checksums |
89386611bdc2d0943b06a6a16f495619595eb2d6db8a1bb069f924eb56adc286
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13
|
Security for udata-recommendations 1.0.1
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.