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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page