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

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.2.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

isic-1.0.2-py2.py3-none-any.whl (14.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file isic-1.0.2.tar.gz.

File metadata

  • Download URL: isic-1.0.2.tar.gz
  • Upload date:
  • Size: 23.0 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

Hashes for isic-1.0.2.tar.gz
Algorithm Hash digest
SHA256 738da2bb79bc9ec45baaf107055b86128efbdc7978116ce89e2b4e6b33983118
MD5 d1a3880668a07f4e86a5571800ad7b14
BLAKE2b-256 b54971080666c0e8463fa55a7a55dfad3f001a1f7cdeac3175f11c55ef039f5c

See more details on using hashes here.

File details

Details for the file isic-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: isic-1.0.2-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

Hashes for isic-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 74199d7d7cdf0457cec463475d43b7dd1e1a4fb4b0c713eae3bb5654a53242c6
MD5 46ca33a16449d785e18797400e652e42
BLAKE2b-256 1ff3a8ec30e6188436ca888a56a126d06563b52791dc738454ad98489e631a87

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page