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.

Filename, size & hash SHA256 hash help File type Python version Upload date
confiy-1.4-py2-none-any.whl (3.0 kB) Copy SHA256 hash SHA256 Wheel py2
confiy-1.4.tar.gz (1.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page