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.4.tar.gz (1.8 kB view hashes)

Uploaded source

Built Distribution

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

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page