Skip to main content

An add-on for Plone

Project description

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

This addon takes data from ISTAT:

and provide a way to make simple query

Features

  • from codice istat to codice catastale/denominazione

  • from codice catastale to codice istat/denominazione

Examples

This is an example of how to use this package:

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'}

Installation

Install redturtle.unitaterritoriali by adding it to your buildout:

[buildout]

...

eggs =
    redturtle.unitaterritoriali

and then running bin/buildout

Authors

RedTurtle

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0.1 (2024-03-12)

  • Fix readme and setup metadata [lucabel]

1.0 (2024-03-11)

  • Fix README Release 1.0 [lucabel]

1.0a1 (2024-03-07)

  • Initial release. [lucabel]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redturtle.unitaterritoriali-1.0.1.tar.gz (196.3 kB view hashes)

Uploaded Source

Built Distribution

redturtle.unitaterritoriali-1.0.1-py3-none-any.whl (196.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page