Skip to main content

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

tests

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

pip install 'infrahub-sdk[tests]'

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

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.23.0
File Size Uploaded
infrahub_sdk-1.23.0.tar.gz 1.4 MB Details

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / infrahub_sdk-1.23.0.tar.gz

Download URL infrahub_sdk-1.23.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
f37a8e9146959bac4564990587f533d6399a728c6ce908b613d4b5c44930359e
BLAKE2b-256 checksum
How to use checksums
3322f588a03fc3bb2689da301e5e1cd40b0dcaf8df27eb687bfd6014fe9b9aad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release files / infrahub_sdk-1.23.0-py3-none-any.whl

Download URL infrahub_sdk-1.23.0-py3-none-any.whl
Size 312.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7957d7a7e4a6ed6df8e1c6b20bf7b95be3484c2e33ba55c203afb84df38c8932
BLAKE2b-256 checksum
How to use checksums
72146106c853fc25d5f84394a9595121955f6b1a9d4136384d4b6ebf125d81d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release history Release notifications | RSS feed

1.23.1

2 release files

This release

1.23.0 This release

2 release files

1.22.3

2 release files

1.22.2

2 release files

1.22.0

2 release files

1.21.0

2 release files

1.20.1

2 release files

1.20.0

2 release files

1.19.0

2 release files

1.17.0

2 release files

1.15.2

2 release files

1.15.1

2 release files

1.15.0

2 release files

1.14.0

2 release files

1.13.5

2 release files

1.13.4

2 release files

1.13.3

2 release files

1.13.2

2 release files

1.13.1

2 release files

1.13.0

2 release files

1.12.3

2 release files

1.12.1

2 release files

1.12.0

2 release files

1.11.1

2 release files

1.11.0

2 release files

1.10.2

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.1

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.14.1

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.4

2 release files

0.12.3

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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