Skip to main content

pyimporters_json

license version PyPI - Python Version

Sherpa importer (json) that loads lexicon terms from a JSON file in Sherpa format, or from a .zip archive of such files.

[
  {"identifier": "afporganization:1803", "preferredForm": "Nokia", "properties": {"altForms": ["Nokia Corporation"]}}
]
  • identifier is mandatory; preferredForm, lexicon and properties (including altForms) are optional.
  • A single object instead of a list is imported as a one-term list.
  • A term without identifier is skipped with a warning; the other terms are imported.
  • An unknown key at term level is ignored with a warning.

User help pages, with examples recorded by the tests: French, English.

Requirements

  • Python 3.12+
  • Pydantic v2 for the data parts.

Installation

pip install pyimporters-json

Development

task py:sync py:lint py:test   # lint and tests
task py:help                   # regenerate the help pages after 'py:test'
task py:help-check             # fail if the help pages do not match the code

SBOM & vulnerability check

Install the SBOM dependencies:

uv sync --extra sbom

Generate a CycloneDX SBOM from the current environment:

uv run cyclonedx-py environment -o sbom.cdx.json --output-format json

Audit dependencies for known vulnerabilities:

uv run pip-audit --format json --output audit-report.json

To fail on any known vulnerability (useful in CI):

uv run pip-audit --strict

Metadata

Release files for pyimporters-json 1.6.212

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

Source distribution (sdist)

Source distribution for pyimporters-json 1.6.212
File Size Uploaded Provenance Actions
pyimporters_json-1.6.212.tar.gz 70.5 kB Without provenance Details for pyimporters_json-1.6.212.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyimporters-json 1.6.212
File Interpreter ABI Platform Actions
pyimporters_json-1.6.212-py3-none-any.whl Python 3 none any Details for pyimporters_json-1.6.212-py3-none-any.whl

Total release size: 74.8 kB

Release files / pyimporters_json-1.6.212.tar.gz

Download URL pyimporters_json-1.6.212.tar.gz
Size 70.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e6467c872367f8803b34de620883f41f6fc83b21c5e93221fe11b97524df4608
BLAKE2b-256 checksum
How to use checksums
b95458377f81a9a59a98038dd8fd0930d46f1de8c5cac911c09e5d9ed03acc94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pyimporters_json-1.6.212-py3-none-any.whl

Download URL pyimporters_json-1.6.212-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1053f5c4bd9e2372539c8a7081231dae6f52c25f2a0fa0917258c84cd63fc075
BLAKE2b-256 checksum
How to use checksums
450b1bf9ce1feb13d9c0f300cc6cd133368e086f5585c9d36d7f6c33b17489b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pyimporters-json 1.6.212

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.

Release history Release notifications | RSS feed

This release

1.6.212 This release

2 release files No provenance

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