Skip to main content

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] package basename

positional arguments:
  package
  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 package has no external dependencies. If external dependencies are required, they must be installed in the global Python environment.

Release files for lalian 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lalian 0.1.1
File Size Uploaded
lalian-0.1.1.tar.gz 14.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lalian 0.1.1
File Interpreter ABI Platform
lalian-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 30.2 kB

Release files / lalian-0.1.1.tar.gz

Download URL lalian-0.1.1.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
32bafd5f967d28bde0eeda134d46ed9894f6e3d11672cbde383ab56fe0605dd0
BLAKE2b-256 checksum
How to use checksums
bbd3c52bcf1b371f7fdae60adda1592ba0d6f2451883ff79e15afcfe3104c51b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Windows/11

Release files / lalian-0.1.1-py3-none-any.whl

Download URL lalian-0.1.1-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c11c0590b0b88fb7e6385f83e0cc993770d9b4bb399c96cf08d8a3f499b76a7d
BLAKE2b-256 checksum
How to use checksums
dd971a793059f515162cb5be8f88e7416cc3bd5327513d91a98b7b87317f0d32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Windows/11

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page