urban-json-files
Plugin urban-json : fichiers JSON et chemins
dans les templates (port des fonctions .NET loadjson, IterateJsonFile, concatpath).
pip install urban-json-files
| Fonction | Rôle |
|---|---|
loadjson(chemin) |
Contenu d'un fichier JSON (null si le fichier n'existe pas). |
iteratejsonfile(chemin, "$.chemin") |
Éléments d'un fichier JSON sélectionnés par un JSONPath (compilé ou en chaîne). |
concatpath(["dossier", "fichier.json"]) |
Chemin de fichier assemblé (null ignorés ; un segment absolu repart de la racine). |
from urban_json import JsltTemplate
tpl = JsltTemplate.parse('{ "ids": iteratejsonfile("data.json", "$.items[*].id") }')
tpl.transform({})
Les chemins relatifs le sont au répertoire courant. Ces fonctions lisent le disque : elles ne sont pas disponibles dans le playground (bac à sable du cœur).
Metadata
Release files for urban-json-files 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| urban_json_files-0.1.0.tar.gz | 5.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| urban_json_files-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / urban_json_files-0.1.0.tar.gz
| Download URL | urban_json_files-0.1.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b7bc848c35b1dc0ed062d5f688f035e39d7c18d662a5f0e654bcd8db98f5d32
|
|
BLAKE2b-256 checksum How to use checksums |
6181bcb448945c9c0ceadd334b6fb224f74a9f158537f5f1b91c06a13c6fd431
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logRelease files / urban_json_files-0.1.0-py3-none-any.whl
| Download URL | urban_json_files-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
011c18a221e84a92385d65b6a4c961f2b0158bfbca01251388032703c9b686b6
|
|
BLAKE2b-256 checksum How to use checksums |
eae9503f63b008501e29c5355cb5a480ed03f0d5c2ab7f5582199a34f50a6019
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logSecurity for urban-json-files 0.1.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for urban_json_files-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logA 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.