Skip to main content

Maintenance CI PyPI version License: AGPL v3 Made with Python GitHub Copilot: No

Introduction

A python console script and library to compress and decompress XML files usable by umldiagrammer (.udt) and Pyut (.put) projects.

Overview

diagramzlib provides a unified command line interface with subcommands to compress and decompress diagram files.

Usage: diagramzlib [OPTIONS] COMMAND [ARGS]...

  Diagram XML compressor and decompressor CLI for Pyut and umldiagrammer.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  compress    Compress an XML file into a .udt or .put diagram file.
  decompress  Decompress a .put or .udt diagram file to XML.

Decompressing

Auto-detects .udt or .put files and writes to a matching .xml file:

diagramzlib decompress -i EmptyDiagramsProject.udt

causes diagramzlib to write EmptyDiagramsProject.xml.

Similarly:

diagramzlib decompress -i TestFileV10.put

causes diagramzlib to write TestFileV10.xml.

You can also specify an explicit output file:

diagramzlib decompress -i EmptyDiagramsProject.udt -o CustomOutput.xml

Compressing

To compress XML back into a diagram format:

# Compresses to .udt (default format):
diagramzlib compress -i EmptyDiagramsProject.xml

# Compresses to .put format:
diagramzlib compress -i TestFileV10.xml -f put

Installation

pip install diagramzlib

Written by Humberto A. Sanchez II (C) 2026

Metadata

Release files for diagramzlib 2.0.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 diagramzlib 2.0.0
File Size Uploaded Provenance Actions
diagramzlib-2.0.0.tar.gz 17.9 kB With provenance Details for diagramzlib-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for diagramzlib 2.0.0
File Interpreter ABI Platform Actions
diagramzlib-2.0.0-py3-none-any.whl Python 3 none any Details for diagramzlib-2.0.0-py3-none-any.whl

Total release size: 36.2 kB

Release files / diagramzlib-2.0.0.tar.gz

Download URL diagramzlib-2.0.0.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ca332b22d447a2b52124a1cebf7ffdeab156ab175c8f6fab253f152c26c741c0
BLAKE2b-256 checksum
How to use checksums
4030adf547437ec5098fc9296aa9ee9ace184d4494fc31807f5181d04dc4351b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / diagramzlib-2.0.0-py3-none-any.whl

Download URL diagramzlib-2.0.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85097710ebab3a1acc5bd2b0a1c72e97a77173cf1d61cf9a5a096fa1328131d9
BLAKE2b-256 checksum
How to use checksums
66cded54492de0419dba31dc704f8f2de46ff0c103acf844d400ac4941557cdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for diagramzlib 2.0.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for diagramzlib-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

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

2.0.0 This release

2 release files Full provenance

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