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.208

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.208
File Size Uploaded Provenance Actions
pyimporters_json-1.6.208.tar.gz 70.4 kB Without provenance Details for pyimporters_json-1.6.208.tar.gz

Built distribution (wheel)

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

Total release size: 74.7 kB

Release files / pyimporters_json-1.6.208.tar.gz

Download URL pyimporters_json-1.6.208.tar.gz
Size 70.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1b1e344c823107ce6cadcc803259614707a35dbfb7ffb552dcefb9885c0d6456
BLAKE2b-256 checksum
How to use checksums
e8293bfc19c6652f2e37cde20988802a8bb81468111462c6c62f618a799255dc
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.208-py3-none-any.whl

Download URL pyimporters_json-1.6.208-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92b80be6ebad0f795ea6692b9b92536be9b0bc8706d785ab16d56bf20b0b5d8a
BLAKE2b-256 checksum
How to use checksums
e32b7f3d88c54edae7474e574de062aafc339a279b2a0d03f4fe060bda9f0dad
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.208

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.208 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