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)
| File | Size | Uploaded | |
|---|---|---|---|
| lalian-0.1.1.tar.gz | 14.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|