Metadata-Version: 2.4
Name: lixity
Version: 0.9.4
Summary: Compare manuscript chapters and drafts locally, inspect the passage behind each measurement, and keep sources linked.
Author-email: Matthias Fahsold <mfahsold@googlemail.com>
Maintainer-email: Matthias Fahsold <mfahsold@googlemail.com>
License-Expression: AGPL-3.0-or-later
Project-URL: Homepage, https://lixity.de/
Project-URL: Repository, https://github.com/mfahsold/lixity
Project-URL: Documentation, https://github.com/mfahsold/lixity/blob/main/docs/README.md
Project-URL: Changelog, https://github.com/mfahsold/lixity/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/mfahsold/lixity/issues
Project-URL: Security, https://github.com/mfahsold/lixity/security/policy
Project-URL: Mastodon, https://mastodon.social/@lixity
Project-URL: Bluesky, https://bsky.app/profile/lixity.bsky.social
Keywords: manuscript analysis,manuscript revision,draft comparison,chapter comparison,passage evidence,novel writing,book editing,source tracking,local-first,markdown,multilingual,readability,stylometry,digital humanities
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Science/Research
Classifier: Natural Language :: English
Classifier: Natural Language :: German
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Topic :: Text Processing :: Markup :: Markdown
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.4.0
Requires-Dist: rich>=13.0.0
Requires-Dist: orjson>=3.11.6
Requires-Dist: tomli>=2.0.1; python_version < "3.11"
Provides-Extra: linguistics
Requires-Dist: spacy<3.9,>=3.8; extra == "linguistics"
Provides-Extra: linguistics-stanza
Requires-Dist: stanza<1.16,>=1.15; extra == "linguistics-stanza"
Provides-Extra: dev
Requires-Dist: pip-audit>=2.10.1; python_version >= "3.11" and extra == "dev"
Requires-Dist: build>=1.2; extra == "dev"
Requires-Dist: mypy>=1.8; extra == "dev"
Requires-Dist: numpy>=1.24; extra == "dev"
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-xdist>=3.6; extra == "dev"
Requires-Dist: ruff==0.17.6; extra == "dev"
Dynamic: license-file

# <img src="https://lixity.de/assets/brand/icon-192.png" width="64" height="64" alt=""> Lixity

