tapp-config |Build Status| |Coverage Status|
============================================
Configuration for tapps (redis, logger, etc.)
Usage
~~~~~
Reads in a .ini configuration file based on environment variables.
| Each TAPP can specify it's own configuration file by setting the
| environmental variable that corresponds to it's name. The variable
| format is:
``<TAPP_NAME>_CONFIG_FILE``
| So, for example, if your TAPP is named 'test', then this package
| would expect it's config file to be specified in the
``TEST_CONFIG_FILE``
| environmental variable.
| If no environmental variable is found, then the local ``cfg.ini`` path
| is tried.
Contents
~~~~~~~~
| While TAPPs can define their own configuration parameters, this
| package comes with some universal configuration settings for the
| database and logging.
::
[db]
SA_ENGINE_URI: sqlite:////tmp/test.db
[log]
LOGFILE: /tmp/test.log
LOGLEVEL: DEBUG
.. |Build Status| image:: https://travis-ci.org/GitGuild/tapp-config.svg?branch=master
:target: https://travis-ci.org/GitGuild/tapp-config
.. |Coverage Status| image:: https://coveralls.io/repos/GitGuild/tapp-config/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/GitGuild/tapp-config?branch=masterVisit https://github.com/gitguild/tapp-config to see the full README, the
issue tracker, and others.
.. |Build Status| image:: https://travis-ci.org/GitGuild/tapp-config.svg?branch=master
:target: https://travis-ci.org/GitGuild/tapp-config
.. |Coverage Status| image:: https://coveralls.io/repos/GitGuild/tapp-config/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/GitGuild/tapp-config?branch=master
============================================
Configuration for tapps (redis, logger, etc.)
Usage
~~~~~
Reads in a .ini configuration file based on environment variables.
| Each TAPP can specify it's own configuration file by setting the
| environmental variable that corresponds to it's name. The variable
| format is:
``<TAPP_NAME>_CONFIG_FILE``
| So, for example, if your TAPP is named 'test', then this package
| would expect it's config file to be specified in the
``TEST_CONFIG_FILE``
| environmental variable.
| If no environmental variable is found, then the local ``cfg.ini`` path
| is tried.
Contents
~~~~~~~~
| While TAPPs can define their own configuration parameters, this
| package comes with some universal configuration settings for the
| database and logging.
::
[db]
SA_ENGINE_URI: sqlite:////tmp/test.db
[log]
LOGFILE: /tmp/test.log
LOGLEVEL: DEBUG
.. |Build Status| image:: https://travis-ci.org/GitGuild/tapp-config.svg?branch=master
:target: https://travis-ci.org/GitGuild/tapp-config
.. |Coverage Status| image:: https://coveralls.io/repos/GitGuild/tapp-config/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/GitGuild/tapp-config?branch=masterVisit https://github.com/gitguild/tapp-config to see the full README, the
issue tracker, and others.
.. |Build Status| image:: https://travis-ci.org/GitGuild/tapp-config.svg?branch=master
:target: https://travis-ci.org/GitGuild/tapp-config
.. |Coverage Status| image:: https://coveralls.io/repos/GitGuild/tapp-config/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/GitGuild/tapp-config?branch=master
Metadata
Release files for tapp-config 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tapp-config-0.0.3.tar.gz | 3.6 kB | Details |
Release files / tapp-config-0.0.3.tar.gz
| Download URL | tapp-config-0.0.3.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9be52bed7db55e2a7b95f838912b7d2b8a49062cb7867e02ff06b3c24539b8ac
|
|
BLAKE2b-256 checksum How to use checksums |
b5f33879fd4983c78df5916401178953b48f32e1cac9fbf554ed700b391c02ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |