The python SDK for Pallycon
Project description
python-pallycon
The Python SDK for Pallycon
Installation
$ pip install python-pallycon
Usage
from pallycon import PallyConClient
# Initialise the client
client = PallyConClient(
site_id="TUTO",
site_key="lU5D8s3PWoLls3PWFWkClULlFWk5D8oC",
access_key="LT2FVJDp2Xr018zf4Di6lzvNOv3DKP20",
drm_type="Widevine",
user_id="test-user",
content_id="bigbuckbunny",
license_rule={
"playback_policy": {"limit": True, "persistent": False, "duration": 3600}
},
)
# Get the license token
license_token = client.license_token
# Package media file to DASH format
client.package_to_dash("Test Song.mp4", "Test Song")
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
python-pallycon-0.0.5.tar.gz
(9.0 MB
view details)
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 python-pallycon-0.0.5.tar.gz.
File metadata
- Download URL: python-pallycon-0.0.5.tar.gz
- Upload date:
- Size: 9.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.2.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ebbaef6cfc1074adb12cae474c0402b41e8d8eb8b5ca00d0f125af776da77d6
|
|
| MD5 |
eb1308cec5fca8d3410ab148fcb5ce16
|
|
| BLAKE2b-256 |
a5a314a70d8f6d94bc8a4e3b53170aaa6d29e25ae5c4b36e5e6708c3f69ecd55
|
File details
Details for the file python_pallycon-0.0.5-py3-none-any.whl.
File metadata
- Download URL: python_pallycon-0.0.5-py3-none-any.whl
- Upload date:
- Size: 9.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.2.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0b7d209d29cc21236269400eb6dd8290ca12fde0d84ec5248e83dd9c1fabc70
|
|
| MD5 |
511730bc84ff1e96a062012c73b29102
|
|
| BLAKE2b-256 |
399b8667ff59359848f66971ee378b77315bf4c283c2bbfa70281e430cea4961
|