Skip to main content

Simple DRM system

Project description

DevyDRM

The DevyDRM provides a set of functions to manage digital rights and permissions. This library is designed to be easy to use and integrate into your projects.

Installation

You can install the DevyDRM using pip:

.. code-block:: bash

pip install DevyDRM

Usage

To use the DevyDRM, you need to import it in your project:

.. code-block:: python

import DevyDRM

Functions

  • generete_license_key() -> str, str: Generate 16-digits long string return key and key hash in sha-256.
  • verify_license_key(key1: str) -> bool: Validate license key.
  • get_license_key() -> str: Return generated key.

Examples

Here is an example of how to use the DevyDRM library:

.. code-block:: python

import DevyDRM

DRM_object = DevyDRM()
sha256-hashed-key, license-key = generete_license_key()
verify_license_key(input("Enter License Key: "))

print(f"Key string: {license-key}")
print(f"Hashed key: {sha256-hashed-key}")

Contributing

If you would like to contribute to the DevyDRM, please fork the repository and submit a pull request. We welcome all contributions!

License

This project is licensed under the GNU General Public License v3 (GPLv3). See the LICENSE file for more details.

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

devydrm-0.0.1.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

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

devydrm-0.0.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file devydrm-0.0.1.tar.gz.

File metadata

  • Download URL: devydrm-0.0.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for devydrm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f29b0b70f2eb69820df8809dc39bbc3430a75dec38b73a8a84439e2be1bb7213
MD5 16c747517eb4c46d259a6b7f8284034c
BLAKE2b-256 3c83598e975e791ae832cc1b1881862d7c7e1523b81304c4d23b077861cd685f

See more details on using hashes here.

File details

Details for the file devydrm-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: devydrm-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for devydrm-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27e9bb21c2d6deca33498395fed8036129324432c66959324eea9920129341de
MD5 83793b317eab3d00a109695dccdb288b
BLAKE2b-256 47dceddaf919e9fc60679063a237b6634f6d18d6066b764db7ebcddd9ccc9de1

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