Package Lumengine extensions (.lmext archives)
Project description
lm-package
Package Lumengine extensions into .lmext archives.
Lightweight CLI tool (stdlib only) that validates, packages, and optionally signs Lumengine extensions for distribution via the Extension Manager.
Installation
pip install lm-package # base (stdlib only)
pip install lm-package[signing] # with Ed25519 signing (cryptography)
Usage
# Package a Python extension
lm-package .
# Package a C++ extension from build output
lm-package . --build-dir Release/Plugins/MyExt
# Package with ABI tag (for native C++ extensions)
lm-package . --build-dir build/install --abi-tag msvc-win64-release
# Validate manifest without packaging
lm-package . --validate
# Generate Ed25519 key pair for signing
lm-package --genkeys my-publisher
# Package and sign
lm-package . --sign my-publisher.key
Also accessible via module:
python -m lm_package .
ABI Tags
Native C++ extensions must specify an ABI tag to differentiate platform/config variants:
| Tag | Platform |
|---|---|
msvc-win64-release |
Windows x64 Release |
msvc-win64-debug |
Windows x64 Debug |
gcc-linux64-release |
Linux x64 Release |
gcc-linux64-debug |
Linux x64 Debug |
The --abi-tag flag injects the tag into the manifest embedded in the .lmext archive and appends it to the output filename.
Manifest
Every extension requires a manifest.json at its root:
{
"formatVersion": 1,
"id": "com.author.my-extension",
"name": "My Extension",
"version": "1.0.0",
"description": "What it does",
"author": { "name": "Author Name" },
"engine": { "minVersion": "26.0.0" },
"platforms": ["windows-x64", "linux-x64"],
"pluginType": "editor"
}
Supported pluginType values: editor, nodes, importer, extension-pack.
License
Apache-2.0
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lm_package-1.2.0.tar.gz.
File metadata
- Download URL: lm_package-1.2.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a316de7ff5bb8259e5a2b12b540bdb9725f83282ecf8e12414cbc47aece37da9
|
|
| MD5 |
bbd4bb7528bb19dab64b8e80a8977045
|
|
| BLAKE2b-256 |
c20591104c632144ffead5afafd8d56a2474f46267dc1a0f82dcf9173fcc48ea
|
Provenance
The following attestation bundles were made for lm_package-1.2.0.tar.gz:
Publisher:
publish.yml on Lumengine/lm-package
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lm_package-1.2.0.tar.gz -
Subject digest:
a316de7ff5bb8259e5a2b12b540bdb9725f83282ecf8e12414cbc47aece37da9 - Sigstore transparency entry: 1262788523
- Sigstore integration time:
-
Permalink:
Lumengine/lm-package@61d87380ae7ef12a8b8ae5b673e6dab8247465eb -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/Lumengine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@61d87380ae7ef12a8b8ae5b673e6dab8247465eb -
Trigger Event:
push
-
Statement type:
File details
Details for the file lm_package-1.2.0-py3-none-any.whl.
File metadata
- Download URL: lm_package-1.2.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8541d679f61cdd0e7a6d29f17596dd69f889682e9207b7b6108338bccde20d45
|
|
| MD5 |
0c11720584cfd5345e523822f74549db
|
|
| BLAKE2b-256 |
45a1f4a4288269732c958abaa61f05f3b340441b82931027c247f474aca4dec5
|
Provenance
The following attestation bundles were made for lm_package-1.2.0-py3-none-any.whl:
Publisher:
publish.yml on Lumengine/lm-package
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lm_package-1.2.0-py3-none-any.whl -
Subject digest:
8541d679f61cdd0e7a6d29f17596dd69f889682e9207b7b6108338bccde20d45 - Sigstore transparency entry: 1262788532
- Sigstore integration time:
-
Permalink:
Lumengine/lm-package@61d87380ae7ef12a8b8ae5b673e6dab8247465eb -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/Lumengine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@61d87380ae7ef12a8b8ae5b673e6dab8247465eb -
Trigger Event:
push
-
Statement type: