Skip to main content

Pyut decompressor

Project description

Build Status Maintenance macOS

forthebadge made-with-python

Introduction

A simple python console script to let me convert Pyut files to XML.

Overview

The basic command structure is:

Usage: pyut2xml [OPTIONS]

Options:
  --version               Show the version and exit.
  -i, --input-file TEXT   The input .put file to decompress.  [required]
  -o, --output-file TEXT  The output xml file.
  --help                  Show this message and exit.

By default, pyut2xml assumes that the input file has a .put suffix and the output file has a .xml suffix.

However, pyut2xml is flexible and can deduce file names and suffixes. The best option is if you do not specify the output file. Then, pyut2xml deduces that the output file is the same as the input file name with the .xml suffix. For example:

pyut2xml -i TestFileV10.put

causes pyut2xml to write to a file named TestFileV10.xml

The command line:

pyut2xml -i TestFileV10 -o TestFileV10

reads from TestFileV10.put and writes to TestFileV10.xml

Another simple example:

pyut2xml -i TestFileV10

causes pyut2xml to reads from a file named TestFileV10.put and write to a file named TestFileV10.xml

Installation

pip install pyut2xml


Written by Humberto A. Sanchez II <mailto@humberto.a.sanchez.ii@gmail.com>, (C) 2022

Note

For all kind of problems, requests, enhancements, bug reports, etc., please drop me an e-mail.

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

pyut2xml-0.1.1.tar.gz (3.7 kB view hashes)

Uploaded source

Built Distribution

pyut2xml-0.1.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page