Skip to main content

A wrapper for fixed column text files

This module copies a fixed column TXT file into a dictionary to manipulate, and enrich. It can also be exported into a TXT file with a different structure than the original file.

Testing

This project uses pytest to run tests and also to test docstring examples.

Install the test dependencies.

$ pip install -r requirements_test.txt

Run the tests.

Developing

This project uses black to format code and flake8 for linting. We also support pre-commit to ensure these have been run. To configure your local environment please install these development dependencies and set up the commit hooks.

$ pip install black flake8 pre-commit
$ pre-commit install

Releasing

Releases are published automatically when a tag is pushed to GitHub.

# Set next version number
export RELEASE = x.x.x

# Create tags
git commit --allow -empty -m "Release $RELEASE"
git tag -a $RELEASE -m "Version $RELEASE"

# Push
git push upstream --tags

Metadata

Release files for TxtWrpr 0.0.6

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

Source distribution (sdist)

Source distribution for TxtWrpr 0.0.6
File Size Uploaded
TxtWrpr-0.0.6.tar.gz 6.3 kB Details

Built distribution (wheel)

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

Total release size: 12.5 kB

Release files / TxtWrpr-0.0.6.tar.gz

Download URL TxtWrpr-0.0.6.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
344dd378078855a063e65eb15af2a02da2deb5a1f549c9d9a5cdf5ba445ee14b
BLAKE2b-256 checksum
How to use checksums
0f8b9f247416234e560cb58ca160183f19187719c72bb9f73af45149bad4add3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / TxtWrpr-0.0.6-py3-none-any.whl

Download URL TxtWrpr-0.0.6-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0663bccb9e88f46cd8252f5243ac84a83275b99183e6fac4357ff95dd74f1d0d
BLAKE2b-256 checksum
How to use checksums
ef8a2ceb595e3c836a7c64bb8334fdbedbc5f6e382a4808cb0fb8f67f930a7e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.1

2 release files

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