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.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

config_profile-0.0.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: config_profile-0.0.2.tar.gz
  • Upload date:
  • Size: 2.3 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.2.tar.gz
Algorithm Hash digest
SHA256 310cffd1cb8d4faa128a2b3c5d91bee19fa5d34dbaeec7c5bc73bba2dbf8fd20
MD5 4933d87097a12f5dd44d20c0875acd49
BLAKE2b-256 84c420567b34efc0830b11cf200f21b415feb46eca717605c9099c0bd924239a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for config_profile-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f563b879eabca89da1d9b5bb5010aff34ab96fd2d1f36acbd11a4303c01ca51
MD5 1c59dff2535a2179eddf02899491cb4c
BLAKE2b-256 a37cc43a3cd2ce0ef2878184b96eb4efa060c8da7ec6845b9d9950857fd0170c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page