Skip to main content

A library for reading from and writing to .ini formatted files

Project description

QuickINI

A simple and fast INI file parser for Python with support for loading from URLs and automatic type conversion.

Installation

pip install quickini

Quick Start

from quickini import QuickIni

# Load from file
QuickIni.load_file("config.ini")

# Load from URL
QuickIni.load_file("https://example.com/config.ini")

# Get values with automatic type conversion
debug = QuickIni.get_value("debug", False)  # Returns boolean
port = QuickIni.get_value("port", 8080)     # Returns integer

# Write values back to file
QuickIni.write_value("new_setting", "value", add_if_not_found=True)

Features

  • Load INI files from local filesystem or URLs
  • Automatic type conversion (int, float, bool, str)
  • Write values back to files
  • Error handling with detailed messages
  • Static class design for easy use across modules

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

quick_ini-3.2.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

quick_ini-3.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file quick_ini-3.2.tar.gz.

File metadata

  • Download URL: quick_ini-3.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for quick_ini-3.2.tar.gz
Algorithm Hash digest
SHA256 fb15db7d69d4ee2299f423ebecc40b3e76b30d340f7a504f3baa95b9ee34d76d
MD5 e32d3fc6c1165d13fbbeaf118ccc512f
BLAKE2b-256 6cd537a28d5284b7a4e8a10094463597f364a9f8ecba03f127a1060c914b46ed

See more details on using hashes here.

File details

Details for the file quick_ini-3.2-py3-none-any.whl.

File metadata

  • Download URL: quick_ini-3.2-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for quick_ini-3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3cd5234084eac550a06ba46e2dabfdc9f403db183b32f43f5386464abe5bc28e
MD5 fda4030369f8e09fcdfb29646206f5a4
BLAKE2b-256 57414e64f7743f81af88f6cba86f5baa2def3871be32363ff351d5d2b10132e9

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