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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
isic-1.0.3-py2.py3-none-any.whl
(22.8 kB
view details)
File details
Details for the file isic-1.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: isic-1.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 22.8 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 | e0dea01d4eb60b3c93bdced63b542d8ac11b23fc3334ad53c973b0fe3bbc9dc6 |
|
MD5 | 0edbadd41ae55133521d565fc5224114 |
|
BLAKE2b-256 | 8c153140bbea2a91ac97b2404f3d2875bf62631d3092b0b2ec5b3f92dd886553 |