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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file redturtle.unitaterritoriali-1.0.1.tar.gz.

File metadata

File hashes

Hashes for redturtle.unitaterritoriali-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ceee027b6766a34da4e53dd4e6e40a0ac2b365cb081bcbdd30a9c8afafc8694a
MD5 9f21ef5867b8d6ab4f3ecff3cc8338c6
BLAKE2b-256 cb54849a834cbf1f7415cbb960cc874828d2f193fc45b8b08a7f016f3a1d013a

See more details on using hashes here.

File details

Details for the file redturtle.unitaterritoriali-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for redturtle.unitaterritoriali-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ee6ce7f53edc12f976432663950408a19d8f2b5fd8ea874aac579e5ba2df857
MD5 1b4deddfa12a1d082bf7e9e33a4d43a0
BLAKE2b-256 90d5705a4282801702811f0bcca19b59116ad485dbe238414de1f9f722f15b8e

See more details on using hashes here.

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