Skip to main content

ini file parser.

Project description

ini klass

The ini file parser.

Install

To install a wheel from PyPI,

pip install --upgrade ini-klass

Usage

Example ini file,

[example]
id = 12
name = John
status = true
salary = 100.50
group = car, book, phone

To parse ini file above,

from ini import IniConfig

# read from `CONFIG` environment
config = IniConfig.read()

# read from file
config = IniConfig.read('/tmp/file.ini')

# access configuration value
name = config.example.name

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

ini-klass-0.0.5.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

ini_klass-0.0.5-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file ini-klass-0.0.5.tar.gz.

File metadata

  • Download URL: ini-klass-0.0.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.16

File hashes

Hashes for ini-klass-0.0.5.tar.gz
Algorithm Hash digest
SHA256 388e97f2a16737bc4be08f6e5459e85cef9fe0a37d6cea7411c978febd9949cc
MD5 6b7a3e9c5231a145d8747f321b7d70d7
BLAKE2b-256 84b4760ba7bb86946bfcf11c02e8ed65d8f63c482d6acf697645f9ee7751758e

See more details on using hashes here.

File details

Details for the file ini_klass-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: ini_klass-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.16

File hashes

Hashes for ini_klass-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e506ff0afcb0da7632e8a66d45e7e4f4ed4f5374ca69586880168f65c9993ade
MD5 5a7a3dd23f4aa0d71df5c09eca316cbb
BLAKE2b-256 d506854c064ad03efe24f7a6c85889f0e018e981f2ce7a58401473cef4016b5b

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