Python SDK for building and packaging LongLink applications.
Project description
LongLink SDK
Python SDK for building and packaging LongLink applications, including shared organization models, synchronization helpers, and migrations.
Gettin started
longlink init
See
xLongLink/samplefor a minimal LongLink application that demonstrates SDK setup, XML pages, translations, routes, tests, and Docker image builds.
Development
make sdk
This builds the SDK web bundle, recreates sdk/dev, links that generated app to the local SDK source, and starts the SDK development app. Do not keep manual changes in sdk/dev; it is recreated by this command.
Requirements: Python 3.14 or newer,
uv, and Docker if you want to build an image. SeeCONTRIBUTING.mdfor more details.
Testing
uv sync --extra dev
uv run pytest tests
The longlink package owns the shared-schema model and migration definitions as well as application migration tooling. The Platform API executes shared migrations and writes with control-plane credentials; application runtimes use the same shared model with read-only database access.
Storage
The LongLink Platform provides one physical bucket per Organization and scopes each runtime with these variables:
| Variable | Purpose |
|---|---|
LONGLINK_STORAGE_BUCKET |
Physical Organization bucket. |
LONGLINK_STORAGE_PREFIX |
Application storage prefix under that bucket. |
LONGLINK_STORAGE_REGION |
Provider signing region when required. |
LONGLINK_STORAGE_SHARED_PREFIX |
Organization shared-storage prefix under the bucket. |
Pass the bucket and the relevant prefix to create_fs. The returned filesystem treats that prefix as its root, so Application code uses only paths relative to its scoped view. Development and testing can leave all four values unset to use the local and in-memory filesystem roots.
Project details
Release history Release notifications | RSS feed
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 longlink-0.1.49.tar.gz.
File metadata
- Download URL: longlink-0.1.49.tar.gz
- Upload date:
- Size: 891.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c5deae0001c73761d1aeeeeaa4c818341ab2ba20cb2ae6d609586008f89e6f1
|
|
| MD5 |
9c3e7270aa7e09af82623a5a90ae2119
|
|
| BLAKE2b-256 |
b24993ef6fde82a849590d83c7d8708a2ee45896c8727da9829c86093c23b634
|
File details
Details for the file longlink-0.1.49-py3-none-any.whl.
File metadata
- Download URL: longlink-0.1.49-py3-none-any.whl
- Upload date:
- Size: 853.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f2a7cce430127a12f56a2135e7bd08bbf7683b96d5e914a196c08a4d6fe92d0
|
|
| MD5 |
48f37254d97916f4335a6fcaf590e418
|
|
| BLAKE2b-256 |
ffbffdca86ddffc08e3f21c0e46f8f0c79ab8f2215a7e4f934328ba35a044a26
|