Skip to main content

PyLocket CLI - Protect and distribute Python applications

Project description

PyLocket CLI

Protect and distribute Python applications from the command line.

Installation

pip install pylocket

Or download platform-specific binaries from GitHub Releases or your Developer Portal.

Verify Binary Downloads

Each release includes a SHA256SUMS file for integrity verification:

# Download the binary and checksum file
curl -LO https://github.com/klamaute/PyLocket/releases/latest/download/pylocket-linux-x64
curl -LO https://github.com/klamaute/PyLocket/releases/latest/download/SHA256SUMS

# Verify
sha256sum -c SHA256SUMS --ignore-missing

Supported Python Versions

  • Python 3.12
  • Python 3.13
  • Python 3.14

Quick Start

# Authenticate via browser (recommended for 2FA users)
pylocket login --sso

# Or authenticate with email/password
pylocket login

# List your apps
pylocket apps list

# Protect a PyInstaller executable
pylocket protect --app <APP_ID> --artifact dist/myapp.exe

# Check build status
pylocket status --build <BUILD_ID>

# Download the protected artifact
pylocket fetch --build <BUILD_ID> --out ./protected/

Commands

Command Description
pylocket login Authenticate with your PyLocket account
pylocket login --sso Authenticate via browser (OAuth2 PKCE — recommended for 2FA)
pylocket apps list List all your applications
pylocket apps create Create a new application
pylocket protect Upload and protect an artifact
pylocket status Check build protection status
pylocket fetch Download a protected artifact
pylocket distribute Generate end-user download links
pylocket licenses Manage license keys
pylocket webhook Configure build event webhooks

Supported Artifact Types

  • PyInstaller (onefile and onedir)
  • cx_Freeze (Windows .exe)
  • Briefcase (macOS, Windows, Linux)
  • Wheels (.whl)
  • Raw scripts (.py)
  • ZIP archives
  • macOS .app bundles

Documentation

Full documentation: docs.pylocket.com

Support

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

pylocket-1.1.12.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

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

pylocket-1.1.12-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

Details for the file pylocket-1.1.12.tar.gz.

File metadata

  • Download URL: pylocket-1.1.12.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for pylocket-1.1.12.tar.gz
Algorithm Hash digest
SHA256 79c18131c6d859bb5dd4e4fbe2e899534705b6ab864d0ff0ddb3db261333168e
MD5 c81ef55883d940c98df630dd364fc699
BLAKE2b-256 3ac13320d5ec48d9d9a52f41e30c583e2b65cdc855ff938b57f106203ad772fe

See more details on using hashes here.

File details

Details for the file pylocket-1.1.12-py3-none-any.whl.

File metadata

  • Download URL: pylocket-1.1.12-py3-none-any.whl
  • Upload date:
  • Size: 35.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for pylocket-1.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 e0bb0567bfa05f67648c95e77a30d3ac8e11044351b4a410bdbacd94a0a84195
MD5 8d2c0980a569d78dec0ec5740ad13b3a
BLAKE2b-256 7f3bff179b6be7ff9f4b7db7ea9f74976115ce8380e02be4513462ddae7c7728

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