Skip to main content

A Python package built on top of KLASS's API for retrieving classifications, codes, correspondances etc.

Project description

ssb-klass-python

A Python package built on top of KLASS's API for retrieving classifications, codes, correspondances etc.

Example usage

from klass import KlassClassification as KC # Import the class for KlassClassifications
nus = KC(36)  # Use ID for classification
codes = nus.get_codes() # codes from current date
print(codes)
codes.data  # Pandas dataframe available
from klass import get_classification # Import the utility-function
nus = get_classification(36)

Technical notes

Documentation for the endpoints we are using can be found on Statistics Norways pages.

Technical architecture of the API we are interacting with is detailed in Statistics Norway's internal wiki.


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

ssb_klass_python-0.0.2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssb_klass_python-0.0.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file ssb_klass_python-0.0.2.tar.gz.

File metadata

  • Download URL: ssb_klass_python-0.0.2.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for ssb_klass_python-0.0.2.tar.gz
Algorithm Hash digest
SHA256 63a23a2929ffc3326dca8357c52072e3aa8ef46a70e49bfccea3f118a52cc747
MD5 52048a8bcd40fc65a6593c8d56c4039f
BLAKE2b-256 c5746e38590b44813b0c9f0948fc15119e51e2e1db3dec71d24012f60b7042c6

See more details on using hashes here.

File details

Details for the file ssb_klass_python-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ssb_klass_python-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 95a669b72e35684175ae23ab06d1fae9cb7f2366a4fd51714a661199103d9039
MD5 f4f9aaf59393fee8d39c980638b5e36e
BLAKE2b-256 74c6236dda040609afc8477dfb318aab710c942eff3a73b04eb67347e8aded7c

See more details on using hashes here.

Supported by

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