Standard app configuration and packaging
Project description
applauncher module
Description
The applauncher module defines a standard way to launch and manage a basic application.
Configuration class
Configuration class defines a standard logger which prompts in console and save log in a dated file. I also define a standard way to configure the app with a settings file in yml format. This yml file is a key/value pair collection and allows substitution of values using the syntax {key}
Here is an example of yml file:
mykey: myvalue
value_to_substitute: '{otherkey}'
otherkey: 3
listkey:
- key1: value1
- key2: value2
dictkey:
key: value
otherkey: othervalue
booleankey: true
Settings class
Settings is a class for which attributes are defined by the given dictionary
error function
error function defines a standard error behaviour by displaying an error and exiting the app
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
Built Distribution
File details
Details for the file pyBaseApp-1.2.tar.gz
.
File metadata
- Download URL: pyBaseApp-1.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3adc47382f5a32ab5870e5aaa9034ae9a231af1dc504c37f4dde210b3fdd9a7 |
|
MD5 | b4033f6f0394cfd677d9c2aa320b105f |
|
BLAKE2b-256 | f19c730c4ccf0ec63ffe9947dcbb39e360f8576b45d0d633b3f529164c8f9dc2 |
File details
Details for the file pyBaseApp-1.2-py3-none-any.whl
.
File metadata
- Download URL: pyBaseApp-1.2-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 762c1163f060e810481642b6d3f21cae29f21ef79945092e414175317e5db7ce |
|
MD5 | 50b568dc1b9ec9d5f0b39d348207610a |
|
BLAKE2b-256 | a88e20bc23d89c9caa9584ebe0b286761366fb0ada99a9ec4f0242e48c80ce81 |