A Python wrapper around the UN's ISIC definitions
Project description
This is just a Python-friendly way to reference revision 4 of the International Standard Industrial Classification (ISIC). It’s the result of pulling down this URL and formatting it into a native Python object. For more information, or to see this data in other original source formats, visit the UN here.
How Do I Use It?
It’s really not very advanced. Just import it and reference it however you like:
from isic import ISIC
print(ISIC["02"]) # "Forestry and logging"
print(ISIC["B"]) # "Mining and quarrying"
It’s also handy if you want to use it in a Django model:
from django.db import models
from isic import ISIC
class MyModel(models.Model):
industry = models.CharField(max_length=5, choices=ISIC.items())
Installation
It’s on PyPi, so just install it with pip.
$ pip install isic
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
isic-1.0.0.tar.gz
(14.2 kB
view details)
Built Distribution
isic-1.0.0-py2.py3-none-any.whl
(14.2 kB
view details)
File details
Details for the file isic-1.0.0.tar.gz
.
File metadata
- Download URL: isic-1.0.0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 046478bc852504ac7a2c430b0e6e29225d970f99f80c1cf1db6695e98f3c87bc |
|
MD5 | 9679a1758abf3544680efc0aac6d5157 |
|
BLAKE2b-256 | 0940d1f46a116d6efb051a8bf20a15b5a0b4185b9e1b6ba88c8d65cde55120d0 |
File details
Details for the file isic-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: isic-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f41aedd24d20268a798dd188bacf426de50a47d71d5db450f5160b50410cc17 |
|
MD5 | c94ebba4227f897ca30a321caf0de7e3 |
|
BLAKE2b-256 | 0287f87092d13d619990cf10a5daa798a8237ec6085f69f8fdccf9acd2d05663 |