Skip to main content

Template project for Chaos Toolkit extensions

Project description

Chaos Toolkit Extension Template

Version License

Build, Test, and Lint Python versions

This project should be used as a starting point to create your own Chaos Toolkit extension.

Install

This package requires Python 3.7+

To be used from your experiment, this package must be installed in the Python environment where chaostoolkit already lives.

$ pip install chaostoolkit-<your extension name here>

Usage

That's it!

Please explore the code to see existing probes and actions.

Configuration

Test

To run the tests for the project execute the following:

$ pdm run test

Formatting and Linting

We use a combination of black, ruff, and isort to both lint and format this repositories code.

Before raising a Pull Request, we recommend you run formatting against your code with:

$ pdm run format

This will automatically format any code that doesn't adhere to the formatting standards.

As some things are not picked up by the formatting, we also recommend you run:

$ pdm run lint

To ensure that any unused import statements/strings that are too long, etc. are also picked up.

Contribute

If you wish to contribute more functions to this package, you are more than welcome to do so. Please, fork this project, make your changes following the usual black code style, sprinkling with tests and submit a PR for review.

To contribute to this project, you will also need to install pdm.

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

chaostoolkit_extension_template-0.3.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file chaostoolkit_extension_template-0.3.0.tar.gz.

File metadata

File hashes

Hashes for chaostoolkit_extension_template-0.3.0.tar.gz
Algorithm Hash digest
SHA256 46a3671cbff6a57db924985e2486ba402324807de7acd45bd2267e6d62d41a5c
MD5 63379672f9c7fc248347187fc6b05fcf
BLAKE2b-256 33608af9edfa9df9b815520c5ee356d448068f64940e8915fc0d9c6553ff6617

See more details on using hashes here.

File details

Details for the file chaostoolkit_extension_template-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chaostoolkit_extension_template-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34999989dfc9926e3be626c55f4861f99f18ef02fa0c427ac60bf3676922b829
MD5 191ea69d591531ed1f2a5cae4281c705
BLAKE2b-256 93ae2826d3bf5e52d366f35e6c7fadaabf8ede2d67da7015a5fc3f29966eadd5

See more details on using hashes here.

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