Docker Links
Parse Docker links into values useful for Django settings.
Free software: BSD license
Documentation: https://docker_links.readthedocs.org.
Usage
Docker links provide environment variables for processes that look like this:
DB_PORT_5432_TCP=tcp://172.17.0.5:5432
That’s nice, but not quite right for, say, use in a Django settings file.
So this provides a function that reads an environment variable, and updates it with overrides you specify:
BROKER_URL = docker_links.docker_link('AMQP_PORT_6379_TCP', overrides={
"scheme": "redis",
"path": "/0",
})
History
0.1.0 (2014-10-26)
First release on PyPI.
Metadata
Release files for docker_links 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| docker_links-0.1.0.tar.gz | 12.4 kB | Without provenance | Details for docker_links-0.1.0.tar.gz |
Release files / docker_links-0.1.0.tar.gz
| Download URL | docker_links-0.1.0.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
167b0dd8bf7f803343f224793c0768d80ea67e6715d4a032e0f39678ecb53204
|
|
BLAKE2b-256 checksum How to use checksums |
946d4152815eae8dd149baff077fefa42145e35fbffef49a16488b9d8424f06e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for docker_links 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.