Skip to main content

Key Generator

Installation

pip3 install python-keygen

Usage

To Generate Key

from keygen import KeyGen
keygen = KeyGen()
keygen.gen_key(length=20)

To Validate A Key

from keygen import KeyGen
keygen = KeyGen()
key = input("Enter Your Key: ")
is_valid = keygen.validate(key) # return true if key is valid else false
if is_valid:
    print("Valid Key")
else:
    print("Not Valid Key")

Release files for python-keygen 1.6

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

Source distribution (sdist)

Source distribution for python-keygen 1.6
File Size Uploaded
python-keygen-1.6.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-keygen 1.6
File Interpreter ABI Platform
python_keygen-1.6-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / python-keygen-1.6.tar.gz

Download URL python-keygen-1.6.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4ba14a959b094e2d16d42e6de3a87a65e3cd01b153ce20da5cacf6fd7e56fdce
BLAKE2b-256 checksum
How to use checksums
aa216e0e82600100b21147fbda211d327e6c92bf46182aa1c44c0b2afb45851e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5

Release files / python_keygen-1.6-py3-none-any.whl

Download URL python_keygen-1.6-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d9bf4e6b2a53d271495293e460a6187c86aeb949bda2409d8cbfea2c666f422
BLAKE2b-256 checksum
How to use checksums
bb411041134d810c043fe1ebac9d7cad2b2acc714f60c6e3f2199c6e4bcec0bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.6 This release

2 release files

1.5

2 release files

1.3

2 release files

1.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