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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| govsic-1.1.5.tar.gz | 152.4 kB | Without provenance | Details for govsic-1.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| govsic-1.1.5-py3-none-any.whl | Python 3 | none | any | Details for govsic-1.1.5-py3-none-any.whl |
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
|
Security for govsic 1.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.