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'

Metadata

Release files for milspend 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for milspend 0.0.3
File Size Uploaded
milspend-0.0.3.tar.gz 2.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for milspend 0.0.3
File Interpreter ABI Platform
milspend-0.0.3-py3.8.egg Legacy Egg format - - Details
milspend-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / milspend-0.0.3.tar.gz

Download URL milspend-0.0.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
39726ad62084b9eefbc35fb587062a1aa430da8fac7750b0aca1531be72e1469
BLAKE2b-256 checksum
How to use checksums
e75cec6e84c22766d84957c4345524f99c6b2e4afd1578cf37164a9f4a8c3772
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / milspend-0.0.3-py3.8.egg

Download URL milspend-0.0.3-py3.8.egg
Size 3.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
36576d6f1c3a97ccd39e5222d668e841657d409ba80b35388432c9d12e37c084
BLAKE2b-256 checksum
How to use checksums
cb436cc042765b06c8f166851d97120b20e4258ccb28e96b7a9ed74764808cfa
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / milspend-0.0.3-py3-none-any.whl

Download URL milspend-0.0.3-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4834b7d88fb27b44f257294934195b31832ec38527a9d57f1548b3e2d57af735
BLAKE2b-256 checksum
How to use checksums
3e54095aa44a57c9344e8590f5f93056c3e63ba6a8d33efc8f3e30d438f53d94
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

0.0.5

2 release files

0.0.4

3 release files

This release

0.0.3 This release

3 release files

0.0.2

3 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page