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

Uploaded Source

Built Distribution

infrahub_sdk-0.11.1-py3-none-any.whl (109.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: infrahub_sdk-0.11.1.tar.gz
  • Upload date:
  • Size: 83.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1021-azure

File hashes

Hashes for infrahub_sdk-0.11.1.tar.gz
Algorithm Hash digest
SHA256 2f2b9a96c9c28f60d03890d547af69bac0f1e9dd31af96a38564c2c8f8732814
MD5 273c1cc1f4469501d1e426ed969e4a3d
BLAKE2b-256 a10f5effb35c9e0e599dad945f28854eaf91a0caf0923b6ab7065c2f673858b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: infrahub_sdk-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 109.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1021-azure

File hashes

Hashes for infrahub_sdk-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7589e8ab19d965b333bd28c0120dba3dcac83eb5f1a8dae8064776ea6b6b5d52
MD5 260fc06fd4bdb4b9497117b713d180f8
BLAKE2b-256 eac111bcd157473d7a0aab089abdc5ddfb0324c85087a02d8abb455088f68fd1

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