Skip to content

A code-first catalogue of wartime technological advances from antiquity to the present: weapons, armor, siege engines, logistics, and doctrinal innovations. Includes data, a SQLite schema, an API, and example analyses.

License

Notifications You must be signed in to change notification settings

AlexandriaArchiveAPI/EnginesOfWar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EnginesOfWar Banner

EnginesOfWar

Python FastAPI SQLite License: MIT

A code-first catalogue of wartime technological advances from antiquity to the present: weapons, armor, siege engines, logistics, and doctrinal innovations. Includes data, a SQLite schema, an API, and example analyses.


What's here

  • data/tech.csv — human-editable dataset of technologies
  • data/tech.sql — SQLite schema (tech + categories + links to battles)
  • scripts/ingest_tech.py — build data/engines.db from CSV
  • scripts/import_from_warchest.py — optional: ingest battles.csv from WarChest for cross-linking
  • api/main.py — FastAPI for /tech, /tech/{slug}, /timeline
  • examples/timeline.py — generate a simple timeline chart (PNG)

Quickstart

python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python scripts/ingest_tech.py
uvicorn api.main:app --reload
# visit http://127.0.0.1:8000/docs

EnginesOfWar Banner

About

A code-first catalogue of wartime technological advances from antiquity to the present: weapons, armor, siege engines, logistics, and doctrinal innovations. Includes data, a SQLite schema, an API, and example analyses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages