Skip to main content

A python library that writes your configuration into an .ini file

Project description

Write configurations into .ini

This project leverages configureparser module to write your configurations into an .ini file at ease. It's designed for simplicity and ease of use, allowing you to manage .ini files.

Features

  • Write: Write and store your configurations.
  • Read: Read the only configuration you need.
  • Modify: Modify the configuration.
  • Store with sections: Store your configuration based on its type as a section.

Prerequisites

  • configparser

Usage

To use the functionality, import the Configuration function from ArtexConfigure.

from ArtexConfig import Configuration

settings_file = 'app_settings.ini'
app_settings = AppSettings(settings_file)

# Store settings
initial_settings = {
    'theme': 'dark',
    'language': 'en',
    'notifications': 'True'
}
app_settings.store_settings('General', initial_settings)

# Modify a setting
app_settings.modify_setting('General', 'language', 'es')

# Verify the modification
print(app_settings.get_setting('General', 'language'))  # Output: es

This project is managed by Artex AI. Soon an improved and stable version will roll out

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

artexconfigure-0.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

ArtexConfigure-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file artexconfigure-0.0.1.tar.gz.

File metadata

  • Download URL: artexconfigure-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for artexconfigure-0.0.1.tar.gz
Algorithm Hash digest
SHA256 79d1fa598fad513c5b0fbb1c673d1fbdbd9f84cd7bc7164e8456bb409f6b43f0
MD5 1992f8f3b459b72a08d94b9480b08674
BLAKE2b-256 2267c63d6b101b224401e7122042be89aa8b2ccbfc73bc3a3f32b8230aec6e02

See more details on using hashes here.

File details

Details for the file ArtexConfigure-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ArtexConfigure-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for ArtexConfigure-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 afc82ed931a571d5aef46c127a56af093bfada2d1d2f3856feb092d75baede2f
MD5 64a11a511d659edbd6b18da0d18f7e19
BLAKE2b-256 f81a7ddb68d55fce0ef69e440723452400b943b58a64d901258b298d17f3fd11

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