Skip to main content
Pre-release

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

Infrahub Logo

Infrahub by OpsMill

Infrahub by OpsMill is taking a new approach to Infrastructure Management by providing a new generation of datastore to organize and control all the data that defines how an infrastructure should run.

At its heart, Infrahub is built on 3 fundamental pillars:

  • Powerful Schema: that's easily extensible
  • Unified Version Control: for data and files
  • Data Synchronization: with traceability and ownership

Infrahub SDK

The Infrahub Python SDK greatly simplifies how you can interact with Infrahub programmatically.

More information can be found in the Infrahub Python SDK Documentation.

Installation

The Infrahub SDK can be installed using the pip package installer. It is recommended to install the SDK into a virtual environment.

python3 -m venv .venv
source .venv/bin/activate
pip install infrahub-sdk

Installing optional extras

Extras can be installed as part of the Python SDK and are not installed by default.

ctl

The ctl extra provides the infrahubctl command, which allows you to interact with an Infrahub instance.

pip install 'infrahub-sdk[ctl]'

testing

The testing extra provides the components for the testing framework of Transforms, Queries and Checks.

pip install 'infrahub-sdk[testing]'

testcontainers

The testcontainers extra provides infrahub_sdk.testing.docker, which starts a real Infrahub in containers so tests can run against a live instance.

pip install 'infrahub-sdk[testcontainers]'

all

Installs infrahub-sdk together with all the extras.

pip install 'infrahub-sdk[all]'

Development setup with UV

If you're developing the SDK and using UV for dependency management, you can install specific dependency groups:

# Install development dependencies
uv sync --all-groups --all-extras

# Install specific groups
uv sync --group tests               # Testing dependencies only
uv sync --group lint                # Linting dependencies only
uv sync --group ctl                 # CLI dependencies only
uv sync --all-groups --all-extras   # All optional dependencies

Metadata

Release files for infrahub-sdk 1.24.0b0

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

Source distribution (sdist)

Source distribution for infrahub-sdk 1.24.0b0
File Size Uploaded Provenance Actions
infrahub_sdk-1.24.0b0.tar.gz 1.8 MB Without provenance Details for infrahub_sdk-1.24.0b0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for infrahub-sdk 1.24.0b0
File Interpreter ABI Platform Actions
infrahub_sdk-1.24.0b0-py3-none-any.whl Python 3 none any Details for infrahub_sdk-1.24.0b0-py3-none-any.whl

Total release size: 2.2 MB

Release files / infrahub_sdk-1.24.0b0.tar.gz

Download URL infrahub_sdk-1.24.0b0.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
e974416d3fc956c35641d78d0470a4a3f12bb9cc3baeeadddbfbcba561972c81
BLAKE2b-256 checksum
How to use checksums
cf66f66bfcc48737d9adcb670b6345a65842167eb6f062771d4c85ec0900c386
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release files / infrahub_sdk-1.24.0b0-py3-none-any.whl

Download URL infrahub_sdk-1.24.0b0-py3-none-any.whl
Size 360.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e47534e4f9d571c6d367c46c487ff37f80d12f92621a731e08e8c7f76f254784
BLAKE2b-256 checksum
How to use checksums
78284624badf0d481c5f1115cef18fe00ae6bc558ba743c5b3f763d24d3bae81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Security for infrahub-sdk 1.24.0b0

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