Skip to main content

govsic

CI status Supported Python versions PyPI version License Downloads

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

Metadata

Release files for govsic 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for govsic 1.1.5
File Size Uploaded
govsic-1.1.5.tar.gz 152.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for govsic 1.1.5
File Interpreter ABI Platform
govsic-1.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 306.7 kB

Release files / govsic-1.1.5.tar.gz

Download URL govsic-1.1.5.tar.gz
Size 152.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0181c9a9b8b21b3a3889a25ac5c33eccb9d0445f40a12763e75156b01b6c828b
BLAKE2b-256 checksum
How to use checksums
4913a6192aec5b67731b95f933aa4fb0e8617e1189c69d233e57df1b67179b5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / govsic-1.1.5-py3-none-any.whl

Download URL govsic-1.1.5-py3-none-any.whl
Size 154.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ab2fa6d85501008101eea1581671549ea43aa228f99f28caa1e525e2114bd4e
BLAKE2b-256 checksum
How to use checksums
4d7112bc63d5118927f4444f23510b90b76628eec9fb77ee54b9cdafe1c5f719
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

1.1.5 This release

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page