Skip to main content

Application configuration made simple

Project description

pip install config-profile

file-based config for all of your python needs

Usage

import os

from config_profile import Config

config = Config(resource_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), 'resources')))

config.get("some_key.optional_key", "default_value")
config.get_required("some_key.required_key")

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

config_profile-0.0.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

config_profile-0.0.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file config_profile-0.0.3.tar.gz.

File metadata

  • Download URL: config_profile-0.0.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for config_profile-0.0.3.tar.gz
Algorithm Hash digest
SHA256 de063e2d98168268f1be86cffde96f72f5bd7b6ab85cd69413b6454bd12acce4
MD5 7796d0d7d0d362a0cbc338400ecffaf0
BLAKE2b-256 134cb96fcba147e2fa4e53a24b49489845614bdd02f66c2d16ba5b64c7cd5ca7

See more details on using hashes here.

File details

Details for the file config_profile-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: config_profile-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for config_profile-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ff2df35bb0acb90138cc11af3c26ff8d25823e5994f676eee258e38e74b618f9
MD5 a47819ef8028e57de5ff2b4ee54a89f4
BLAKE2b-256 f95ea54c277343785de5562348c9743aeae0ebb2f3ee8f1510e41c3d8a970b1e

See more details on using hashes here.

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