{"data":{"slug":"ajndkr-lanarky","name":"lanarky","tagline":"A web framework for building LLM microservices (deprecated)","github_url":"https://github.com/ajndkr/lanarky","owner":"ajndkr","repo":"lanarky","owner_avatar_url":"https://avatars.githubusercontent.com/u/26824103?v=4","primary_language":"Python","stars":990,"forks":76,"topics":["deprecated-repo","fastapi","llmops","microservices","python3","web"],"archived":false,"github_pushed_at":"2024-07-06T06:21:57+00:00","maintenance_label":"Dormant","stars_delta_30d":-2,"url":"https://www.graphcanon.com/tools/ajndkr-lanarky","markdown_url":"https://www.graphcanon.com/tools/ajndkr-lanarky.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/ajndkr-lanarky","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=ajndkr-lanarky","description":"The web framework for building LLM microservices [deprecated]","homepage_url":"https://lanarky.ajndkr.com/","license":"MIT","open_issues":10,"watchers":14,"ai_summary":"Lanarky is a deprecated Python library that provides an abstraction layer to help developers build simple LLM microservices using FastAPI.","readme_excerpt":"## Installation\n\nThe library is available on PyPI and can be installed via `pip`:\n\n```bash\npip install lanarky\n```\n\n---\n\n## Getting Started\n\nLanarky provides a powerful abstraction layer to allow developers to build\nsimple LLM microservices in just a few lines of code.\n\nHere's an example to build a simple microservice that uses OpenAI's `ChatCompletion` service:\n\n```python\nfrom lanarky import Lanarky\nfrom lanarky.adapters.openai.resources import ChatCompletionResource\nfrom lanarky.adapters.openai.routing import OpenAIAPIRouter\n\napp = Lanarky()\nrouter = OpenAIAPIRouter()\n\n\n@router.post(\"/chat\")\ndef chat(stream: bool = True) -> ChatCompletionResource:\n    system = \"You are a sassy assistant\"\n    return ChatCompletionResource(stream=stream, system=system)\n\n\napp.include_router(router)\n```\n\nVisit [Getting Started](https://lanarky.ajndkr.com/getting-started) for the full tutorial on building\nand testing your first LLM microservice with Lanarky.\n\n---\n\n## License\n\nThe library is released under the [MIT License](https://github.com/ajndkr/lanarky/blob/main/LICENSE).","github_created_at":"2023-04-07T05:36:32+00:00","created_at":"2026-07-07T17:43:07.210813+00:00","updated_at":"2026-08-21T00:01:01.747008+00:00","categories":[{"slug":"inference-serving","name":"Inference & Serving","url":"https://www.graphcanon.com/categories/inference-serving","markdown_url":"https://www.graphcanon.com/categories/inference-serving.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/inference-serving"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"fastapi","name":"fastapi"},{"slug":"llmops","name":"llmops"},{"slug":"microservices","name":"microservices"},{"slug":"python3","name":"python3"},{"slug":"web","name":"web"}],"trust":{"provenance":{"is_fork":false,"github_id":624724781,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-21T00:01:00.768Z","maintenance":{"label":"Dormant","score":18,"methodology":"github_public_v1","releases_90d":0,"days_since_push":775,"last_release_at":"2024-07-06T06:21:57Z","stars_delta_30d":-2,"open_issues_delta_30d":1},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:22:53.042Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-21T00:01:01.434Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-08-21T00:01:01.434Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-08-21T00:01:01.434Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"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":{"notes":["Ensure you have Python and Pip installed to utilize Lanarky.","No Docker installation is required; it works with standard Python environments."],"min_ram_gb":1,"requires_docker":false},"constraints":{"min_ram_gb":1,"pricing_model":"freemium","requires_docker":false},"when_to_use":["- 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."],"when_not_to_use":["- 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."],"source":"enrich:decision_facts","observed_at":"2026-07-11T03:35:11.701Z"},"constraint_facets":{"min_ram_gb":1,"pricing_model":"freemium","requires_docker":false},"decision_summary":[{"label":"Pricing","value":"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."},{"label":"Requirements","value":"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."},{"label":"Adopt for","value":"Lanarky, a deprecated Python-based framework for building LLM microservices with FastAPI, offers streamlined development but comes with caveats related to its deprecated status."},{"label":"License detail","value":"Lanarky is released under the MIT License, allowing free usage, modification, and distribution but with no warranty."}]}}