所有欧盟国家的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日访问)

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java组织。springframework。jdbc。CannotGetJdbcConnectionException:无法获取JDBC连接;   java构造函数(int,int,string)未定义;在LWJGL中创建显示   java每当我调用一个函数时,静态函数是否会在类中自动被调用?   java如何为deck类toString方法编写函数   java分析堆使用JUnit JavaFx的内容   JavaJSF2+RichFaces在托管bean中设置变量时遇到问题   java Twitter API无法更新包含圆括号的状态   java Lucene LongField错误   Java正则表达式匹配零次或一次   通过linux中的java代码从windows共享使用数据的文件系统   java Android试图在不使用移动网络的情况下向自己发送虚假短信   Android ListView中的java增长堆   java CheckStyle检查未被忽略   数组java随机选取一个类/对象   java使用Jackson仅使用规范类型字符串反序列化JSON   使用两种编程语言生成的java UUID?   case equals方法中的java hashCode方法支持wildchar