lanarky logo

lanarky

ajndkr/lanarky

A web framework for building LLM microservices (deprecated)

GraphCanon updated today · GitHub synced today

990 stars76 forksLast push 2y Python MIT

Decision brief

Lanarky, a deprecated Python-based framework for building LLM microservices with FastAPI, offers streamlined development but comes with caveats related to its deprecated status.

Good fit when

  • - Use if your project requires specific historical compatibility or knowledge of how Lanarky operated in the past.
  • - Consider using it for educational purposes to understand older versions of web and LLM service frameworks.

Avoid when

  • - Avoid new deployments that rely on active maintenance and updates; opt for actively maintained alternatives like FastAPI directly without Lanarky's now-deprecated layer.
  • - Do not use if your application needs modern security patches or features, as the deprecated status signifies no further development or support.
Pricing:
freemium - The library itself is free to use due to its open-source licensing. However, any associated services like OpenAI's `ChatCompletion` may incur costs depending on the service provider’s pricing.
Requirements:
Min 1 GB RAM; Ensure you have Python and Pip installed to utilize Lanarky.; No Docker installation is required; it works with standard Python environments.

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (775d since push)
As of today
Provenance
Not a fork · Personal account
As of today
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install lanarky
PyPI

How it fits your stack(3)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Lanarky is a deprecated Python library that provides an abstraction layer to help developers build simple LLM microservices using FastAPI.

Capability facts

Languages
python

Source: github.language+pyproject.toml · Aug 21, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 21, 2026)

```python from lanarky import Lanarky
Source link

Tags

README

Installation

The library is available on PyPI and can be installed via pip:

pip install lanarky

Getting Started

Lanarky provides a powerful abstraction layer to allow developers to build simple LLM microservices in just a few lines of code.

Here's an example to build a simple microservice that uses OpenAI's ChatCompletion service:

from lanarky import Lanarky
from lanarky.adapters.openai.resources import ChatCompletionResource
from lanarky.adapters.openai.routing import OpenAIAPIRouter

app = Lanarky()
router = OpenAIAPIRouter()


@router.post("/chat")
def chat(stream: bool = True) -> ChatCompletionResource:
    system = "You are a sassy assistant"
    return ChatCompletionResource(stream=stream, system=system)


app.include_router(router)

Visit Getting Started for the full tutorial on building and testing your first LLM microservice with Lanarky.


License

The library is released under the MIT License.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.