Skip to content

A Python library that provides structured access to all Controlled Unclassified Information (CUI) categories and descriptions as defined by the U.S. National Archives CUI Registry.

Notifications You must be signed in to change notification settings

brehldev/pycui-utils

Repository files navigation

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.12+

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")

About

A Python library that provides structured access to all Controlled Unclassified Information (CUI) categories and descriptions as defined by the U.S. National Archives CUI Registry.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages