Idem plugin for providing randomness
Project description
An Idem plugin that provides randomness.
About
Idem Random provides us with logical states like random password, random integer, random string which can be used in conjunction with other idem plugins. This plugin in itself doesn’t interact with the any cloud provider.
An example use-case where this plugin can be used is - AWS RDS database instance needs a password when its created. We can use AWS’s RDS state along with Idem random password state in order to generate a random password at runtime and help create the RDS instance.
Random ID
The resource random_id generates random numbers that are intended to be used as unique identifiers for other resources. This resource does use a cryptographic random number generator in order to minimize the chance of collisions, making the results of this resource when a 16-byte identifier is requested of equivalent uniqueness to a type-4 UUID.
What is POP?
This project is built with pop, a Python-based implementation of Plugin Oriented Programming (POP). POP seeks to bring together concepts and wisdom from the history of computing in new ways to solve modern computing problems.
For more information:
Getting Started
Prerequisites
Python 3.8+
git (if installing from source, or contributing to the project)
Installation
If wanting to use idem-random, you can do so by either installing from PyPI or from source.
Install from PyPI
If package is available via PyPI, include the directions.
pip install idem-random
Install from source
# clone repo
git clone git@gitlab.com/vmware/idem/idem-random.git
cd idem-random
# Setup venv
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
Roadmap
Reference the open issues for a list of proposed features (and known issues).
Acknowledgements
Img Shields for making repository badges easy.
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
Built Distribution
File details
Details for the file idem-random-2.0.0.tar.gz
.
File metadata
- Download URL: idem-random-2.0.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.65.0 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49cd7d251a0ab80aa8f840a017efafa76594fd37cb98ba687887cfe4aeaf64aa |
|
MD5 | 4e5c28edbc626dd4c32980924860b753 |
|
BLAKE2b-256 | 2387684a9188bf84655a310097df6aa7cb26e4fd8e10ed72bed0a4690480d922 |
File details
Details for the file idem_random-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: idem_random-2.0.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.65.0 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cfa6708b306f03b55eddf1d5148cd9ae244c49f421c586b24df8c9bab05f06a |
|
MD5 | 504e8b13c68e759f83ac5a43b20ad784 |
|
BLAKE2b-256 | 75299ce883ff5ca041fcb6d25c35d3cb4c996903cf8cc78837d20f371cdb1241 |