From 52e72221bf65d118bc323866243f3fdbd2589c58 Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Wed, 5 Aug 2020 17:21:45 -0700 Subject: Initialize gh-pages --- source/alphanum.html | 257 +++++++++++++++++++++++++++++++++++++++++++++++++++ source/modules.html | 226 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 483 insertions(+) create mode 100644 source/alphanum.html create mode 100644 source/modules.html (limited to 'source') diff --git a/source/alphanum.html b/source/alphanum.html new file mode 100644 index 0000000..6b49faa --- /dev/null +++ b/source/alphanum.html @@ -0,0 +1,257 @@ + + + + + + + + + + alphanum package — alphanum 0.2.0 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ +
+

alphanum package

+
+

Submodules

+
+
+

alphanum.alphanum module

+
+
+alphanum.alphanum.generate(length: int = 1)str[source]
+

Generates a random string of alphanumeric characters of the given length. +If no length is specified, a single character is returned.

+

On Python 3.5, this string is pseudo-randomly generated using +random. With 3.6 and later, the randomness is generated with +secrets, making the randomization cryptographically strong.

+
+
Parameters
+

length (int, optional) – Desired string length. Defaults to 1.

+
+
Returns
+

A pseudo-random alphanumeric string.

+
+
Return type
+

str

+
+
+

Examples

+
>>> print(alphanum.generate())
+'G'
+>>> print(alphanum.generate(10))
+'a93jfDjdA0'
+
+
+
+ +
+
+

Module contents

+
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + + + + + + + + \ No newline at end of file diff --git a/source/modules.html b/source/modules.html new file mode 100644 index 0000000..a986668 --- /dev/null +++ b/source/modules.html @@ -0,0 +1,226 @@ + + + + + + + + + + alphanum — alphanum 0.2.0 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+ + +
+ + +
+
+ +
+ +
+ + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3