跳转到主要内容

Plone插件

项目描述

https://github.com/collective/redturtle.unitaterritoriali/actions/workflows/plone-package.yml/badge.svg Coveralls https://codecov.io/gh/collective/redturtle.unitaterritoriali/branch/master/graph/badge.svg Latest Version Egg Status https://img.shields.io/pypi/pyversions/redturtle.unitaterritoriali.svg?style=plastic:alt:Supported-PythonVersions License

redturtle.unitaterritoriali

此插件从ISTAT获取数据

并提供了一种简单查询的方法

特性

  • 从ISTAT代码到地籍代码/名称

  • 从地籍代码到ISTAT代码/名称

示例

这是一个如何使用此包的示例

utility = component.getUtility(IUnitaTerritorialiUtility)
comune = utility.codice_catastale_to_comune("D458")
{'codice_istat': '39010', 'denominazione': 'Faenza'}

comune = utility.codice_istat_to_comune("39010")
{'codice_catastale': 'D458', 'denominazione': 'Faenza'}

安装

通过将其添加到您的buildout中安装redturtle.unitaterritoriali,然后运行bin/buildout

[buildout]

...

eggs =
    redturtle.unitaterritoriali

作者

RedTurtle

许可证

该项目根据GPLv2许可证授权。

贡献者

变更日志

1.0.1 (2024-03-12)

  • 修复readme和设置元数据 [lucabel]

1.0 (2024-03-11)

  • 修复README版本1.0 [lucabel]

1.0a1 (2024-03-07)

  • 初始版本。 [lucabel]

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分发

redturtle.unitaterritoriali-1.0.1.tar.gz (196.3 kB 查看哈希)

上传时间

构建分发

redturtle.unitaterritoriali-1.0.1-py3-none-any.whl (196.1 kB 查看哈希)

上传时间 Python 3

支持者

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页