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
$ 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c507517716b5d5c0766faf070c85266be792f86c1ce7572d96b3582fdb73de4e
|
|
| MD5 |
52ee4d5de11e1f72ae8d2c7c4fd5f88e
|
|
| BLAKE2b-256 |
39b8978e69f36dbcba587b2a540b99863d722ad6a8f7011dd219b85fb913274f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
526a09e471f49d86341054ee486abd346fd0fcd161933b23cdd94e6a7ce67281
|
|
| MD5 |
b10c3f780ba38664ea279732753e27e0
|
|
| BLAKE2b-256 |
f4ac47efc65b6ef08550abdb3f3aed74cc28baaf9fc2cabca9e2168d2e62a2d2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f09bb2fab4a0b24bac2c66709d1814ef19af9727c907a504934d43df29b2197
|
|
| MD5 |
68dbf3c33c740d282f0f5fa618eee704
|
|
| BLAKE2b-256 |
5942fc48c2adb2f718e2dcef4589a7d4560c4552beed2ea06389981c7a5ec8a0
|