Skip to main content

A Python settings manager package that allows you to make settings handling easy.

Project description

SettingsManager

A simple Python class for managing configuration settings using an INI file. The class provides methods to load, save, get, and set configuration values, with support for default settings and type conversion.

Features

  • Load and save settings from/to an INI file.
  • Apply default settings if the configuration file does not exist.
  • Get configuration values with optional type conversion (bool, int, float, list, dict).
  • Set configuration values, ensuring the section exists before setting the key-value pair.
  • Uses Python's configparser module for parsing INI files.

Installation

You can install the package via pip (once it's published to PyPi):

pip install settingsmanager

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

pietro_settings_manager-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

pietro_settings_manager-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file pietro_settings_manager-1.0.0.tar.gz.

File metadata

  • Download URL: pietro_settings_manager-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pietro_settings_manager-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b53874d9d4b57d248aae512518342fb9ed00b91a967bc8819da4583cbd2e6d48
MD5 97166076a2e77acc246ac0a271799c10
BLAKE2b-256 c78aaae17daab43413b6b4436f5a8a46865dbebcd372209bbb00a52392514e41

See more details on using hashes here.

Provenance

The following attestation bundles were made for pietro_settings_manager-1.0.0.tar.gz:

Publisher: publish.yml on P1etrodev/settings-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pietro_settings_manager-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pietro_settings_manager-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b8f88bfb6740ecd6e76c8bc3fc551aacd90e5888bcc92a8ddef2a393c25e4c1
MD5 f1833c3c2fc7caccff1cf50d41ca41af
BLAKE2b-256 83587f2b29991b2bbdbb75fcf5dbadeba57625d60ec6189fd502f3478374c8cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pietro_settings_manager-1.0.0-py3-none-any.whl:

Publisher: publish.yml on P1etrodev/settings-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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