confiy
Confiy is easiest way to read config file only with key.
#####Caution: You must create a config file where you need to call, with any extension but .cnf is better and then write your configs in file such as following lines:
- my_prj
- db
- conf.cnf
key1=1234 key2="string with value2" key3="string with value3"
- connector.py
from confiy.confiy import confiy print(confiy().getValue(key='key1'))
- db
Easy to install and easier to use
Use python version >= 2.7
Metadata
Release files for confiy 1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| confiy-1.4.tar.gz | 1.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| confiy-1.4-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 4.7 kB
Release files / confiy-1.4.tar.gz
| Download URL | confiy-1.4.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e896ece35a29972a63d8b87dc2872bfe27f322f4f5b4cae91e7abae823b2a60
|
|
BLAKE2b-256 checksum How to use checksums |
b740aff1c3101fd706024dc9991ce42d0e9999c9d30dfc63de03ac1a3354c413
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14
|
Release files / confiy-1.4-py2-none-any.whl
| Download URL | confiy-1.4-py2-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
2404ed96ca2d33b1b5e4e066d90c557dbd9276747a378de798d0af67a4573b72
|
|
BLAKE2b-256 checksum How to use checksums |
7f7a88065fd6a6cc7a9e452a458df96b778825859b1f4d1a0f43dca3fc0d91f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14
|