Skip to main content

Italian ATECO classification (ISTAT) as a pure-Python data library.

Project description

ateco

Italian ATECO economic activity classification (ISTAT) as a pure-Python data library.

CI

Features

  • Editions 2007, 2022 (ATECO 2007 aggiornamento 2022), 2025 (default)
  • Canonical codes are dotted (55.20.42); compact input (552042) accepted
  • Lazy-loaded package data via importlib.resources (offline, reproducible)
  • Bidirectional 2025↔2022 correspondence (map_code)
  • Explanatory notes in Italian; English notes planned as future ateco[en] in this same repo

Install

pip install ateco
# future: pip install ateco[en]  # English notes (not shipped yet)

Quick start

import ateco

node = ateco.lookup("01.11.00")          # default edition 2025
assert ateco.validate("552042")         # compact → dotted
ed = ateco.as_of("2023-01-15")          # → 2022
mapped = ateco.map_code("01.11", "2025", "2022")

Data provenance

Classification data from ISTAT (open data; attribute ISTAT). Package code is MIT. Sources and checksums: ateco.provenance(). Maintainers rebuild datasets with tools/build_data.py from official ISTAT publications.

Versioning

  • Package __version__ ≠ classification edition key
  • ISTAT data refreshes → package patch/minor + towncrier data: fragment
  • API breaks → major

License

MIT (code) · ISTAT attribution for classification content

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

ateco-0.1.0.tar.gz (675.7 kB view details)

Uploaded Source

Built Distribution

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

ateco-0.1.0-py3-none-any.whl (683.9 kB view details)

Uploaded Python 3

File details

Details for the file ateco-0.1.0.tar.gz.

File metadata

  • Download URL: ateco-0.1.0.tar.gz
  • Upload date:
  • Size: 675.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for ateco-0.1.0.tar.gz
Algorithm Hash digest
SHA256 585849ef0f404aced85487449af54d07052068e752168aab16058f2f88511374
MD5 092255110466c79b90b4d68f2e141d57
BLAKE2b-256 f076214e8fc5ecce825e47ffd816ba3ad3731298d7bfdaf6543874f9fd8bd631

See more details on using hashes here.

File details

Details for the file ateco-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ateco-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 683.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for ateco-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8eb5859dbf120ab36887999727f1c6b1d65578c6642e227211dd51ed9ff664a5
MD5 ceea6080a70a00a7272b71198df03976
BLAKE2b-256 c3ffa559240f7e4c89b4a41499cd211f0ebd3bd4edb564635b5ca00c94f7745e

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