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.1.tar.gz
(14.2 kB
view details)
Built Distribution
isic-1.0.1-py2.py3-none-any.whl
(14.2 kB
view details)
File details
Details for the file isic-1.0.1.tar.gz
.
File metadata
- Download URL: isic-1.0.1.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 | be6fc99f3d0adc8d94d6ec342d395995ac71ff5293b28cbb46c99800e2a22309 |
|
MD5 | 4e1bc9eff451f147d2395cc3fc20a1fe |
|
BLAKE2b-256 | 849ead8ff0bbab912443e18d9d164b4f5a560cd4a93afee8365891712e8ba913 |
File details
Details for the file isic-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: isic-1.0.1-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 | 1e6033c36b183e5741bab2f9f122b9f2b30552e83abaa3e98430ed1afa9a9d1a |
|
MD5 | de908e00adb3d494eb2725a39ad7e074 |
|
BLAKE2b-256 | f77ef0ddca4fbb9d85b46a41323d58a4294862a9b812ac6e6263a192fab5e026 |