Skip to main content

linxiv (PyPI)

Thin Python wrapper that ships the prebuilt linXiv Rust binaries inside a platform wheel and execs them. No Rust toolchain needed to install or run.

pip install linxiv          # everything below
pip install "linxiv[app]"   # same, extras are opt-in markers only
pip install "linxiv[cli]"
Command Bundled binary What it is
linxiv linxiv-app Tauri desktop app
linxiv-cli linxiv-cli Command-line client

All arguments pass through to the Rust binary.

Supported platforms

  • Linux (x86_64): the wheel is tagged with the glibc floor measured from the bundled binaries (currently manylinux_2_35_x86_64 — glibc >= 2.35, the ubuntu-22.04 build floor). linxiv-cli needs only glibc. The linxiv GUI additionally requires system libraries that manylinux does not cover: GTK 3, WebKitGTK 4.1 (libwebkit2gtk-4.1), libsoup 3, and OpenSSL 3 — install them from your distro (Debian/Ubuntu: libwebkit2gtk-4.1-0, Fedora: webkit2gtk4.1).
  • macOS (arm64): built on GitHub's macos-latest runner; the wheel's platform tag reflects that runner's default deployment target. Intel Macs are not supported.
  • Windows (x86_64): standard MSVC build, no extra runtime requirements.

Python API

linxiv.Linxiv mirrors the linXiv MCP/CLI surface; each method is one linxiv-cli call returning parsed JSON. Errors raise linxiv.LinxivError.

from linxiv import Linxiv

lx = Linxiv()                      # or Linxiv(data_dir="~/my-library")
results = lx.search_papers("quantum decoherence", max_results=5)
paper = lx.fetch_paper("2204.12985")           # saves + returns the record
proj = lx.create_project("thesis", tags=["qft"])
lx.add_paper_to_project(proj["id"], paper["source_id"])
lx.create_note(paper["source_id"], "Key result in §3", project_id=proj["id"])

Method groups: papers (search/fetch/list/get/repair/delete/restore), tags, projects (incl. export/import, bibtex/obsidian), notes, annotations, PDFs, trash, authors, DOI, settings, stats, backup/restore. Linxiv(data_dir=...) sets LINXIV_DATA_DIR; default is the same library the desktop app uses — avoid concurrent writes while the app is running.

Building a wheel

Copy the release binaries for the target platform into src/linxiv/bin/, then build — setup.py tags the wheel py3-none-<platform>:

cp ../linXiv/src-tauri/target/release/{linxiv-app,linxiv-cli} src/linxiv/bin/
pip wheel --no-deps -w dist .

For PyPI upload, retag the Linux wheel with a manylinux tag matching the highest GLIBC_* symbol version the binaries require (what CI does):

objdump -T src/linxiv/bin/linxiv-* | grep -o 'GLIBC_[0-9.]*' | sort -Vu | tail -1
python -m wheel tags --platform-tag manylinux_2_35_x86_64 dist/linxiv-*-linux_x86_64.whl

Metadata

Release files for linxiv 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for linxiv 0.7.1
File Interpreter ABI Platform Actions
linxiv-0.7.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for linxiv-0.7.1-py3-none-win_amd64.whl
linxiv-0.7.1-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for linxiv-0.7.1-py3-none-manylinux_2_34_x86_64.whl
linxiv-0.7.1-py3-none-macosx_10_15_universal2.whl Python 3 none macOS 10.15+ universal2 (ARM64, x86-64) Details for linxiv-0.7.1-py3-none-macosx_10_15_universal2.whl

Total release size: 58.2 MB

Release files / linxiv-0.7.1-py3-none-win_amd64.whl

Download URL linxiv-0.7.1-py3-none-win_amd64.whl
Size 20.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
8ae4406d18bec82f7a698b0ed8c1ca43f78f9c4fdecd0712cbba9e888f80e941
BLAKE2b-256 checksum
How to use checksums
3ff63a63d17d281577dd8fb238781682a6400eb4daa47c14fcc0fca94403e964
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / linxiv-0.7.1-py3-none-manylinux_2_34_x86_64.whl

Download URL linxiv-0.7.1-py3-none-manylinux_2_34_x86_64.whl
Size 20.2 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
095910c3b855a8fce5e4bcd494ddec20b90aa20e19fa7e9aa891188f238be62f
BLAKE2b-256 checksum
How to use checksums
0eca1859f475252471d31ac95f32117c903d87b902d0eaa42777925295416a45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / linxiv-0.7.1-py3-none-macosx_10_15_universal2.whl

Download URL linxiv-0.7.1-py3-none-macosx_10_15_universal2.whl
Size 17.9 MB
Tags Python 3 macOS 10.15+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
396170742f817b6f235879a8a7f6b19bda6d45c6004075a7f5230f1a486d1499
BLAKE2b-256 checksum
How to use checksums
e82c7bd91fa8f7b8e154c147713bec2ef7ead6a9bc0f693ce78fc20b6633490c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for linxiv 0.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for linxiv-0.7.1-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page