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.4.tar.gz (2.6 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.4-py3.8.egg (3.8 kB view details)

Uploaded Egg

milspend-0.0.4-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: milspend-0.0.4.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for milspend-0.0.4.tar.gz
Algorithm Hash digest
SHA256 9fcc080ba9104707f7fb57c68a30af0aa8dc2d6496bf1817a4d4840b21a23d7e
MD5 ddab4b75c6b18db0fb913cb4451a4f07
BLAKE2b-256 591c217a577b5da3784ad6cd6a56fa509369856b34184555e3deac67a610f547

See more details on using hashes here.

File details

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

File metadata

  • Download URL: milspend-0.0.4-py3.8.egg
  • Upload date:
  • Size: 3.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for milspend-0.0.4-py3.8.egg
Algorithm Hash digest
SHA256 356c0a8cc51b2ad161a484410fcad596f6df0ffe9b6fdc77cbbb891e91727d82
MD5 bce130bb45ed3f18d940e69e89e1af6c
BLAKE2b-256 584519a5dcede7e80130275590d1c8e0875c47637f15dedcbfd3e895f4415c3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: milspend-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for milspend-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4702f35d04de6fcfe0d072959c0a8b54bc0f513b612b0b91a2ce32ebba266ac6
MD5 59ba28b035df073646e2bc385047180a
BLAKE2b-256 268ff904e83b25735127aca98cb73abb5fab2ddca27c489adc06b42f54efd638

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 Sentry Error logging StatusPage Status page