Skip to main content

a simple config reader for *.ini files

Project description

Installation

pip install conf4ini

Usage

from pathlib import Path
from pprint import pprint

from conf4ini import Config

# not specified path
conf_no_path = Config()
pprint(conf_no_path)

with specified the settings path
conf_with_path = Config(Path(__file__).resolve().parent / 'dev')
pprint(conf_with_path)

More

To Be Continue ….

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

conf4ini-1.0.1.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file conf4ini-1.0.1.tar.gz.

File metadata

  • Download URL: conf4ini-1.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.4

File hashes

Hashes for conf4ini-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3d19d91d19376e519be2277f10e2823128a42f901aaf581f1e750d20f591b808
MD5 1c5e0d0567cb755ae94e76eb4078aa8c
BLAKE2b-256 ecc27cbb019f4dd07f72e0394654e1243195382039b8d930d037d66a42a28eda

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