Skip to main content

Implementation of randrange using secrets.

Project description

secretsrandrange

Implementation of randrange using secrets.

Installation

Install with pip

pip3 install -U secretsrandrange

Usage

secretsrandrange.randrange(
	start:int,
	stop=typing.Union[int, NoneType],
	step:int=1
		) -> int
    Return a randomly selected element from range(start, stop, step).
    This is equivalent to choice(range(start, stop, step)),
    but doesn’t actually build a range object.
    :param start: int: Start number.
    :param stop: Stop number. (Default value = Optional[int])
    :param step: int: Step (Default value = 1)

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

secretsrandrange-0.2.tar.gz (1.7 kB view hashes)

Uploaded Source

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