$npx skillfedfor your agent

cabina

Configuration with typed env vars

With conditionsPyPI Software DevelopmentReleased Jan 202596.1K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cabina-1.1.2-py3-none-any.whl
v1.1.2 · released 2025-01-07 · Python >=3.8 · 1 runtime deps: niltype

Yes, if you need typed environment-driven configuration with minimal dependencies. The low install friction, permissive license, and no known vulnerabilities make it safe to adopt. However, the dormant maintenance status (584 days since last release) means you should verify it handles your specific use cases and accept that bug fixes or feature requests may move slowly. Best suited for straightforward config needs rather than highly specialized or rapidly evolving requirements.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel.
  • Maintenance is dormant—last release was 584 days ago, though the repository remains active with a recent commit on 2025-01-07.
  • No known vulnerabilities.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.

last release 2025-01-07 (584 days) · last repo commit 2025-01-07 · 8 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 96,060 downloads/mo, #13,234 on PyPI

Verify before relying

pip install cabina

import cabina
from cabina import env, computed

class Config(cabina.Config, cabina.Section):
    API_HOST = env.str("API_HOST", default="localhost")
    API_PORT = env.int("API_PORT", default=8080)
    
    @computed
    def API_URL(cls) -> str:
        return f"http://{cls.API_HOST}:{cls.API_PORT}"

print(Config.API_URL)  # http://localhost:8080
  • Whether the dormant maintenance status (584 days since release) affects real-world reliability for production use.
  • Performance characteristics when dealing with large numbers of config sections or deeply nested hierarchies.
  • Whether custom parser support (e.g. pytimeparse) is production-tested or community-maintained.
Same gist for agents: .md · .json

What it is and what it does

Cabina is a Python library for building typed, hierarchical configurations driven by environment variables. It lets you define config as nested classes with type annotations, automatically parsing environment variables into the correct types (string, int, bool, etc.) with sensible defaults. You can also define computed properties that derive values from other config fields, and use custom parsers for special formats like JSON or duration strings.

The library is designed to reduce boilerplate in configuration setup—instead of manually reading os.environ and casting values, you declare your config structure once as a class hierarchy and cabina handles parsing, validation, and access. It supports flat configs (inheriting both Config and Section), prefixed environment variables to avoid collisions, lazy evaluation of variables, and inheritance patterns for specializing configs across environments.

Use it for

  • Define a web service config with typed host, port, and timeout settings parsed from environment variables with sensible defaults.
  • Build a hierarchical config for a microservice with separate sections for database, cache, and API settings, each with their own env var prefix.
  • Create computed config values like a full API URL derived from separate host and port variables, updated automatically if either changes.
  • Implement environment-specific configs (dev, staging, prod) by subclassing a base Config and overriding section values.
  • Parse complex JSON or custom-format config from environment variables using custom parser functions.
  • Defer config parsing until first access using lazy_env to handle variables that may not exist at import time.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need typed environment-driven configuration with minimal dependencies.

The low install friction, permissive license, and no known vulnerabilities make it safe to adopt. However, the dormant maintenance status (584 days since last release) means you should verify it handles your specific use cases and accept that bug fixes or feature requests may move slowly. Best suited for straightforward config needs rather than highly specialized or rapidly evolving requirements.

Install

cabina on PyPI

Before you install

Low install friction with a pure-Python wheel. Maintenance is dormant—last release was 584 days ago, though the repository remains active with a recent commit on 2025-01-07. No known vulnerabilities.

License in practice

Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

pip install cabina

import cabina
from cabina import env, computed

class Config(cabina.Config, cabina.Section):
    API_HOST = env.str("API_HOST", default="localhost")
    API_PORT = env.int("API_PORT", default=8080)
    
    @computed
    def API_URL(cls) -> str:
        return f"http://{cls.API_HOST}:{cls.API_PORT}"

print(Config.API_URL)  # http://localhost:8080

Verify before relying

  • Whether the dormant maintenance status (584 days since release) affects real-world reliability for production use.
  • Performance characteristics when dealing with large numbers of config sections or deeply nested hierarchies.
  • Whether custom parser support (e.g. pytimeparse) is production-tested or community-maintained.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
niltype
MaintenanceDormant 584 days since the last release
Last repo commit
First released
Downloads96,060 / month, #13,234 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed

Evidence: cabina-1.1.2-py3-none-any.whl

Tags

Capabilities
environment variable configurationtyped config managementhierarchical settingsenv var parsingconfiguration with defaultscomputed config valuesclass-based configuration
Topics
configuration-managementenvironment-variablestype-safe

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “computed config values”

  • cabinaCabina provides class-based configuration management with automatic…
  • pyymlEmbeds Python expressions directly in YAML files, evaluating them at…
  • envierEnvier extracts application configuration from environment variables…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also environs · envparse · config · hierarchical-conf · python-json-config · load-dotenv · databind · overrides · pydantic-settings · consulate