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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0128aa2fcfc8826fb0a5dae09f8eabaf20041262bff70ab8800e1d679931d0a1
|
|
| MD5 |
0c107cfeb6edacf6f5cebde757bb4dab
|
|
| BLAKE2b-256 |
448005150319b6a7b1e9048c31afc240688f6b194c8fcd7bdb4a80c5748c2101
|
Provenance
The following attestation bundles were made for mowen_server-2.0.0.tar.gz:
Publisher:
publish.yml on jnoecker/mowen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mowen_server-2.0.0.tar.gz -
Subject digest:
0128aa2fcfc8826fb0a5dae09f8eabaf20041262bff70ab8800e1d679931d0a1 - Sigstore transparency entry: 1119308357
- Sigstore integration time:
-
Permalink:
jnoecker/mowen@a1b762a33841a406b83bdf389835d48c5211b55a -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/jnoecker
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a1b762a33841a406b83bdf389835d48c5211b55a -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b470e3da92172dc022dde5bfe36615c5987635e4f83aec671be0d930a1fc95bf
|
|
| MD5 |
3a7eee4b8bd5db093548b6c7ae627b81
|
|
| BLAKE2b-256 |
a29cff3cf594999931df4beefdf992b56ad0bcd53bd8c6d3025abc90888d5893
|
Provenance
The following attestation bundles were made for mowen_server-2.0.0-py3-none-any.whl:
Publisher:
publish.yml on jnoecker/mowen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mowen_server-2.0.0-py3-none-any.whl -
Subject digest:
b470e3da92172dc022dde5bfe36615c5987635e4f83aec671be0d930a1fc95bf - Sigstore transparency entry: 1119308362
- Sigstore integration time:
-
Permalink:
jnoecker/mowen@a1b762a33841a406b83bdf389835d48c5211b55a -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/jnoecker
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a1b762a33841a406b83bdf389835d48c5211b55a -
Trigger Event:
push
-
Statement type: