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.6+
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-0.2.1.tar.gz
.
File metadata
- Download URL: idem-random-0.2.1.tar.gz
- Upload date:
- Size: 13.6 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.3 tqdm/4.65.0 importlib-metadata/6.7.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2369989eacdcc428ffc117d467127bee7e09144b7f1808d700ff6d9460a1aedb |
|
MD5 | 14f31a9a397d0898fdc3a753c27bd96f |
|
BLAKE2b-256 | 54927582e35bbb3ca791643d6e4e948b443712d0e6acc21966e3344a181a525f |
File details
Details for the file idem_random-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: idem_random-0.2.1-py3-none-any.whl
- Upload date:
- Size: 15.7 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.3 tqdm/4.65.0 importlib-metadata/6.7.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc64f935600a65873d69dee61de0ad4aa94da64d0859ac62e7c8f2926fb49bf5 |
|
MD5 | 63fb086a12ec3d1c47b26958d54fc371 |
|
BLAKE2b-256 | a0813b6f8192e6210a926833801132b4088995c915c70ce6f66039102fbf9c97 |