V.I.C.T.O.R.I.A.
Very Important Commands for Toil Optimization: Reducing Inessential Activities.
Victoria is the SRE toolbelt—a single CLI with multiple pluggable subcommands for automating any number of 'toil' tasks that inhibit SRE productivity.
Features
- Plugin architecture for easy extension
- Store config for plugins in cloud storage
- Azure Blob Storage
- Encrypt secret config data at rest using cloud encruption provider
- Azure Key Vault
Prerequisites
- Python 3.6+
- Pip
- Azure CLI
Installation
pip install -U victoria
Documentation
The documentation can be found here.
License
Victoria is licensed under the MIT license.
Contribution
Bug reports
You can submit a bug report here.
Feature requests
You can request a new feature here.
Vulnerability reports
We prefer vulnerabilities to be reported in private so as to minimise their impact (so we can fix them before they are exploited!). To this end, please email any security vulnerability reports to 'sre@glasswallsolutions.com'. We would appreciate it if you use the issue template in the link below. All vulnerabilities will be acknowledged within one business day.
You can publicly report a security vulnerability here.
Pull requests
We accept pull requests! To contribute:
- Pick up an unassigned issue from our issue board. Assign yourself to the issue so other people know you're working on it.
- Work on your code in a feature branch that's got a descriptive name (like
rework-fancy-integrator). - Follow the Google style guide for Python.
Every piece of code needs to be documented with Google-style docstrings.
We use pylint to lint our code.
We run pylint without the 'convention' and 'refactor' message classes.
You can lint your code with:
poetry run pylint victoria --disable="C,R". We use yapf to automatically format our code. We recommend having it format the code whenever you save. - Make commits for each part of your pull request. Try not to make too many (if it's a small issue you may only need one). We try to use the imperative mood in commit message subjects.
- We expect all new code to have at least 80% test coverage. This is enforced by Codecov.
- To run tests locally and check coverage, use:
poetry run pytest tests/ --cov=victoria. - When ready to merge, create a pull request from your branch into master.
- Make sure you link your pull request to the issue(s) it addresses.
- The CI build will run for your pull request. If it fails then it cannot be merged. Inspect the output, figure out why it failed, and fix the problem. The CI build will lint your code, run tests, and send coverage/code to Codecov and SonarCloud.
- Someone will review your pull request and suggest changes if necessary.
- When everything is signed off, your pull request will be merged! Congrats.
Development guide
Prerequisites
- Python 3.6+
- Poetry
Quick start
- Clone the repo.
- Run
poetry install. - You're good to go.
Metadata
Release files for victoria 1.0.5
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 |
|---|---|---|---|---|
| victoria-1.0.5.tar.gz | 19.5 kB | Without provenance | Details for victoria-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| victoria-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for victoria-1.0.5-py3-none-any.whl |
Total release size: 44.5 kB
Release files / victoria-1.0.5.tar.gz
| Download URL | victoria-1.0.5.tar.gz |
|---|---|
| Size | 19.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
900b2953cfa97c3263ee3735ad2463966a71feac716d83e60f471fae6faef9e8
|
|
BLAKE2b-256 checksum How to use checksums |
9f8e6d91cdf91ed001c449d312964bce539a9d573461b2b686fc6ed09bd18b3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10
|
Release files / victoria-1.0.5-py3-none-any.whl
| Download URL | victoria-1.0.5-py3-none-any.whl |
|---|---|
| Size | 25.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
785f97f3890cebe324e0b3fe8a4d1c29d57a4583f01da075cfd057b45b5975e2
|
|
BLAKE2b-256 checksum How to use checksums |
a4b4a9ca7b2c4bac2a07bcf761ed53c688bcd5b99ac54e1b18ce9fe56ffad2ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10
|
Security for victoria 1.0.5
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.