Skip to main content

Configgy

A subtle Python package for loading configuration files without having to specify the file type.

Installation

You can install the package from PyPI using pip:

pip install configgy

Usage

Here's an example of how to use the package to load a configuration file:

from configgy.loader import ConfigLoader

data = ConfigLoader().load_config_file("file.json")

The load_config function takes a single argument, the path to the configuration file. It will automatically detect the file type and use the appropriate loader.

Currently, the package supports the following file types:

  • INI
  • YAML
  • TOML
  • JSON

Release files for configgy 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for configgy 0.1.1
File Size Uploaded
configgy-0.1.1.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for configgy 0.1.1
File Interpreter ABI Platform
configgy-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / configgy-0.1.1.tar.gz

Download URL configgy-0.1.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e2ea314a8fbeefe0e0bfc43447fd2a5f7cf7352dcca47eb6cc315cdcc17925fd
BLAKE2b-256 checksum
How to use checksums
a90d0280cba8c2060559081d144e6bb64c08b77915f47880ddafa99ea6288644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.15 CPython/3.8.10 Windows/10

Release files / configgy-0.1.1-py3-none-any.whl

Download URL configgy-0.1.1-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55e1a82dc17e8f31d4ae14d6cdf0d66eaa263a62f2e96ff0dc49003e7ab26e8d
BLAKE2b-256 checksum
How to use checksums
03b4d00b84a56b96a8822c28aacc01ccddcfd069359cdd0c4998d6bd324c3c83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.15 CPython/3.8.10 Windows/10

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page