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.0rc2

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.0rc2
File Size Uploaded Provenance Actions
tracdap_ext_pypi-0.11.0rc2.tar.gz 13.1 kB With provenance Details for tracdap_ext_pypi-0.11.0rc2.tar.gz

Built distribution (wheel)

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

Total release size: 25.4 kB

Release files / tracdap_ext_pypi-0.11.0rc2.tar.gz

Download URL tracdap_ext_pypi-0.11.0rc2.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6a131cf3f6ac57a22de8aa3e70299d20c0fe9c6987cb93c2780063702281afaa
BLAKE2b-256 checksum
How to use checksums
ce79999357bc03b2960bdf6901c09f8ed6043319e0f275c7e008f9164389e181
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 Oct 18, 2026.

Transparency log

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

Download URL tracdap_ext_pypi-0.11.0rc2-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fc0079d0f169261c62fced49ed6a31077892b0937b236e0df6796c9748fc6f9
BLAKE2b-256 checksum
How to use checksums
9e5411f2813743d770daf715a25d62724b7ba0164426d691d3747262ae6deb80
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 Oct 18, 2026.

Transparency log

Security for tracdap-ext-pypi 0.11.0rc2

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tracdap_ext_pypi-0.11.0rc2.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 18, 2026.

Transparency log

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.

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