Custom App Environment
Project description
PyXHCustApp
A library provide functionality process chia plot log.
Installation
pip install py-xh-custapp-xethhung12
Demo
from py_xh_custapp_xethhung12 import CustApp, Entry, Profile, Platform
# create app
CustApp.appDefault("abc_app")
# check if proxy is set for the app
print(app.has_proxy())
# set a entry of key `xxx` with vaule `yyy`
app.set_kv(Entry.simple('xxx'), "yyy")
# get the value of configuration entry
print(app.get_kv(Entry.simple('xxx')))
# remove the configuration entry
app.rm_kv(Entry.simple('xxx'))
# check if configuration entry exists
print(app.has_kv(Entry.simple('xxx')))
# create a entry with profile (some kind grouping of configuration)
entry = Entry.with_profile("key", "profile_name")
# print the app home directory
print(app.home)
# `python -m py_xh_custapp_xethhung12` can be replace by `pyXhCustapp` as short cut script
pyXhCustapp apps #Show all apps found in the directory
pyXhCustapp app --name {app name} list #Show all all
pyXhCustapp app --name {app name} exist {key} #return true if {key} exists
pyXhCustapp app --name {app name} value {key} #return value of {key} or None
pyXhCustapp app --name {app name} set {key} {value} #set {value} to {key}
pyXhCustapp app --name {app name} remove {key} #remove {key}
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_xh_custapp_xethhung12-1.4.6.tar.gz.
File metadata
- Download URL: py_xh_custapp_xethhung12-1.4.6.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10cc1bbfdc7e83abfda384865c37bf1003ab60d2760e02aa7859c1e431299373
|
|
| MD5 |
cc1f7d90d15bba2197a7428a02d630d7
|
|
| BLAKE2b-256 |
338655f2df8fa908127d1d627b674f8cafe0f7e93979f214a0f08c42789f517b
|
File details
Details for the file py_xh_custapp_xethhung12-1.4.6-py3-none-any.whl.
File metadata
- Download URL: py_xh_custapp_xethhung12-1.4.6-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f438d10fb165e0469671cc5efac7f05af5317d995c152d449bc55f39d9d007f
|
|
| MD5 |
6ba38778e69fa34d3b0d68ba9c973371
|
|
| BLAKE2b-256 |
a10fc379898b560434a7e188a3f3ed08e7bccfb201a4294cc98408c76e95fbe6
|