Skip to main content

Python Client to interact with Infrahub

Project description

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infrahub_sdk-1.15.2.tar.gz (135.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

infrahub_sdk-1.15.2-py3-none-any.whl (183.5 kB view details)

Uploaded Python 3

File details

Details for the file infrahub_sdk-1.15.2.tar.gz.

File metadata

  • Download URL: infrahub_sdk-1.15.2.tar.gz
  • Upload date:
  • Size: 135.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.12 Linux/6.8.0-1044-azure

File hashes

Hashes for infrahub_sdk-1.15.2.tar.gz
Algorithm Hash digest
SHA256 5d1d5e08257b41b867d2295c863bdb8a5955641001c5bda1e83c956a04975224
MD5 a2bc6b01f81676bf8c72ba2ff5b8f4b2
BLAKE2b-256 059a22ef7fa0799ec1ec3818fe98aa0ae94c5c1e9357e42f81f33f5f16f1c866

See more details on using hashes here.

File details

Details for the file infrahub_sdk-1.15.2-py3-none-any.whl.

File metadata

  • Download URL: infrahub_sdk-1.15.2-py3-none-any.whl
  • Upload date:
  • Size: 183.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.12 Linux/6.8.0-1044-azure

File hashes

Hashes for infrahub_sdk-1.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3de5f3c76517710eae15b76ccd4afa57cc488fb3d52e441a6b98bef18127d7a5
MD5 9e874e589f96b7d87e363114dddf3fc0
BLAKE2b-256 96729b06ea18dc2f05480b68ee2e69ae1d0c5e4cdc83fa33b8c9d1b8c5fd47b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page