# ralogs
ralogs is a simple python script which connects to Rancher and stream logs directly to your terminal from multiple containers within a single stack.
## Requirements
ralogs requires Python 3.5 or higher and pip3 to be installed on your machine.
## Changelog
1.4 - fixed installation script
1.3 - fix stack not found issue by searching API using stack name
1.2 - moved required dependencies into setup.py to avoid strict version requirements
1.1 - Added third parameter to specify a service - Added container names and IDs to the logs output
1.0 - Initial release
## Installation
` $ pip3 install ralogs `
## Configuration
Check if installation was successful: ` $ ralogs -v ` It should display version info. Now open and edit configs: ` $ subl $HOME/.ralogs `
rancher_url - where you can access Rancher (eg. https://rancher.example.com)
api_key and api_secret - this you can create in Rancher GUI, go to API -> Keys from top menu and add new Account API Key
## Usage:
` $ ralogs environment stack `
If the stack has more than one service, you can select it by name by adding third argument:
` $ ralogs environment stack service `
Metadata
Release files for ralogs 1.4
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 |
|---|---|---|---|---|
| ralogs-1.4.tar.gz | 3.0 kB | Without provenance | Details for ralogs-1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ralogs-1.4-py3-none-any.whl | Python 3 | none | any | Details for ralogs-1.4-py3-none-any.whl |
Total release size: 7.3 kB
Release files / ralogs-1.4.tar.gz
| Download URL | ralogs-1.4.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
780fd15b74ced2d96922ccd4ccaca61becc112268f4495e2ced551e0a0540388
|
|
BLAKE2b-256 checksum How to use checksums |
8565e529cacfeaeb07f69a507390229125840d7d4698156a0b225b57c91ab07c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
|
Release files / ralogs-1.4-py3-none-any.whl
| Download URL | ralogs-1.4-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
462be6268273e5a9e76384f0dc4d26581f54ba42ad35df3ce1a49cf78a26f585
|
|
BLAKE2b-256 checksum How to use checksums |
f61d85d4dc9dcbb3009a5393e7d25166f36068e13068b7d1bd798b9be713b274
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
|
Security for ralogs 1.4
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.