Metadata-Version: 2.4
Name: longlink
Version: 0.1.46
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
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.14
Description-Content-Type: text/markdown
Requires-Dist: alembic<2,>=1.18.5
Requires-Dist: click<9,>=8.3.3
Requires-Dist: lxml<7,>=6.1.0
Requires-Dist: uvicorn<0.47,>=0.46.0
Requires-Dist: pydantic<3,>=2.13.4
Requires-Dist: pydantic-settings<3,>=2.14.0
Requires-Dist: fsspec<2027,>=2026.4.0
Requires-Dist: s3fs<2027,>=2026.4.0
Requires-Dist: fastapi<0.140,>=0.138.0
Requires-Dist: aiosqlite<0.23,>=0.22.1
Requires-Dist: asyncpg<0.32,>=0.31.0
Requires-Dist: sqlmodel<0.0.40,>=0.0.39
Requires-Dist: tenant<0.1.0,>=0.0.0
Provides-Extra: cli
Requires-Dist: rich<16,>=15.0.0; extra == "cli"
Requires-Dist: click<9,>=8.3.3; extra == "cli"
Provides-Extra: dev
Requires-Dist: pytest==9.1.1; extra == "dev"
Requires-Dist: pytest-asyncio==1.3.0; extra == "dev"
Requires-Dist: pytest-cov==7.1.0; extra == "dev"
Requires-Dist: pytest-mock==3.14.1; extra == "dev"
Requires-Dist: pyright==1.1.411; extra == "dev"
Requires-Dist: ruff==0.15.20; extra == "dev"
Requires-Dist: lxml-stubs==0.5.1; extra == "dev"
Requires-Dist: isort==8.0.1; extra == "dev"
Requires-Dist: httpx==0.28.1; extra == "dev"
Requires-Dist: httpx2==2.3.0; 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>


## Gettin started

```bash
longlink init
```

> See [`xLongLink/sample`](https://github.com/xLongLink/sample) for a minimal LongLink application that demonstrates SDK setup, XML pages, translations, routes, tests, and Docker image builds.


<br/>

## Development

```bash
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. See [`CONTRIBUTING.md`](./CONTRIBUTING.md) for more details.


<br/>

## Testing

```bash
uv sync --extra dev
uv run pytest tests
```

<br/>
<br/>


---

<div align="center">
LongLink 2026

[License](./LICENSE) &nbsp; - &nbsp; [Contributing](./CONTRIBUTING.md) &nbsp; - &nbsp; [Contact](mailto:info@longlink.ch)

</div>

---
