Skip to main content

# pathconfig

pathconfig is a small library that aims to make it easy to make your application configurable and find its data easily.

it features the following central functions/classes:

  • pathconfig.load_configuration creates an AppContext object that allows to retrieve configuration variables (get_config_var)

  • pathconfig.Factory is a class for objects that have parts that can be loaded on-demand. If obj is your object, and it has a load_banana method, then obj.get(‘banana’) will either returned the cached banana or invoke its load_banana method to retrieve one.

  • pathconfig.load_plugin provides a friendly wrapper around setuptools’ entry_points mechanism.

# Install The most convenient way is to install pathconfig via pip or easy_install:

pip install pathconfig

# Getting started see examples/simple_example.py

Metadata

Release files for pathconfig 1.0

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

Source distribution (sdist)

Source distribution for pathconfig 1.0
File Size Uploaded
pathconfig-1.0.tar.gz 4.8 kB Details

Release files / pathconfig-1.0.tar.gz

Download URL pathconfig-1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
88ed48591cc6861744510b244df5ffce817a83a99d81db39c2d33bae1281b9df
BLAKE2b-256 checksum
How to use checksums
fc784a843cd398e85c51f220b4839112bc709788145592fb49d4365c1c1991a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

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