Skip to main content

No project description provided

Project description

Lalian

Create a pseudo-executable with embedded Python code using zipimport. Inspired by the approach used in the yt-dlp Makefile.

$ mkdir out; python3 -m lalian lalian out/lalian
$ ls out/
lalian  lalian.bat
$ out/lalian --help
usage: lalian [-h] module basename

positional arguments:
  module
  basename

options:
  -h, --help  show this help message and exit

You can also install it with pipx:

$ pipx install lalian

Currently, this approach works only if the target module has no external dependencies. If external dependencies are required, they must be installed in the global Python environment.

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

lalian-0.1.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

lalian-0.1.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file lalian-0.1.0.tar.gz.

File metadata

  • Download URL: lalian-0.1.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11

File hashes

Hashes for lalian-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f873ca67036974b02c945cd121b044afdf8a764eb738e3120d95dd1d2148a5d1
MD5 c7a608266c770919598801280b6895f3
BLAKE2b-256 4129c6acc0b5955707743cedd4529b616917bb9f1ec06891aafcce330f7cd00c

See more details on using hashes here.

File details

Details for the file lalian-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lalian-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11

File hashes

Hashes for lalian-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21c67f56ab245e0a90c00116bc2f7b457f56ed2754ba4e745f88973215ff1f5d
MD5 d898d5f7e9db67f7b6a17ef74e74ba01
BLAKE2b-256 7efa3fe12a818f728a4b7e0c0c802000aa9f5408fe3fcf1ab44d59772bf7fea6

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