所有欧盟国家的ISO 3166国家代码。
pyeucountrycodes的Python项目详细描述
密码
遵循ISO 3166-1/Alpha-2标准的欧盟国家代码列表。
用法
pip install pyeucountrycodes >>> from eu_country_codes import COUNTRY_CODES
范围
它的目的是保持这个包非常简单。
如果您需要访问这些国家的名称,甚至可以使用不同的语言,请参考优秀的pycountry:
https://pypi.org/project/pycountry/
贡献、功能请求和错误报告
请使用https://github.com/jugmac00/pyeucountrycodes
开发和运行测试
$ python3 -m venv .venv
$ . .venv/bin/activate
$ pip install -U pip
$ pip install flit
$ git clone git@github.com:jugmac00/pyeucountrycodes.git
$ cd pyeucountrycodes/
$ flit install
$ pytest .
发布历史记录
0.7.0(2019年1月15日)
初次发布。
来源
国家列表:
https://en.wikipedia.org/wiki/Member_state_of_the_European_Union(于2019年1月15日访问)
ISO代码:
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes(于2019年1月15日访问)