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.15.tar.gz (29.1 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.15-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylocket-1.1.15.tar.gz
  • Upload date:
  • Size: 29.1 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.15.tar.gz
Algorithm Hash digest
SHA256 7d1918259686fcae6f32ed93e781e5f7087f406801c801bc3e77385b37ffd363
MD5 f846cb1535ef6090b97fb0abeff6e21c
BLAKE2b-256 71986a08bfc7a7c095ad69f5ac327aa89f21b1b4cc46547418ad43bcc1f0fbbf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylocket-1.1.15-py3-none-any.whl
  • Upload date:
  • Size: 37.9 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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 8d24edc52455d001120e7ec34095433822cd3a3d3db353b0d65cb3287c41b56f
MD5 cdf568a09da7887085e63fb9b55d8f9e
BLAKE2b-256 1fdbf785ceba58a1d9b89c907561304d846589e2924982dca91bacb5f118bb7d

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