Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyPI Extension for the TRAC Model Runtime

This extension allows the tracdap-runtime to load models dynamically from PyPI repositories, or a compatible proxy such as Nexus or Artifactory.

  • Support for JSON, Simple JSON and Simple HTML query formats
  • Support for private repositories using tokens
  • Handles corporate firewalls, proxies and SSL

Installing

The HTTP extension can be installed with pip:

$ pip install tracdap-ext-pypi

The package has the following dependencies:

  • tracdap-runtime (version 0.10.0-beta2 or later)
  • urllib3 (optional, version 2.x)

Using the Git model repository

With the PyPI extension installed, you can add PyPI repositories as resources in sys_config.yaml like this:

resources:
  
  my_json_repository:
    resourceType: MODEL_REPOSITORY
    protocol: pypi
    properties:
      pipIndex: https://artifactory.mycompany.com/artifactory/api/pypi

  my_simple_repository:
    resourceType: MODEL_REPOSITORY
    protocol: pypi
    properties:
      pipIndexUrl: https://nexus.mycompany.com/repository/pypi/simple
      pipSimpleFormat: html

The examples show the use of both the JSON and Simple query formats. The particular query formats available and the paths for the index and index-url properties will depend on how your package server is configured. This information is often published along with other internal developer documentation to help set up a development environment (Look for the "index" or "index-url" settings when setting up other Python tools). Sometimes is is also visible in the web interface of the package server. If you can't find the settings you will need to contact your dev-ops team.

For the simple query format (i.e. an index configured with the "index-url" setting), there are two possible response formats: pipSimpleFormat: html or pipSimpleFormat: json. Use this setting to see what is available on your package server. For the JSON query format (i.e. an index configured with the "index" setting) there is only one response format available so this is not configurable.

To supply credentials, use either the username and password properties, or the token property. In production deployments these properties should be supplied using the TRAC secrets mechanism.

This extension assumes that packages on the package server are available as Python wheels.

Metadata

Release files for tracdap-ext-pypi 0.11.0b3

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

Source distribution (sdist)

Source distribution for tracdap-ext-pypi 0.11.0b3
File Size Uploaded
tracdap_ext_pypi-0.11.0b3.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tracdap-ext-pypi 0.11.0b3
File Interpreter ABI Platform
tracdap_ext_pypi-0.11.0b3-py3-none-any.whl Python 3 none any Details

Total release size: 25.4 kB

Release files / tracdap_ext_pypi-0.11.0b3.tar.gz

Download URL tracdap_ext_pypi-0.11.0b3.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ba0fbe1c25f57a484032c3111ff595d94acdb0c074428c9f25f28819e84eb0c1
BLAKE2b-256 checksum
How to use checksums
51fb80d8f016dc90b69ba43e14f698fa8efc0bd8b32db136731005db6411857f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

Release files / tracdap_ext_pypi-0.11.0b3-py3-none-any.whl

Download URL tracdap_ext_pypi-0.11.0b3-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc6646682cbab4ce5cd91a21c63ee9eb9dab9fee5522cab6e3b17c764bdb9b45
BLAKE2b-256 checksum
How to use checksums
8b83090d31cfeba0d5a0ab5bb5271d3f73fd8d323d090f6eabc5ce794b9e9de2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log
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