Skip to main content
Made with pop, a Python implementation of Plugin Oriented Programming Made with Python

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

Metadata

Release files for idem-random 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for idem-random 2.0.0
File Size Uploaded
idem-random-2.0.0.tar.gz 14.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for idem-random 2.0.0
File Interpreter ABI Platform
idem_random-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.4 kB

Release files / idem-random-2.0.0.tar.gz

Download URL idem-random-2.0.0.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
49cd7d251a0ab80aa8f840a017efafa76594fd37cb98ba687887cfe4aeaf64aa
BLAKE2b-256 checksum
How to use checksums
2387684a9188bf84655a310097df6aa7cb26e4fd8e10ed72bed0a4690480d922
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / idem_random-2.0.0-py3-none-any.whl

Download URL idem_random-2.0.0-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8cfa6708b306f03b55eddf1d5148cd9ae244c49f421c586b24df8c9bab05f06a
BLAKE2b-256 checksum
How to use checksums
75299ce883ff5ca041fcb6d25c35d3cb4c996903cf8cc78837d20f371cdb1241
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page