Project description
A compact Python tool to check if a Widevine device certificate (DCSL) is revoked or valid.
📦 What is PyDCSL?
PyDCSL is a lightweight Python utility that interacts with a custom API to process Widevine license components — specifically .wvd, client_id, and private_key files — and fetch the corresponding DRM metadata.
It acts as a tool for DRM inspection, metadata extraction, and license validation purposes. The tool provides both a command-line interface (CLI) and an importable Python module.
⚙️ Features
- 🧾 Accepts .wvd, client_id, and private_key inputs
- 🌐 Sends requests to a Widevine DCSL-compatible API
- 📊 Pretty-prints extracted metadata using rich (if available)
- 🧪 Supports both CLI and importable module
- 📁 Optionally saves results to a JSON file
🚀 Usage
🔧 Command-Line Interface
To get started with the CLI, simply run:
pydcsl -h📋 Output Example
Here’s an example of what the output looks like when you run the tool:
🧾 License
This project is licensed under the MIT License. See the LICENSE file for more details.
❗ Disclaimer
This tool is intended for educational, debugging, and interoperability purposes only. Usage of Widevine-protected materials must comply with relevant laws and terms of service. The authors of this project do not condone or support illegal or unethical use.
🤝 Contributions
Contributions, fixes, and improvements are welcome! Feel free to open an issue or submit a pull request (PR).
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
File details
Details for the file pydcsl-0.4.0.tar.gz.
File metadata
- Download URL: pydcsl-0.4.0.tar.gz
- Upload date: Jul 25, 2025
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| e64885ad3ac39ec259c4ab2cb91bdee50d5055fc5646232469cb0b03321acc31 | |
| 8f79dc3c6f5d5162fbc9f8a10de3c08b | |
| 1af0a5be26fac1c038a7dca728e62ba92c6d0a4704ac4fdddc9c66f937d8e250 |
File details
Details for the file pydcsl-0.4.0-py3-none-any.whl.
File metadata
- Download URL: pydcsl-0.4.0-py3-none-any.whl
- Upload date: Jul 25, 2025
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| 7980e99201960d5ae0faa40fa9f2678d80946dca7a0c85fd7f756a6c43705fb4 | |
| e833286d5959b726d8114f48dd64a0ce | |
| 76138afdddfccda2b3732ec0bae2c471bd6e7155b0dbac2227922d73cf6715c2 |
.png)
