pycui_utils
A Python library for managing Controlled Unclassified Information (CUI) categories and their metadata.
Overview
PyCUI provides easy access to CUI category information, including category codes, names, descriptions, and marking formats. It enables filtering categories by organization and type (basic or special).
Installation
pip install pycui_utils
uv add pycui_utils
Requirements
- Python 3.9+
Basic Usage
from pycui_utils import categories, basic_categories, special_categories, organizations
# Access all categories
all_categories = categories.all()
# Get a specific category (Chemical-terrorism Vulnerability Information) marking
privacy_cat = categories.get_by_marking("CVI")
# Get basic (non-specified) categories
basic_cats = basic_categories.all()
# Get special (specified) categories
special_cats = special_categories.all()
# Get all organization codes
org_codes = organizations.all()
# Get categories for a specific organization
dhs_cats = organizations.categories("Nuclear")
Metadata
Release files for pycui-utils 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycui_utils-0.3.0.tar.gz | 49.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycui_utils-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 68.8 kB
Release files / pycui_utils-0.3.0.tar.gz
| Download URL | pycui_utils-0.3.0.tar.gz |
|---|---|
| Size | 49.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
978d40299e9565405baaab8e1d08fc2983659ba6ced231e570e63da0b1f3f756
|
|
BLAKE2b-256 checksum How to use checksums |
00c4c64e06694ee4d74adb7148bf9889ea9b77a295c41162fbeeaedb82fec0ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.16
|
Release files / pycui_utils-0.3.0-py3-none-any.whl
| Download URL | pycui_utils-0.3.0-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
320363832571ccc6487fc47708f4625408fe9143310f7a2fba1bd881e8d2b72c
|
|
BLAKE2b-256 checksum How to use checksums |
0230056de817bf314fb09608b66fd491f51c12347792887c5d2458e2afdedaae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.16
|