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.

Source Distribution

confiy-1.3.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

confiy-1.3-py2-none-any.whl (3.0 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page