Skip to main content

An add-on for Plone

Project description

https://github.com/RedTurtle/redturtle.unitaterritoriali/actions/workflows/plone-package.yml/badge.svg Latest Version Egg Status Supported - Python Versions 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.1.0 (2026-02-13)

  • aggiornati i dati con nuuovo CSV da ISTAT [mamico]

  • fix CI / gha [mamico]

  • aggiunte costanti per dizionari precalcolati per PROVINCE e COMUNI [mamico]

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.1.0.tar.gz (372.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

redturtle_unitaterritoriali-1.1.0-py3-none-any.whl (373.9 kB view details)

Uploaded Python 3

File details

Details for the file redturtle_unitaterritoriali-1.1.0.tar.gz.

File metadata

File hashes

Hashes for redturtle_unitaterritoriali-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1fd12e6258ae255459014b1a66e079833ca05f607089f2b04f074583b93f3675
MD5 b0a8ca93d6533b89ded623532453d3cc
BLAKE2b-256 eb0d2e10b9f925d72b2ac175f636f125ff2c3b20425c84a20ea7a15e0d6d04f5

See more details on using hashes here.

File details

Details for the file redturtle_unitaterritoriali-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for redturtle_unitaterritoriali-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a82aa223e1f4f83ff9d61b7bab1c8ef1078fe89c71ee342f13cc97b5503f5cf
MD5 d88072abde00f0def0213b5deaa13d5d
BLAKE2b-256 b2c299b1e0a703e67bbf7ad005ecfc09dcffc340328b611eca348b98d7a0a511

See more details on using hashes here.

Supported by

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