Last updated:
0 purchases
govsic 1.1.5
A lightweight library to parse and interface Standard Industrial Classification instances using the current UK SIC 2007 methodology.
govsic supports the UK SIC 2007 framework by unifying the classification of business establishments and other statistical units by their type of economic activity/engagement into a common structure.
Data
Data used has been transformed using the Office for National Statistics' published opensource SIC structure and volume datasets.
Installation
The govsic package is available on PyPI.
pip install govsic
Usage
govsic provides the SIC class to represent Standard Industrial Classifications. Get started by initialising a new SIC object to interface, compare, and evaluate UK SIC 2007 codes.
See example usage in the examples/ repo directory
from govsic import SIC
sic = SIC(8110)
print(f"{sic = }")
# sic = [B] 08.11/0
for label, prop in (
("Code value", sic.code),
("Is valid?", sic.is_valid),
("Section", sic.section),
("Component", sic.component),
):
print(f"{label}:\t{prop}")
# Code value: 08110
# Is valid?: True
# Section: B
# Component: CLASS
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.