Skip to main content

defense

The goal of this project is to visualize military spending of countries.

Using a SIPRI dataset, milspend can visualize military spending of up to four countries.

The SIPRI dataset is downloadable from:

https://sipri.org/sites/default/files/SIPRI-Milex-data-1949-2020_0.xlsx

The number of the vertical axis indicates the US dollars in millions.

How to install milspend

You may need matplotlib library.

$ pip install matplotlib

$ pip install milspend

How to run milspend

Milspend program allows user to specify up to four countries to plot military spending of the specified countries. For example, the following command can display military spending of the US, China, Russia and Japan in the graph.

$ milspend USA China Russia Japan

The following command can display military spending of Japan and South Korea.

$ milspend Japan 'Korea, South'

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

milspend-0.0.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distributions

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

milspend-0.0.2-py3.8.egg (3.7 kB view details)

Uploaded Egg

milspend-0.0.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file milspend-0.0.2.tar.gz.

File metadata

  • Download URL: milspend-0.0.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3

File hashes

Hashes for milspend-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c507517716b5d5c0766faf070c85266be792f86c1ce7572d96b3582fdb73de4e
MD5 52ee4d5de11e1f72ae8d2c7c4fd5f88e
BLAKE2b-256 39b8978e69f36dbcba587b2a540b99863d722ad6a8f7011dd219b85fb913274f

See more details on using hashes here.

File details

Details for the file milspend-0.0.2-py3.8.egg.

File metadata

  • Download URL: milspend-0.0.2-py3.8.egg
  • Upload date:
  • Size: 3.7 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3

File hashes

Hashes for milspend-0.0.2-py3.8.egg
Algorithm Hash digest
SHA256 526a09e471f49d86341054ee486abd346fd0fcd161933b23cdd94e6a7ce67281
MD5 b10c3f780ba38664ea279732753e27e0
BLAKE2b-256 f4ac47efc65b6ef08550abdb3f3aed74cc28baaf9fc2cabca9e2168d2e62a2d2

See more details on using hashes here.

File details

Details for the file milspend-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: milspend-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3

File hashes

Hashes for milspend-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f09bb2fab4a0b24bac2c66709d1814ef19af9727c907a504934d43df29b2197
MD5 68dbf3c33c740d282f0f5fa618eee704
BLAKE2b-256 5942fc48c2adb2f718e2dcef4589a7d4560c4552beed2ea06389981c7a5ec8a0

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