Skip to main content

Stride Licensing module for internal tools

Project description

Stride License

Install

pip install stride-license

Encode

  • Generate License key by encoding data
from stride-license import generate_license, generate_key


secret_key = generate_key()
data = {} # data to be encoded
# license is generated
license = generate_license(data, secret_key)

Decode

  • Decode data from license key and secret key
from stride-license import decode_license

# decode data
data = decode_license(license_key, secret_key)

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

stride-license-0.1.2.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stride_license-0.1.2-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file stride-license-0.1.2.tar.gz.

File metadata

  • Download URL: stride-license-0.1.2.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for stride-license-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bd092e33407f9c23841c516e1788aab302288841777aea3fbdc235226b3fe1af
MD5 7cdfa531c2701f1c9255575a025d3d6d
BLAKE2b-256 8dd4abe14d33237c4d1e20534ecaa0d9869e7eb4879482361d9f302456663ea8

See more details on using hashes here.

File details

Details for the file stride_license-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for stride_license-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3864e1d7f470acc9dbd350642d1c58a1a627df72deee46c304177e30604d3fa7
MD5 c5d22633658c8bade7161375d3dc6800
BLAKE2b-256 e4b44952242c02d070da7b17e5e08bf022c0888c76436953ead76ef0a5727e3b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page