Instale ISO_2_LETTER_CODE
pip install datapackage
Horrible Hoopoe
pip install datapackage
from datapackage import Package
package = Package('https://datahub.io/core/country-list/datapackage.json')
# print list of all resources:
print(package.resource_names)
# print processed tabular data (if exists any)
for resource in package.resources:
if resource.descriptor['datahub']['type'] == 'derived/csv':
print(resource.read())