Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycui_utils-0.2.0.tar.gz (49.8 kB view details)

Uploaded Source

Built Distribution

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

pycui_utils-0.2.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file pycui_utils-0.2.0.tar.gz.

File metadata

  • Download URL: pycui_utils-0.2.0.tar.gz
  • Upload date:
  • Size: 49.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.16

File hashes

Hashes for pycui_utils-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5cd81daa2e498741245dfcf481bcbf767a407bc85cea1e2c99b991426eed1c49
MD5 c01b53161c6824cb07c7d01726bec5f2
BLAKE2b-256 c304559486ed81483ae076454e0f442aa01397029fe52715855a6f424896989f

See more details on using hashes here.

File details

Details for the file pycui_utils-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pycui_utils-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0472a456284cfb896e7975605d018641a4a666242b0df64240946e70e49cb129
MD5 3874604670c0ee20f34b46d2e789f327
BLAKE2b-256 9fb0e94162c2a88071422d06d1e88a5d69662d307c69075c1598b658b19c3e59

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