Skip to main content

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

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

python-pallycon-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

python_pallycon-0.0.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file python-pallycon-0.0.2.tar.gz.

File metadata

  • Download URL: python-pallycon-0.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • 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

Hashes for python-pallycon-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f71de55ea7796c9063d99ff596d916839f5bf579ea4db43ecf3148ff0bc29769
MD5 fb75c8a1e3c48c833667d89f3ece0d92
BLAKE2b-256 380b336d748b5019ab780f71594533cdc8b90d9345da16d6576071b3a343a479

See more details on using hashes here.

File details

Details for the file python_pallycon-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: python_pallycon-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • 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

Hashes for python_pallycon-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 11ac3d5304c1f2f079b6a3d820cfebc4fcc295bdc333c8c3dbac423e02e5cbbe
MD5 870e15d6f4bf44abe848ebaa9785ecee
BLAKE2b-256 389d69dfb11715de92d586c8d8f8fd14deefccb6b4b0027f71b6385d2fbdfbbf

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