How sikleq/sloppy works
Sloppy is a Python-built static Dota 2 patch reader and reference-materials site. The main workflow turns annotated patch content and game snapshots into tagged, percentage-aware patch pages, which readers can browse and filter; separate builders generate entity histories, calendar/changelog, terrain comparisons, and reference tables. The patch API and shared page writer are the key internal rendering layers. Relationships for unsampled builders are limited to capabilities and wiring stated in the README; the source excerpts do not establish their internal call paths.
Main entry points: build_site.py Build entrypoint · api.py Content API · elements.py Change elements · heroes_stats.py Hero stats
Components 24
Site generation
- Static site
- Build entrypoint
build_site.py - Patch pages
builders/build_patches.py - Site chrome
builders/site_common.py - Entity histories
builders/entity_changes.py - Calendar and changelog
builders/changelog.py - Unnoted changes
builders/silent.py
Patch rendering
- Patch definitions
content/p741.py - Content API
patch/api.py - Change elements
patch/elements.py - Tags and deltas
patch/badges.py - Game stats
patch/stats.py - Image lookup
patch/images.py - Change weights
patch/weights.py - Page writer
patch/page.py - Patch metadata
patch/meta.py
Reference materials
- Hero stats
builders/heroes_stats.py - Hero Lab
builders/hero_lab.py - Mana items
builders/mana_items.py - Neutral creeps
builders/creeps.py - Other materials
builders
Terrain comparisons
- Map comparisons
builders/terrain.py
Publishing tools
- Weekly recap
tools/telegraph_post/build_post.py
Other components
- Site reader
Connections 38
- Site reader → Static site: browses
README.md - Build entrypoint → Patch pages: builds pages
README.md - Build entrypoint → Entity histories: builds pages
README.md - Build entrypoint → Calendar and changelog: builds pages
README.md - Build entrypoint → Hero stats: builds materials
README.md - Build entrypoint → Hero Lab: builds materials
README.md - Build entrypoint → Mana items: builds materials
README.md - Build entrypoint → Neutral creeps: builds materials
README.md - Build entrypoint → Map comparisons: builds pages
README.md - Build entrypoint → Unnoted changes: builds pages
README.md - Build entrypoint → Other materials: builds materials
README.md - Patch pages → Patch definitions: discovers patches
README.md - Patch definitions → Content API: uses helpers
content/p741.py - Content API → Change elements: re-exports
patch/api.py - Content API → Tags and deltas: re-exports
patch/api.py - Content API → Game stats: re-exports
patch/api.py - Content API → Image lookup: re-exports
patch/api.py - Content API → Page writer: re-exports
patch/api.py - Change elements → Change weights: uses scoring
patch/elements.py - Change elements → Tags and deltas: uses tags
patch/elements.py - Change elements → Game stats: uses snapshots
patch/elements.py - Change elements → Image lookup: uses images
patch/elements.py - Page writer → Site chrome: uses chrome
patch/page.py - Page writer → Patch metadata: uses metadata
patch/page.py - Patch pages → Static site: writes pages
README.md - Entity histories → Patch metadata: uses metadata
builders/entity_changes.py - Entity histories → Site chrome: uses chrome
builders/entity_changes.py - Hero stats → Site chrome: uses chrome
builders/heroes_stats.py - Hero stats → Patch metadata: uses metadata
builders/heroes_stats.py - Hero stats → Change elements: uses elements
builders/heroes_stats.py - Hero Lab → Hero stats: uses stats
builders/hero_lab.py - Hero Lab → Mana items: uses items
builders/hero_lab.py - Unnoted changes → Patch metadata: uses metadata
builders/silent.py - Unnoted changes → Site chrome: uses chrome
builders/silent.py - Neutral creeps → Entity histories: uses entity data
builders/creeps.py - Neutral creeps → Patch metadata: uses metadata
builders/creeps.py - Neutral creeps → Site chrome: uses chrome
builders/creeps.py - Weekly recap → Static site: uses screenshots
tools/telegraph_post/build_post.py