Skip to main content

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)

Source distribution for pycui-utils 0.3.0
File Size Uploaded Provenance Actions
pycui_utils-0.3.0.tar.gz 49.8 kB Without provenance Details for pycui_utils-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pycui-utils 0.3.0
File Interpreter ABI Platform Actions
pycui_utils-0.3.0-py3-none-any.whl Python 3 none any Details for pycui_utils-0.3.0-py3-none-any.whl

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

Security for pycui-utils 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page