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


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.0.0.tar.gz (99.6 kB view details)

Uploaded Source

Built Distribution

infrahub_sdk-1.0.0-py3-none-any.whl (127.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: infrahub_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 99.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for infrahub_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8b2ca6fe04ecc5c0364c444dcc94647eef3e261629b49430a32edc3d07620149
MD5 4acbe894dd116b86b0c6a481b116ec8d
BLAKE2b-256 b71c95322eab3e7d3f3ab0f7c2b9c6627a3c97ba03535897a17da3beb20af23f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infrahub_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 127.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for infrahub_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70eb8b5ef5839fed0faa8ee0f3aae074a616ac9311eb5bfe9f335cb775aa7856
MD5 07e79a02ef3d5239f74a49df388f07df
BLAKE2b-256 c78634c58c20e11940b857dc781e0370f84bc60ef028ca7b0b938c42d1f9f3ca

See more details on using hashes here.

Supported by

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