Metadata-Version: 2.4
Name: longlink
Version: 0.1.41
Summary: Python SDK for building and packaging LongLink applications.
Author-email: LongLink SAGL <info@longlink.ch>
License-Expression: Apache-2.0
Project-URL: Homepage, https://www.longlink.dev
Project-URL: Documentation, https://longlink.dev/docs
Project-URL: Repository, https://github.com/xLongLink/longlink.git
Project-URL: Bug Tracker, https://github.com/xLongLink/longlink/issues
Keywords: longlink,sdk,fastapi,sqlalchemy,pydantic,alembic
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Requires-Python: >=3.14
Description-Content-Type: text/markdown
Requires-Dist: alembic
Requires-Dist: click
Requires-Dist: lxml
Requires-Dist: uvicorn
Requires-Dist: pydantic
Requires-Dist: pydantic-settings
Requires-Dist: fsspec
Requires-Dist: fastapi>=0.138.0
Requires-Dist: aiosqlite
Requires-Dist: asyncpg
Requires-Dist: sqlmodel
Requires-Dist: xmltodict
Provides-Extra: cli
Requires-Dist: rich; extra == "cli"
Requires-Dist: click; extra == "cli"
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-asyncio; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: pytest-mock; extra == "dev"
Requires-Dist: pyright; extra == "dev"
Requires-Dist: lxml-stubs; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: httpx2; extra == "dev"

<div align="center">

# LongLink SDK

Python SDK for building and packaging LongLink applications.

[![PyPI version](https://img.shields.io/pypi/v/longlink)](https://pypi.org/project/longlink/)
[![Python versions](https://img.shields.io/pypi/pyversions/longlink)](https://pypi.org/project/longlink/)
[![License](https://img.shields.io/github/license/xLongLink/longlink)](https://github.com/xLongLink/longlink/blob/main/LICENSE)

[Website](https://longlink.dev) &nbsp; - &nbsp; [Docs](https://longlink.dev/docs) &nbsp; - &nbsp; [Issues](https://github.com/xLongLink/longlink/issues)

</div>

<br/>

## Quick Start

Requirements: Python 3.14 or newer, `uv`, and Docker if you want to build an image.

```bash
uvx longlink init --folder sample
cd sample
uv sync
uv run longlink dev
```

<br />

## Commands

| Command                          | Description                             |
| -------------------------------- | --------------------------------------- |
| `longlink init --folder <name>`  | Create a new app.                       |
| `longlink dev`                   | Run the app locally.                    | > |
| `longlink migrate`               | Run database migrations.                |
| `longlink docs [component]`      | Show XML component docs.                |
| `longlink translations generate` | Update translation files from XML keys. |
| `longlink build [--tag <tag>] [--registry <host>] [--push]` | Build the app Docker image. |
