Metadata-Version: 2.4
Name: lixity
Version: 0.9.3
Summary: A local workspace for writing and revising manuscripts. Read the passages behind a measurement, keep research by the text and share the chapters you choose.
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://github.com/mfahsold/lixity
Project-URL: Repository, https://github.com/mfahsold/lixity
Project-URL: Documentation, https://mfahsold.github.io/lixity/
Project-URL: Documentation-Source, https://github.com/mfahsold/lixity/blob/main/docs/USAGE.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: computational-linguistics,stylometry,text-analysis,literary-manuscripts,tense-profiling,style-reference,lexical-diversity,readability,yules-k,hd-d,benjamini-hochberg,digital-humanities,macro-editing,multilingual,local-first,offline,markdown,prose-analysis,manuscript-analysis,book-editing,writing-tools,novel-writing,novel-editing,lektorat,authors,creative-writing
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: End Users/Desktop
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Topic :: Text Processing :: Markup :: Markdown
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Environment :: Web Environment
Classifier: Natural Language :: English
Classifier: Natural Language :: German
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: Operating System :: OS Independent
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

# 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 writing and revising manuscripts on your
own computer. When a sentence runs long or a phrase repeats, go straight to the
passage and read it in context. Keep the notes and sources behind a scene close
by, and choose what to share when the draft is ready.

[Edit a paragraph in the browser exercise](https://mfahsold.github.io/lixity/sandbox/index.html) ·
[Follow a finding in the read-only demo](https://mfahsold.github.io/lixity/demo/report.html) ·
[Visit the product website](https://mfahsold.github.io/lixity/)

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

## Work with a draft

- **Read and revise.** Compare chapters and saved versions, open the words or
  sentences behind a measurement, and decide what to change in the draft.
  [First session](https://github.com/mfahsold/lixity/blob/main/docs/ONBOARDING.md)
- **Keep research by the text.** Review a character's appearances in context.
  Link manuscript passages to your dossiers, notes and exact source quotations.
  [Research and dossiers](https://github.com/mfahsold/lixity/blob/main/docs/research/USAGE.md)
- **Read it aloud.** Rehearse in the teleprompter and keep delivery notes with
  the passage. Review a recording before deciding whether to retain it.
  [Audio and passage direction](https://github.com/mfahsold/lixity/blob/main/docs/AUDIO.md)
- **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)

Built-in analysis runs offline. The interface is available in German, English,
French, Spanish, Italian, Portuguese and Dutch. Measurement coverage depends
on the language. [Language coverage](https://github.com/mfahsold/lixity/blob/main/docs/LOCALIZATION.md) ·
[Methods](https://github.com/mfahsold/lixity/blob/main/docs/METHODS.md)

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

## Install and start

**Desktop app.** Start with the download guide for your operating system and
processor. It shows the available installer channels and explains how to
verify a download. The app includes its analysis runtime.
[Desktop downloads and setup](https://mfahsold.github.io/lixity/guides/installation.html#desktop)

**Desktop test builds.** Sign in to GitHub and get a build and its checksum list
from the same Actions run. Choose a macOS DMG for Apple Silicon or Intel, an
EXE or MSI for Windows x64, or a DEB or AppImage for Linux x64. Try the bundled
example before opening a working project.
[macOS](https://mfahsold.github.io/lixity/guides/installation.html#macos)
· [Windows x64](https://mfahsold.github.io/lixity/guides/installation.html#windows)
· [Linux x64](https://mfahsold.github.io/lixity/guides/installation.html#linux)

**Browser app and CLI.** Use the published package for terminal workflows or
when a desktop installer is unavailable. Install
[uv](https://docs.astral.sh/uv/getting-started/installation/) and run this on
macOS, Windows or Linux.

```sh
uv tool install --python 3.12 --managed-python lixity
```

If the shell cannot find `lixity`, run `uv tool update-shell` and open a new
terminal. Start the app, then choose **Open Project** or **Analyze a manuscript**.

```sh
lixity service start --open
```

[Installation and updates](https://github.com/mfahsold/lixity/blob/main/docs/INSTALLATION.md)

## Use the analysis engine

Run the CLI directly on a file. English is the default. Use `--language auto`
to opt into language detection.

```sh
lixity analyze manuscript.md --language en
lixity profile manuscript.md --language en --layer asl --evidence
```

Project settings live in the project folder. 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)

## Project structure and data boundaries

Python owns the shared engine and project data operations. Browser components
display the results and handle reading and editing interactions. Rust/Tauri
provides the desktop window, native 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) ·
[Manuals by task](https://github.com/mfahsold/lixity/blob/main/docs/README.md)

## Contribute and verify

Use synthetic or public-domain text when reproducing a problem. Include the
installed build, operating system and steps to reproduce it. Contributors can
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.3**, in the pre-1.0 **0.x** line.
> Historical 1.x and 3.x tags predate the numbering reset. Use the release
> identified as current on GitHub.

The published package comes from the verified tag. The read-only demo and
desktop test builds can show changes from the development checkout.
[Latest GitHub release](https://github.com/mfahsold/lixity/releases/latest) ·
[v0.9.3 release notes](https://github.com/mfahsold/lixity/blob/main/docs/releases/v0.9.3.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. A separate commercial license
is available for closed-source integrations.
[Licensing guide](https://github.com/mfahsold/lixity/blob/main/docs/LICENSING.md) ·
[Legal notice and contact](https://mfahsold.github.io/lixity/#impressum)

Cite the software using [Zenodo](https://doi.org/10.5281/zenodo.23390297) or
[CITATION.cff](https://github.com/mfahsold/lixity/blob/main/CITATION.cff).
[Software paper draft](https://github.com/mfahsold/lixity/blob/main/paper/paper.md)
