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.1.1.tar.gz (6.3 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.1.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quick_ini-3.1.1.tar.gz
  • Upload date:
  • Size: 6.3 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.1.1.tar.gz
Algorithm Hash digest
SHA256 674858fb2969cf88ac3618d8776a4d533a3e2757c9b8a189fa1ce7eb76d899a4
MD5 0356cffef6168820fce38858343fc826
BLAKE2b-256 8c9fa831b26a3d0b5a6c77523c3dfab284b075445adcda3cdccb54ddbc5a3ae7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quick_ini-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cff7fe8c183a769833f74b24523121b4d8480d402bff29d9020abe14268cb43e
MD5 08ba1daf241dd8a8feb228ec1b11ea27
BLAKE2b-256 60e2c45d0322dd60e46efdf72e82c076410951ce56f812fa2748d5492eb9782f

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