openborders


Install
pip install openborders==0.1.2

Documentation

Open Borders Toolbox

A python toolbox making open-borders metrics easier !

One-liner CLI

If you just want a CSV/JSON/Excel file with the metrics, don't bother, just go

opbd preprocess -n -o open-borders-index.csv
  • -n means normalize actross countries
  • -o means output to file, extension is detected (.csv|.xlsx|.json)

Example result

A sample CSV file can be found here

Vote for your metrics, propose yours !

See the poll available on the strawpoll website

Credits

This toolbox heavily relies on the work from the folks at wbdata and overall APIs of international organisations: