Package to help with configuration of local workspaces.
Project description
Karol Krizka's Project Configuration
Module to help with configuration of local workspaces.
Local Configuration
The goal of the local configuration is to provide a mechanism for providing ] setting specific to the local workspaces (ie: paths to local data).
The project should provide a module config
that contains the following
snipplet:
from kkconfig import local
mydatapath = '/default/path/to/data'
local.load_settings('.myproject.yaml', globals())
The load_settings
function will load the settings from the specified file (if
it exists) and update the global namespace (aka config
module globals) with
the contents. The variables should also be provided this module to provide
default values and show available settings.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kkconfig-0.0.2.tar.gz
.
File metadata
- Download URL: kkconfig-0.0.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be9f76068b024d973f8a1ddf985b67cc36e2950ce68c05fa96865503c5f39495 |
|
MD5 | dc40e4245e621971e8ff60386a889085 |
|
BLAKE2b-256 | 46bba29d265b35abf664ba00aba8325ae29e37cf7103274766a64c6ac5e0813f |
File details
Details for the file kkconfig-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: kkconfig-0.0.2-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 637958e8d9477de9ac9cefabb7329d2884dad5e47bc9cbf67f1277297678fd5f |
|
MD5 | a8b12c38849331e4f9ce1653f92abefc |
|
BLAKE2b-256 | 37225cb94a6d69ee3a64cdb3b85b9e8fc30d589c95334d1472fc5ba4727cfc65 |