[![PyPI](https://img.shields.io/pypi/v/lixity)](https://pypi.org/project/lixity/)
![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue)
[![License: AGPL-3.0-or-later](https://img.shields.io/badge/license-AGPL--3.0--or--later-blue)](https://github.com/mfahsold/lixity/blob/main/LICENSE)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.23390297.svg)](https://doi.org/10.5281/zenodo.23390297)

Lixity is an open-source workspace for revising a novel. Compare chapters or
drafts, open the text behind a measurement, and decide what to change. When a
scene depends on research, reopen the source version linked to that passage.
Built-in analysis runs locally.

[Try a revision in three minutes](https://lixity.de/sandbox/index.html?lang=en) ·
[Download the desktop preview](https://lixity.de/guides/installation.html#desktop) ·
[Visit the product website](https://lixity.de/)

## What Lixity counts — and what it cannot prove

| What Lixity counts (L0/L1) | What Lixity cannot prove (L3–L5) |
| --- | --- |
| **Surface text counts:** words, sentences, recognized quotation spans, local phrase echoes, and language-profile lexical cues (such as verb-form patterns, noun endings and perception words). | **Literary quality or error verdicts:** no number is a prose grade, quality score or instruction to rewrite. A deviation is a question to the text. |
| **Within-manuscript comparisons:** how chapters or saved revisions differ from your draft's own baseline (robust medians, MAD corridors, exploratory `z*` / FDR shortlists). | **Calibrated significance or reader response:** chapter baselines are internal to your draft, not a population norm, and exploratory shortlists are not calibrated p-values or predictions of reader impact. |
| **Traceable links:** exact passages behind each count and immutable version pins to retained research sources. | **Grammar, speaker attribution or semantic truth:** default cues are lexical heuristics; quotation marks do not identify speakers; word overlap does not resolve pronouns or synonyms; optional grammar models remain bounded by known parser errors. |

See [Validation and limits](https://github.com/mfahsold/lixity/blob/main/docs/STABILITY.md) for measured boundaries and [Methods](https://github.com/mfahsold/lixity/blob/main/docs/METHODS.md) for full formulas.

<a id="start-here"></a>

## Install and start

1. Choose a desktop preview download for a
   [Mac with Apple silicon or an Intel processor](https://lixity.de/guides/installation.html#macos),
   [Windows 64-bit PC](https://lixity.de/guides/installation.html#windows)
   or [Linux 64-bit PC](https://lixity.de/guides/installation.html#linux).
   The preview installers are public downloads. Windows and Linux
   builds target x86-64.
2. Download the installer, [check the installer in your browser](https://lixity.de/guides/installation.html#installer-check)
   and follow the setup steps for your computer. The desktop app includes the analysis runtime.
3. Open Lixity. Choose **Try the example offline**
   for an editable sample, **Open a project folder** for work already in a
   project, or **Import a manuscript** to bring in a Word, Markdown or text file.
   [First session](https://github.com/mfahsold/lixity/blob/main/docs/ONBOARDING.md)

Try the [browser exercise](https://lixity.de/sandbox/index.html)
or follow a finding in the [read-only demo](https://lixity.de/demo/report.html)
before installing. The published
[local browser app and CLI](https://lixity.de/guides/installation.html#install)
are available through PyPI. If you already use pipx with Python 3.10 or newer, run
`pipx install lixity`, then `lixity service start --open`. [Installation and updates](https://github.com/mfahsold/lixity/blob/main/docs/INSTALLATION.md)

<a id="choose-what-leaves-the-project"></a>

## Work with a draft

- **Read and revise.** Follow a measurement to its passage, compare chapters
  or saved versions, and revisit earlier drafts.
  [Writing and recovery](https://github.com/mfahsold/lixity/blob/main/docs/WORKSPACE.md#write-a-manuscript)
- **Keep research by the text.** Link passages to dossiers, notes and exact
  source quotations. Revisit the retained source version behind a citation.
  [Research and dossiers](https://github.com/mfahsold/lixity/blob/main/docs/research/USAGE.md)
- **Rehearse and listen.** Record your microphone in the teleprompter and save a
  reviewed excerpt as a voice reference. With a configured speech engine, preview
  pronunciation and delivery on one paragraph before rendering a chapter.
  [Audio first steps](https://github.com/mfahsold/lixity/blob/main/docs/AUDIO.md#getting-started)
- **Share a reading copy.** Export a manuscript or dossier PDF, or prepare a
  reading website with the chapters and background you choose.
  [Reading website export](https://github.com/mfahsold/lixity/blob/main/docs/WORKSPACE.md#export-a-reading-website)

The **interface** is localized in seven languages (German, English, French,
Spanish, Italian, Portuguese and Dutch). **Language-dependent analysis
coverage** is separate: English is the default analysis language unless chosen
explicitly (or via `--language auto`), and linguistic rules and validation are
deepest for German and English.
[Language coverage](https://github.com/mfahsold/lixity/blob/main/docs/LOCALIZATION.md) ·
[Methods](https://github.com/mfahsold/lixity/blob/main/docs/METHODS.md) ·
[Manuals by task](https://github.com/mfahsold/lixity/blob/main/docs/README.md)

## Use the analysis engine

Use the CLI for repeatable file analysis. English is the default. Choose
`--language auto` to opt into detection. The same engine supports the Python
and local HTTP APIs and the read-only MCP server.
[Commands and configuration](https://github.com/mfahsold/lixity/blob/main/docs/USAGE.md) ·
[Automation contracts](https://github.com/mfahsold/lixity/blob/main/docs/AGENTS.md) ·
[Agent skill](https://github.com/mfahsold/lixity/blob/main/skills/lixity/SKILL.md)

Try the same repeated word in four tools and trace the result to the passage. [Compare manuscript analysis tools](https://lixity.de/guides/manuscript-analysis-tools.html)
first, then try the same passage in each tool before committing to a workflow.

## How the project is built

The Python engine serves the CLI, local browser app and Rust/Tauri desktop
host. The desktop host provides the native window, platform controls and
bundled runtime. Project files and retained research stay in project storage.
Optional connected services have their own data requirements.
[Architecture](https://github.com/mfahsold/lixity/blob/main/docs/ARCHITECTURE.md) ·
[Project backup](https://github.com/mfahsold/lixity/blob/main/docs/PROJECT_BACKUP.md) ·
[Product direction](https://github.com/mfahsold/lixity/blob/main/docs/PRODUCT.md)

## Contribute and verify

Report the installed build, operating system and steps to reproduce the problem
with synthetic or public-domain text. Use the
[documentation map](https://github.com/mfahsold/lixity/blob/main/docs/README.md#maintain-the-documentation)
to find the source of a guide or example before editing it.

```sh
make install-dev
make check
```

[Report an issue](https://github.com/mfahsold/lixity/issues/new/choose) ·
[Contributor guide](https://github.com/mfahsold/lixity/blob/main/CONTRIBUTING.md) ·
[Security policy](https://github.com/mfahsold/lixity/blob/main/SECURITY.md)

## Release, citation and license

> **Version line:** The documentation source version is **v0.9.4**, in the pre-1.0 **0.x** line.
> Historical 1.x and 3.x tags predate the numbering reset.

The published package comes from the verified tag. The demo and test builds
identify the source that produced them.
[Latest GitHub release](https://github.com/mfahsold/lixity/releases/latest) ·
[v0.9.4 release notes](https://github.com/mfahsold/lixity/blob/main/docs/releases/v0.9.4.md) ·
[Changelog](https://github.com/mfahsold/lixity/blob/main/CHANGELOG.md)

Lixity is licensed under **AGPL-3.0-or-later**. You can write and sell your
books with it, including through self-publishing. The first project funding is
intended for public desktop installers and the Android and iOS / iPadOS ports.
A separate commercial license is available for closed-source integrations.
[Licensing guide](https://github.com/mfahsold/lixity/blob/main/docs/LICENSING.md) ·
[Support Lixity](https://lixity.de/guides/support.html) ·
[Legal notice and contact](https://lixity.de/#impressum)

For a specific release, cite its version DOI from the
[release notes](https://github.com/mfahsold/lixity/tree/main/docs/releases)
or the version list on Zenodo. The
[project DOI](https://doi.org/10.5281/zenodo.23390297) covers all archived
versions, including desktop previews.
[Citation metadata](https://github.com/mfahsold/lixity/blob/main/CITATION.cff) ·
[Software paper draft](https://github.com/mfahsold/lixity/blob/main/paper/paper.md)
