Python Configuration

Open-source Python projects categorized as Configuration

Top 23 Python Configuration Projects

  • hydra

    Hydra is a framework for elegantly configuring complex applications (by facebookresearch)

    Project mention: Hydra – a Framework for configuring complex applications | news.ycombinator.com | 2023-09-24
  • python-dotenv

    Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.

    Project mention: What are the best ways to prevent writing secrets in the code. | /r/learnpython | 2023-06-03
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • dynaconf

    Configuration Management for Python ⚙

  • django-environ

    Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application.

    Project mention: Setting up Django in a Better Way in 5 Minutes and Understanding How It Works | dev.to | 2023-11-13

    This Django Starter kit takes care of automated creation of virtual environment and installing of Python packages and setting up the database with bash scripts. In addition to PostgreSQL and TailwindCSS, all the sensitive values are taken care of in a .env file using django-environ package. The virtual environment is maintained using pip-tools.

  • python-decouple

    Strict separation of config from code.

    Project mention: For a beginner, when do you look at the “next steps” like deploying? | /r/djangolearning | 2023-05-25

    Use a library likepython-decouple to separate secrets like DB_xxx, SECRET_KEY, etc. Then follow this deploy to Digital Ocean. It might be slightly out of date, but I'm pretty sure it'll work just fine.

  • CommandlineConfig

    A library for users to write (experiment in research) configurations in Python Dict or JSON format, read and write parameter value via dot . in code, while can read parameters from the command line to modify values. 一个供用户以Python Dict或JSON格式编写(科研中实验)配置的库,在代码中用点.读写属性,同时可以从命令行中读取参数配置并修改参数值。

  • strictyaml

    Type-safe YAML parser and validator.

    Project mention: StrictYAML | news.ycombinator.com | 2023-09-29
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • environs

    simplified environment variable parsing

  • django-split-settings

    Organize Django settings into multiple files and directories. Easily override and modify settings. Use wildcards and optional settings files.

  • SMAC3

    SMAC3: A Versatile Bayesian Optimization Package for Hyperparameter Optimization

  • netplan

    Declarative network configuration for various backends

    Project mention: Trunk/VLAN tags question | /r/HomeNetworking | 2023-12-07
  • django-dotenv

    Loads environment variables from .env

  • pyhocon

    HOCON parser for Python

  • platformdirs

    A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".

    Project mention: GrandTourer – a CLI tool for easily launching applications on macOS | /r/Python | 2023-12-06

    Also, I saw that you're trying to find the app locations yourself. You may wanna use this instead: https://github.com/platformdirs/platformdirs

  • pydantic-settings

    Settings management using pydantic

    Project mention: Release v2.0.2 · pydantic/pydantic-settings | news.ycombinator.com | 2023-07-14
  • confuse

    painless YAML config files for Python

  • environ-config

    Python Application Configuration With Environment Variables

    Project mention: Murmur: pass secrets as environment variables to a process (Berglas for AWS) | /r/aws | 2023-05-28

    For example, in the Python world we have: https://github.com/hynek/environ-config https://docs.pydantic.dev/latest/usage/settings/#secret-support

  • nestedtext

    Human readable and writable data interchange format

  • ConfigObj

    Python 3+ compatible port of the configobj library

  • hass-configurator

    Configuration UI for Home Assistant

  • hydra-zen

    Create powerful Hydra applications without the yaml files and boilerplate code.

  • parse_it

    A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.

  • classyconf

    Declarative and extensible library for configuration & code separation

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-07.

Python Configuration related posts

Index

What are some of the best open-source Configuration projects in Python? This list will help you:

Project Stars
1 hydra 8,140
2 python-dotenv 7,055
3 dynaconf 3,504
4 django-environ 2,927
5 python-decouple 2,668
6 CommandlineConfig 2,045
7 strictyaml 1,407
8 environs 1,118
9 django-split-settings 1,055
10 SMAC3 1,003
11 netplan 615
12 django-dotenv 566
13 pyhocon 487
14 platformdirs 486
15 pydantic-settings 429
16 confuse 409
17 environ-config 407
18 nestedtext 333
19 ConfigObj 309
20 hass-configurator 300
21 hydra-zen 274
22 parse_it 106
23 classyconf 83
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com