Skip to main content

Mainly purposed for archiving text files as text files, but can archive any file and not only as text. txr was inspired by tar, gzip and gunzip. License: GPL v3 or later.

The txr format is composed of two files with the following extensions:

  • .txr - a comma delimited index file (text).

  • .txd - a data file (can either be text or binary). By default it is concatenation of the input files, separated by a sentinel).

txr uses:

  • sha256 (for optional hashing, by default).

  • zlib (for optional compressing).

  • cryptography (for optional encrypting).

Install:

>>> pip install txr

txr is a standalone application (It consist of a single source file txr.py). Using the above command installs txr both as a console script and as a python module. If you wish you could also just copy txr.py and use it as a standalone app.

Basic Usage:

Archive a folder (or a single file)

>>> txr c:\my_input

Extracting a txr file:

>>> txr -x c:\my_input.txr

See detailed help with all available parameters:

>>> txr

Contributions are welcome.

Metadata

Release files for txr 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

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

Release files / txr-2.0.1-py3-none-any.whl

Download URL txr-2.0.1-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7b1f257ed6cc4c01980fa8476ffd7cfd18c66396228579c6e1a904384368907
BLAKE2b-256 checksum
How to use checksums
79c26d9b140ca9ceb1210ffc6f8173214dbba2d2ed4f1231140e7d821b9de458
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

2.0.1 This release

1 release file

2.0.0

1 release file

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