Skip to main content

A library for easily transforming files

Project description


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


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.

Files for FileTransforms, version 0.2.1
Filename, size & hash File type Python version Upload date
FileTransforms-0.2.1-py3-none-any.whl (21.6 kB) View hashes Wheel py3
FileTransforms-0.2.1.tar.gz (12.2 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page