Pyut compressor and decompressor
Project description
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 (C) 2023
Note
For all kind of problems, requests, enhancements, bug reports, etc., please drop me an e-mail.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyut2xml-0.5.0.tar.gz
.
File metadata
- Download URL: pyut2xml-0.5.0.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 379807542b097ef8de844753a970ffeb796fb278baa0d24e4a65f56067026863 |
|
MD5 | 9f69feeacde266f7ef1000e9139bc1ce |
|
BLAKE2b-256 | c930f0bd0dd312711fc510d278571bf6ff96163c54fc431513c8f58964b00a69 |
File details
Details for the file pyut2xml-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: pyut2xml-0.5.0-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44870bca2ea1243c2f4627ede0c9eceb24e3ce8e7e0ae9f42f8cc554726d136d |
|
MD5 | 16d9ca838899e4af54816eb3dbdfd2a7 |
|
BLAKE2b-256 | 2059683dd8cb9c9944a6f7d99d611753d2147de82da5c655693cefbb38f4f348 |