Installation

Requirements

  • Python 3.9 or higher

  • pip (Python package installer)

Basic Installation

Install Confii using pip:

pip install confii

Optional Dependencies

Confii supports optional dependencies for extended functionality:

Schema Validation

Install for Pydantic and JSON Schema validation support:

pip install confii[validation]
Cloud Storage Support

Install for cloud storage loaders (AWS S3, Azure, GCP):

pip install confii[cloud]
Secret Store Support

Install for secret store integration (AWS, Azure, GCP, Vault):

pip install confii[secrets]
All Features

Install all optional dependencies:

pip install confii[all]

Individual Secret Store Dependencies

If you only need specific secret store support:

# AWS Secrets Manager
pip install boto3

# HashiCorp Vault
pip install hvac

# Azure Key Vault
pip install azure-keyvault-secrets azure-identity

# GCP Secret Manager
pip install google-cloud-secret-manager

Verifying Installation

Verify the installation:

from confii import Config
print(Config.__doc__)

Or check the version:

python -c "import confii; print(confii.__version__)"

Next Steps

Now that Confii is installed, see the Quick Start guide to get started.