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 16 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-2.1.0.tar.gz (14.2 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-2.1.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mowen_server-2.1.0.tar.gz
Algorithm Hash digest
SHA256 17af4fea391db9faac2211871261d922d7a173141b7ca7d680e92cd4bf9a9e0f
MD5 ffcf8e1f221f25637a096e22bf8e51a6
BLAKE2b-256 3ba2185224ddf259ebcfe44ac6f5d44cd6249ea7ab91bbb6fef0da69b9d0a010

See more details on using hashes here.

Provenance

The following attestation bundles were made for mowen_server-2.1.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-2.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for mowen_server-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ee7cf3bd7bc9ab464993dbae2fc9bdf96304dd53b9009dfa81d7a2a8adb7231
MD5 d57fd419f2a613954af175ff323cb50f
BLAKE2b-256 4e0d5ddcdc6cca7f645ea6b888f01da951b10c8a9ea09b9adc02d28eb0fbe4f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mowen_server-2.1.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