Python library for managing Controlled Unclassified Information (CUI) categories and their metadata.
Project description
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")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycui_utils-0.3.0.tar.gz.
File metadata
- Download URL: pycui_utils-0.3.0.tar.gz
- Upload date:
- Size: 49.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
978d40299e9565405baaab8e1d08fc2983659ba6ced231e570e63da0b1f3f756
|
|
| MD5 |
5ffa79b7a5738b2113fad72bb35a0e55
|
|
| BLAKE2b-256 |
00c4c64e06694ee4d74adb7148bf9889ea9b77a295c41162fbeeaedb82fec0ad
|
File details
Details for the file pycui_utils-0.3.0-py3-none-any.whl.
File metadata
- Download URL: pycui_utils-0.3.0-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
320363832571ccc6487fc47708f4625408fe9143310f7a2fba1bd881e8d2b72c
|
|
| MD5 |
129a094e7da7bba4acfebcc633224900
|
|
| BLAKE2b-256 |
0230056de817bf314fb09608b66fd491f51c12347792887c5d2458e2afdedaae
|