Skip to main content

Console tool to visualize Russian military losses data

Project description

moskali

A console tool to visualize Russian military losses data sourced from the Ukrainian General Staff.

Dependencies

  • rich ≥ 13.0 — terminal tables and styling

Development setup

# Install the package in editable mode (changes take effect immediately)
pip install -e .

Usage

moskali <command> [options]

Commands

Command Description
moskali summary Cumulative losses with bar chart
moskali daily [--days N] Daily losses table, one column per day
moskali trend [CATEGORY] [--days N] Bar chart trend for a single category
moskali period [--days N] Net losses over a period
moskali categories List all available category names

Examples

moskali summary
moskali daily --days 10
moskali trend UAVs/Drones --days 30
moskali period --days 7
moskali categories

Project structure

moskali/
├── pyproject.toml
├── setup.cfg
├── README.md
└── moskali/
    ├── __init__.py
    ├── loader.py     — loads and parses moskali.json
    ├── stats.py      — daily diffs, trends, period totals
    ├── render.py     — rich tables and bar charts
    ├── cli.py        — argparse entry point
    └── moskali.json  — data source

Building and publishing

Install the build tools once:

pip install build twine

Build a source distribution and wheel into dist/:

python -m build

Test the upload against Test PyPI first:

twine upload --repository testpypi dist/*

Publish to PyPI:

twine upload dist/*

Credentials can be stored in ~/.pypirc or passed via TWINE_USERNAME / TWINE_PASSWORD environment variables.

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

moskali-0.1.0.tar.gz (56.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moskali-0.1.0-py3-none-any.whl (61.6 kB view details)

Uploaded Python 3

File details

Details for the file moskali-0.1.0.tar.gz.

File metadata

  • Download URL: moskali-0.1.0.tar.gz
  • Upload date:
  • Size: 56.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for moskali-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d31e6729b03183cfe3f98411f8345b8dc8aeba7d4b7614589e999418b7be03ba
MD5 f1de0046f30d453705992038086f1928
BLAKE2b-256 937ef6fda00df0ca98d6d8003d6d9e08f7a64a094c8159f1530a51f3f490732e

See more details on using hashes here.

File details

Details for the file moskali-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: moskali-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 61.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for moskali-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 382dfc36cb9094819035d9d6e5eaad99540a5f48917f986afe18c71ef722b516
MD5 325628465590875913da19bff33faed3
BLAKE2b-256 794784f6c794020ae269c47e0883e1836d11ae8471051bdf48c69bdf1de3af5a

See more details on using hashes here.

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