skillfed

linear-api

A set of Python utilities for calling the Linear API

linear-api v0.2.0 75.3K downloads/30d#14,733 on PyPI8
Permissive license AGING released

What it is and what it does

linear-api is a Python client library that wraps the Linear project management API with a clean, object-oriented interface. It uses Pydantic for type-safe data models and provides resource managers for issues, projects, teams, and users, letting you create, read, update, and delete Linear items programmatically. The package handles GraphQL pagination automatically, includes a configurable caching layer to reduce API calls, and supports storing arbitrary metadata on issues as attachments.

The library is built on top of pydantic and requests, making it lightweight and easy to integrate into existing Python applications. It's aimed at developers who need to automate Linear workflows, sync data between systems, or build tools on top of Linear's API without writing raw GraphQL queries.

Use it for:

  • Automate bulk issue creation or updates across Linear teams from external data sources or scripts.
  • Build internal dashboards or reporting tools that pull issue and project data from Linear into Python applications.
  • Sync Linear issues with other project management or ticketing systems as part of a data pipeline.
  • Create sub-issues and attach structured metadata programmatically to organize and track custom workflows.
  • Query team members, workflow states, and project hierarchies to power automation or integration logic.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Python wrapper for the Linear API that provides object-oriented access to Linear issues, projects, teams, and users with Pydantic models, automatic pagination, and built-in caching.

Yes, if you need programmatic access to Linear's API and prefer a typed, object-oriented interface over raw GraphQL queries. The low install friction, permissive license, and zero known vulnerabilities make it a safe choice. However, the aging maintenance status (last commit 456 days ago) means you should verify that the package still works with Linear's current API schema before relying on it in production, and be prepared to maintain a fork if updates stall.

Install

linear-api on PyPI

pip

pip install linear-api

uv

uv add linear-api

poetry

poetry add linear-api

Installing linear-api

Before you install

Low install friction with only two runtime dependencies (pydantic and requests). The package is aging—last commit was 456 days ago—but the repository remains active and unarchived, suggesting maintenance is infrequent rather than abandoned.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute the package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install linear-api

from linear_api import LinearClient

client = LinearClient(api_key="your_api_key_here")
me = client.users.get_me()
print(f"Current user: {me.name}")

Requires a Linear API key and Python 3.9 or later.

Verify before relying

  • Whether the package's GraphQL connection unwrapping handles all pagination edge cases reliably in production.
  • Current state of the 8 GitHub stars and whether the community is actively using or contributing to the package.
  • Whether metadata attachment storage via the API is fully compatible with Linear's current schema.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 2 — pydantic, requests
Maintenance aging — 456 days since the last release
Last repo commit
First released
Downloads 75,280/month — #14,733 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: linear_api-0.2.0-py3-none-any.whl

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

linear api python clientlinear issue management sdklinear project tracking wrapperpydantic linear apilinear graphql pythonlinear workflow automationlinear team collaboration api
api-clientlinear-integrationgraphql

More WWW/HTTP packages