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.0.0.tar.gz (13.7 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.0.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mowen_server-2.0.0.tar.gz
Algorithm Hash digest
SHA256 0128aa2fcfc8826fb0a5dae09f8eabaf20041262bff70ab8800e1d679931d0a1
MD5 0c107cfeb6edacf6f5cebde757bb4dab
BLAKE2b-256 448005150319b6a7b1e9048c31afc240688f6b194c8fcd7bdb4a80c5748c2101

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mowen_server-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.1 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-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b470e3da92172dc022dde5bfe36615c5987635e4f83aec671be0d930a1fc95bf
MD5 3a7eee4b8bd5db093548b6c7ae627b81
BLAKE2b-256 a29cff3cf594999931df4beefdf992b56ad0bcd53bd8c6d3025abc90888d5893

See more details on using hashes here.

Provenance

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