Skip to main content

Automation toolbelt -- a single command with multiple pluggable subcommands for automating any number of 'toil' tasks that inhibit productivity.

Project description

V.I.C.T.O.R.I.A.

Victoria demo

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.

CII Best Practices Quality gate status Maintainability rating Reliability rating Code coverage License Build status Python versions PyPI version

Best practices badge

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

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:

  1. Pick up an unassigned issue from our issue board. Assign yourself to the issue so other people know you're working on it.
  2. Work on your code in a feature branch that's got a descriptive name (like rework-fancy-integrator).
  3. 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.
  4. 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.
  5. We expect all new code to have at least 80% test coverage. This is enforced by Codecov.
  6. To run tests locally and check coverage, use: poetry run pytest tests/ --cov=victoria.
  7. When ready to merge, create a pull request from your branch into master.
  8. Make sure you link your pull request to the issue(s) it addresses.
  9. 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.
  10. Someone will review your pull request and suggest changes if necessary.
  11. When everything is signed off, your pull request will be merged! Congrats.

Development guide

Prerequisites

  • Python 3.6+
  • Poetry

Quick start

  1. Clone the repo.
  2. Run poetry install.
  3. You're good to go.

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

victoria-0.7.1.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

victoria-0.7.1-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file victoria-0.7.1.tar.gz.

File metadata

  • Download URL: victoria-0.7.1.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.9

File hashes

Hashes for victoria-0.7.1.tar.gz
Algorithm Hash digest
SHA256 814323064ea19a30f76894e8fcf36004ea88ec469f7a770c8e887588772ef854
MD5 a98385b326e53646924f6732514256b1
BLAKE2b-256 0054aa488f21a76f60230be02b6520a8bdbbd0b62b2d68fc26835a9a39377e51

See more details on using hashes here.

Provenance

File details

Details for the file victoria-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: victoria-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.9

File hashes

Hashes for victoria-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 61b821aead336aabda2d8f079f3205980781596b224568db2c6bc00ce6d9c2c1
MD5 cf312511d74afde444a43216dd07b56c
BLAKE2b-256 80dcb4e35814471da860239a89a93ec14101d7385da97f9a6b6e267e0d792aad

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page