Skip to main content

Idem plugin for providing randomness

Project description

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

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

idem-random-2.0.0.tar.gz (14.0 kB view hashes)

Uploaded Source

Built Distribution

idem_random-2.0.0-py3-none-any.whl (16.4 kB view hashes)

Uploaded Python 3

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