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

Uploaded Source

Built Distribution

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

ateco-1.0.0-py3-none-any.whl (683.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ateco-1.0.0.tar.gz
  • Upload date:
  • Size: 675.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ateco-1.0.0.tar.gz
Algorithm Hash digest
SHA256 608acc5d40b73b3213886ff6d127f7e4913d276c526bb911281944238b8708fc
MD5 0fdf395bdbf64569ff07d1807a864226
BLAKE2b-256 f42afb40b0104ec9bfaf5a1e2fd041eb464769e573517448f6d228d673f8326d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ateco-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 683.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ateco-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19709fcd1d6d3571ee5b301d0796399f93f57152c14813f3e1739a9b25462494
MD5 528574db51041adc3144f3e4908a71c4
BLAKE2b-256 d303831d2a52f1e66065706c10006836f06f30455893648a128fc5a90f20d1ea

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