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

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.14.tar.gz (27.8 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.14-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pylocket-1.1.14.tar.gz
Algorithm Hash digest
SHA256 f81cae1d6c3b499852a4b44f888c5110bd69a0f2c480d68f34b5952e293f3039
MD5 075ed3e6880be3a1fde7d4d19fc214e2
BLAKE2b-256 c6766a69f3da2ecef5ec917d53cd8f9d68c196bc7d2729da8f8ed4935806e800

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pylocket-1.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 00ca7515921c6957b66e1c8adcdf312d6a26a69094b39cb7611b0e6a138d3cf1
MD5 6434fbd9471ca83803ec83a4e3edf896
BLAKE2b-256 17358bde2241082b61690f37e130339f189f0afcc0fa74ee7669fed91a553642

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