python-fr-naf
Python accessors to NAF/APE codes.
From https://www.insee.fr/fr/information/2406147
Installation
pip install france-naf
Usage
from naf import DB
# Get one NAF object
my_naf = DB["02.30Z"]
print(my_naf)
# "Récolte de produits forestiers non ligneux poussant à l'état sauvage"
"02.30Z" in DB
# True
print(my_naf.section)
# A
# Iter over NAF objects
for naf in DB:
do_something_with(naf)
# Iter over code, description
for code, description in DB.pairs():
pass
# Get the whole DB as a json string
str(DB)
Release files for france-naf 20201022
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| france-naf-20201022.tar.gz | 29.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| france_naf-20201022-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.6 kB
Release files / france-naf-20201022.tar.gz
| Download URL | france-naf-20201022.tar.gz |
|---|---|
| Size | 29.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
138f7ed60d50c50070799eb978dfd1bbb53741f31fa02fd8cb4e757aacd590a0
|
|
BLAKE2b-256 checksum How to use checksums |
29bc700bc6ac7e742e14a57e95f6f3827c4d70fdbe621904dd634f2a05f200b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
|
Release files / france_naf-20201022-py3-none-any.whl
| Download URL | france_naf-20201022-py3-none-any.whl |
|---|---|
| Size | 29.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e397077db2ec7534872bafef4a2e19ae9c820ce1eb8426fee38fe678ff95d3f
|
|
BLAKE2b-256 checksum How to use checksums |
1184671177c9d7b44948f2477e947d48db7d7e0650e6cf5a70bcbb6973781608
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
|