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

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.1
File Size Uploaded
infrahub_sdk-1.23.1.tar.gz 1.5 MB Details

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / infrahub_sdk-1.23.1.tar.gz

Download URL infrahub_sdk-1.23.1.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
328ea5e2513622709687d1176a3e3c5a5b4f784a49dbfa9a16473c28ceed4b0c
BLAKE2b-256 checksum
How to use checksums
ecb8092f2d1cb850b8174952ffee638d977319b6e17499e25d3e8c6bbce37a25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

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

Download URL infrahub_sdk-1.23.1-py3-none-any.whl
Size 312.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5ca434190eb8ecabfc7c7f0734ff7be4ed5a3e02b3a0054236d61026db73549
BLAKE2b-256 checksum
How to use checksums
bc68479ef12b7f7b10d9230f4f8fdb9c0ea0daf0b9fa4f1b73536471ef887dbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release history Release notifications | RSS feed

This release

1.23.1 This release

2 release files

1.23.0

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