ateco
Italian ATECO economic activity classification (ISTAT) as a pure-Python data library.
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
Metadata
Release files for ateco 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ateco-1.0.0.tar.gz | 675.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ateco-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / ateco-1.0.0.tar.gz
| Download URL | ateco-1.0.0.tar.gz |
|---|---|
| Size | 675.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
608acc5d40b73b3213886ff6d127f7e4913d276c526bb911281944238b8708fc
|
|
BLAKE2b-256 checksum How to use checksums |
f42afb40b0104ec9bfaf5a1e2fd041eb464769e573517448f6d228d673f8326d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / ateco-1.0.0-py3-none-any.whl
| Download URL | ateco-1.0.0-py3-none-any.whl |
|---|---|
| Size | 683.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19709fcd1d6d3571ee5b301d0796399f93f57152c14813f3e1739a9b25462494
|
|
BLAKE2b-256 checksum How to use checksums |
d303831d2a52f1e66065706c10006836f06f30455893648a128fc5a90f20d1ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|