Skip to main content

A package for visualizing military spending of up to 4 countries

Project description


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:

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'

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

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

Uploaded source

Built Distributions

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

Uploaded 0 0 2

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page