A library for easily transforming files
Project description
FileTransforms
This project started as a few basic Python functions to replace some very old Excel VBA macros that were used to reformatted client files. The original iteration had a lot of hard-coded header values, but this package can be used to generate a wide variety of outputs with relative ease.
Converting Excel Workbooks
This package originally included a function that would automatically convert Excel files to CSVs automatically, but it was removed because it was kind of hacky and might not have been reliably invoked. If pandas is available, this conversion can be done with convert_xlsx_to_csv() in csv_utils.py.
Warning
Some functions in the BaseTransform class had to be heavily modified to not rely upon hard-coded header values, but they have not been thoroughly tested yet. The original code was developed over several years and had to accommodate a wide variety of wild input formats, so more major refactoring of BaseTransform is to be expected.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file FileTransforms-0.2.1.tar.gz.
File metadata
- Download URL: FileTransforms-0.2.1.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3822f8abd463181b946826fad08d01d452ac998e6ce98c5c1209207cea26bf4
|
|
| MD5 |
cdb339a99d5503489cda9e9ab3ce36ca
|
|
| BLAKE2b-256 |
9a57784ddcd491bf6b954664cf0bedb87a1810f6bce56fd778df72ab2f8dccfc
|
File details
Details for the file FileTransforms-0.2.1-py3-none-any.whl.
File metadata
- Download URL: FileTransforms-0.2.1-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e961ab89551137f5f7ded3e216ca8a2c64f2f6363c8ac10efba2fa2e3569b827
|
|
| MD5 |
70d53282937329dd0735c38fae30a059
|
|
| BLAKE2b-256 |
7c53f5da3378965a3172fe46183cf3a4207edcbc044807dea8321e35b8dd51c8
|