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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TxtWrpr-0.0.6.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TxtWrpr-0.0.6-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file TxtWrpr-0.0.6.tar.gz.

File metadata

  • Download URL: TxtWrpr-0.0.6.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for TxtWrpr-0.0.6.tar.gz
Algorithm Hash digest
SHA256 344dd378078855a063e65eb15af2a02da2deb5a1f549c9d9a5cdf5ba445ee14b
MD5 c7110568c24f4f57b2b70fa92c7eec3b
BLAKE2b-256 0f8b9f247416234e560cb58ca160183f19187719c72bb9f73af45149bad4add3

See more details on using hashes here.

File details

Details for the file TxtWrpr-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: TxtWrpr-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for TxtWrpr-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0663bccb9e88f46cd8252f5243ac84a83275b99183e6fac4357ff95dd74f1d0d
MD5 90f2ec8d8f5ee0e8a1beaea41f809f93
BLAKE2b-256 ef8a2ceb595e3c836a7c64bb8334fdbedbc5f6e382a4808cb0fb8f67f930a7e6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page