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

Uploaded Source

Built Distribution

isic-1.0.4-py2.py3-none-any.whl (22.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: isic-1.0.4.tar.gz
  • Upload date:
  • Size: 22.6 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.4.tar.gz
Algorithm Hash digest
SHA256 4c6a939e1bed4b269c5c945728fe92d65bc10f25549a5bbda90ba9a1113d27c5
MD5 e840b5e252c9be763960c1b5e9323450
BLAKE2b-256 56c74789746386fc4083b2d0f0fa0f59d6424b2251b2ca1b24963b4e70515349

See more details on using hashes here.

File details

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

File metadata

  • Download URL: isic-1.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.7 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.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 70e5af13d98ce6dc3434d33e39c61c6db041be8cca97f5b8a315c70ca4e123d8
MD5 83a7a9dfa3eaca83cfd5dff29845b0ee
BLAKE2b-256 b5117fae28dc85c6d4ca1ed80ef7f0a99476e364712319517392e229fd20a9f1

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