Skip to main content

HCS-U7 cognitive profile parser and utilities

Project description

hcs-u7 (Python)

Official Python parser and utilities for the HCS-U7 cognitive profile format.

Installation

pip install hcs-u7
# or, until the package is published on PyPI:
# pip install "git+https://github.com/corehuman/hcs-u7-python.git"

Quick start

from hcs_u7 import parse_hcs_code, HCSCodeParseError

code = "HCS-U7|V:7.0|ALG:QS|E:E|MOD:c50f0m50|COG:F39C21V0S25Cr15|INT:PB=B,SM=M,TN=M|QSIG:00004vs07r|B3:017zazpe"

try:
    profile = parse_hcs_code(code)
    print(profile.element, profile.cognition.logic)
except HCSCodeParseError as exc:
    print("Invalid HCS-U7 code:", exc)

License

MIT

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

hcs_u7-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

hcs_u7-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file hcs_u7-0.1.0.tar.gz.

File metadata

  • Download URL: hcs_u7-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for hcs_u7-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f0c02816194ecd01d687909b486353189ab5210d1ab51b35af039dc277895c57
MD5 f7f5091a11117b933de5d87c8b584ee4
BLAKE2b-256 4bfb192b05229ebe07fb02f59316a9eb64b38af1d0fb32818983cd75c39fb58e

See more details on using hashes here.

File details

Details for the file hcs_u7-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hcs_u7-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for hcs_u7-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c79ef1bdd7a76b03701b17466c8c873afe1949091f8165f8a76ef6ef483f351
MD5 33af4092e35dabf3bc1a52f0d82f6444
BLAKE2b-256 0c880635dbd829c17e75037efe152d0e52c68fb07e18f4dd205469555429230c

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