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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
confiy-1.4.tar.gz
(1.8 kB
view details)
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
confiy-1.4-py2-none-any.whl
(3.0 kB
view details)
File details
Details for the file confiy-1.4.tar.gz.
File metadata
- Download URL: confiy-1.4.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e896ece35a29972a63d8b87dc2872bfe27f322f4f5b4cae91e7abae823b2a60
|
|
| MD5 |
864020d616728fe9be07bfbb5b4db6e7
|
|
| BLAKE2b-256 |
b740aff1c3101fd706024dc9991ce42d0e9999c9d30dfc63de03ac1a3354c413
|
File details
Details for the file confiy-1.4-py2-none-any.whl.
File metadata
- Download URL: confiy-1.4-py2-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 2
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2404ed96ca2d33b1b5e4e066d90c557dbd9276747a378de798d0af67a4573b72
|
|
| MD5 |
8bad959d8924c3860fb6bbecd154a228
|
|
| BLAKE2b-256 |
7f7a88065fd6a6cc7a9e452a458df96b778825859b1f4d1a0f43dca3fc0d91f9
|