Python wrapper for Cloud Foundry environments
Project description
py-cfenv is a tiny utility that simplifies interactions with Cloud Foundry environment variables, modeled after node-cfenv.
Quickstart
from cfenv import AppEnv
env = AppEnv()
env.name # 'test-app'
env.port # 5000
redis = env.get_service('redis')
redis.credentials # {'url': '...', 'password': '...'}
redis.get_url(host='hostname', password='password', port='port') # redis://pass:host
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
cfenv-0.5.0.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cfenv-0.5.0.tar.gz.
File metadata
- Download URL: cfenv-0.5.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c6b636583aa8220b3b8146ae75d3b639a75336815d9f9c3000895aeefc2099f
|
|
| MD5 |
c91b1817e7155433e711fbd11697a45f
|
|
| BLAKE2b-256 |
b6e67fac1ed8af1cf94096e733ad4467bd2a90869f67b88c225d647de36e68a9
|
File details
Details for the file cfenv-0.5.0-py2.py3-none-any.whl.
File metadata
- Download URL: cfenv-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce5701c094ca6755dbcfa3a3a35e8addc0933d9a0af341ef27966ade433e25c5
|
|
| MD5 |
3e2ac6d12239b7d15da241a23bb95419
|
|
| BLAKE2b-256 |
c7ae0baf767ee7aa332f0d845114c9675b05d9ca41ebb157cbbe3b34104d0c67
|