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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f29b0b70f2eb69820df8809dc39bbc3430a75dec38b73a8a84439e2be1bb7213
|
|
| MD5 |
16c747517eb4c46d259a6b7f8284034c
|
|
| BLAKE2b-256 |
3c83598e975e791ae832cc1b1881862d7c7e1523b81304c4d23b077861cd685f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27e9bb21c2d6deca33498395fed8036129324432c66959324eea9920129341de
|
|
| MD5 |
83793b317eab3d00a109695dccdb288b
|
|
| BLAKE2b-256 |
47dceddaf919e9fc60679063a237b6634f6d18d6066b764db7ebcddd9ccc9de1
|