Skip to main content

A package for visualizing military spending of up to 4 countries

Project description

defense

This is under review.

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

dataset is downloadable from:

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

How to install milspend

You may need matplotlib library.

$ pip install matplotlib

$ pip install milspend

How to run milspend

$ milspend USA China Russia Japan

$ milspend Japan 'Korea, South'

To run us_china_russia.py

SIPRI-Milex-data-1949-2020_0.xlsx file needs to be placed in the same directory as the following file us_china_russia.py.

$ python us_china_russia.py

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.1.tar.gz (2.3 kB view hashes)

Uploaded source

Built Distributions

milspend-0.0.1-py3.8.egg (3.5 kB view hashes)

Uploaded 0 0 1

milspend-0.0.1-py3-none-any.whl (2.6 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