Skip to main content

With this module you can easy take the value of config file only by key, in python projects

Project description

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'))
      

Easy to install and easier to use

Use python version >= 2.7

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for confiy, version 1.4
Filename, size File type Python version Upload date Hashes
Filename, size confiy-1.4-py2-none-any.whl (3.0 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size confiy-1.4.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page