Skip to main content

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())


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.

Files for isic, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size isic-1.0.4-py2.py3-none-any.whl (22.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size isic-1.0.4.tar.gz (22.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page