Skip to main content

Web server for mowen authorship attribution toolkit

Project description

mowen-server

FastAPI web server and React UI for mowen, the authorship attribution toolkit.

Install

pip install mowen-server

This installs the mowen-server command, the core library, and all server dependencies.

Usage

mowen-server

Open http://localhost:8000 for the web UI. API docs at http://localhost:8000/docs.

Features

  • Upload and manage documents (plain text, PDF, DOCX, HTML)
  • Organize documents into corpora
  • Import from 20 bundled sample corpora (Federalist Papers, Shakespeare, Homer, etc.)
  • Build experiments with a step-by-step wizard and 6 stylometry presets
  • View attribution results with performance metrics and score visualizations
  • REST API with OpenAPI documentation

Configuration

Environment variables (all prefixed MOWEN_):

Variable Default Description
MOWEN_DATABASE_URL sqlite:///{home}/.mowen/data.db Database connection
MOWEN_UPLOAD_DIR ~/.mowen/documents Document storage path
MOWEN_HOST 127.0.0.1 Bind address
MOWEN_PORT 8000 Port
MOWEN_CORS_ORIGINS ["*"] Allowed CORS origins

Docker

docker compose up

Serves the full app at http://localhost:8000 with data persisted in a Docker volume.

Documentation

See the mowen repository for full documentation.

License

MIT — Copyright 2026 John Noecker Jr.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mowen_server-1.0.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mowen_server-1.0.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file mowen_server-1.0.0.tar.gz.

File metadata

  • Download URL: mowen_server-1.0.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mowen_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 463892b10a5265b9149b192d9ee23631a48c898120e70e9095cebc4a78256f19
MD5 2096e41757d741387b3ab8650dd7c767
BLAKE2b-256 a0c447ad426a2fb5ad9a9b4de3b1971040307068f839ac2aa2d8628dab03cdc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for mowen_server-1.0.0.tar.gz:

Publisher: publish.yml on jnoecker/mowen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mowen_server-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mowen_server-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mowen_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb6546ae1d02f18ba89b53d265c9c357d5c58bbc5d646b64d73e8e08d0a1e851
MD5 ea07355f057ff7a1571cd8b6b3be4875
BLAKE2b-256 a7f67f67b124ad3bf07772bd90c8baac98e39a9a4f8ef837a38441a2e7a100df

See more details on using hashes here.

Provenance

The following attestation bundles were made for mowen_server-1.0.0-py3-none-any.whl:

Publisher: publish.yml on jnoecker/mowen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page