Registry / crm-productivity / linear-api

linear-api

JSON →
library0.2.0pypypi✓ verified 80d ago

A set of Python utilities for calling the Linear API. Current version 0.2.0, supports Python >=3.9. Development is active but the library is still early-stage.

pip install linear-api
INSTALL
IMPORT
SIG · LINEAR-API
L
linear-api
crm-productivitypythonv0.2.0
Install
3.9s avg
Import
Disk
30MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 31.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.9s · import 0.000s · 31MB
30MB installed
● package 30MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LinearClient
from linear_api import LinearClient
from linear_api import LinearAPI
IntegrationService
from linear_api import IntegrationService
LinearIssue
from linear_api import LinearIssue

Initialize the client with your API key and fetch the current user.

from linear_api import LinearAPI import os client = LinearAPI(api_key=os.environ.get('LINEAR_API_KEY', '')) me = client.viewer() print(f"Hello {me['name']}")
Debug
Known issues
breakingThe API is in early development (v0.x). There may be breaking changes between minor versions without deprecation warnings.
fix
Pin to a specific version, e.g., pip install linear-api==0.2.0, and check the changelog before upgrading.
affects: <1.0.0
gotchaThe module name uses an underscore: linear_api, not linear-api. Importing from 'linear-api' (with a hyphen) will fail.
fix
Use 'from linear_api import ...' (underscore).
affects: all
deprecatedThe constructor argument 'token' was renamed to 'api_key' in v0.2.0.
fix
Use LinearAPI(api_key='...') instead of LinearAPI(token='...').
affects: 0.2.0
Upgrade
Version history
0.2.0latest on PyPI · released May 15, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
32
OpenAI (training)
1
Resources
linear-api — pip install linear-api · libregistry