Skip to main content

The Un-official Infisical Python SDK using HTTPX

Project description

infisical-httpx-sdk

The Un-Official Infisical Python SDK using HTTPX.

There are two main reasons I created this repo despite an existing official SDK:

  1. I wanted to utilize HTTPX for both synchronous and asynchronous HTTP calls, as I have use cases for both.
  2. The implementation of a boto-esque credential provider chain that supports both Token and Universal auth credentials via:
    • Explicitly provided credentials at client creation.
    • Environment Variable credentials.
    • The ~/.infisical/infisical-config.json keyring created when using the infisical login CLI command.

Implementing all this over the top of the requests library currently used by the official SDK while trying to support sync and async clients would have required a re-architecture what they've already written, and I didn't feel like trying to climb that mountain nor ask them to oversee the climb. They're a busy company and I'm one guy.

Table of Contents

Installation

The SDK is available on PyPI:

pip3 install infisical-httpx-sdk

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

infisical_httpx_sdk-1.0.0.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

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

infisical_httpx_sdk-1.0.0-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: infisical_httpx_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for infisical_httpx_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7109727a026bdcd3c4b0fc92d64f614366d6d0f7791c975c0fa750c5cfff5925
MD5 b55140531598a085048ba2f5f31cd112
BLAKE2b-256 705c57e0cf062a3a905c3f58d76f4be3076c41e90024cded98fa069c9ee098a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for infisical_httpx_sdk-1.0.0.tar.gz:

Publisher: publish.yaml on riebecj/infisical-httpx-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for infisical_httpx_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c289997ea9dfb443b19e0b6ad84f2818f49a997db7c264bfc2c5c9672d8f372c
MD5 9b3529d8fd06bd6169448194aa707949
BLAKE2b-256 12524e553a935b7f8494fef6be33a4318ff8fc351ca274502c41b7dda6c060d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for infisical_httpx_sdk-1.0.0-py3-none-any.whl:

Publisher: publish.yaml on riebecj/infisical-httpx-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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