CSV Remapper
A GUI/CLI tool for manipulating CSV file data
Description
Allows you to remap, extract and combine data from multiple CSV sources. Key features:
- Easy to use GUI for creating mapping Templates and processing files
- Batch-remap files using command line interface
- Combine data from multiple csv sources
- Extract data using Regex
- Omit data based on predefined values
Getting Started
Dependencies
- Python 3.7 or higher
Installing
pip install csv-remapper
Executing
Display help:
csv-remapper -h
Run in GUI mode:
csv-remapper
Workflow
Launch csv-remapper in GUI mode and create an Output Template (Edit → New Template... → Output) by selecting a CSV file.
This file doesn't need to contain any data (apart from the header) and should contain all the columns you wish to see in the final output.
Create an Input Template by selecting a CSV file containing sample data from your source application.
Open Template Editor (Edit → Edit Templates), select your Output template and begin remapping data by dragging and dropping table headers.
If some values need changing (e.g. date format) do so by selecting the correct In/Out data types (double-click to edit)
If you have additional data you wish to insert, which is not present in your main input, you can do so by adding Alias Data tables in the Output section.
Populate the "Alias Values" column - these values will be used for selecting the correct row before data extraction.
As previously, drag and drop table headers in both Output and Input sections to create mappings.
All tables are editable via direct data manipulation (double-click) or the context menu (right-click)
Once the templates are set up, you can remap your CSV files via GUI or by using the command line, e.g.:
csv-remapper -t "Out-Template-Name" -o "//output/dir" -f "file1.csv" "file2.csv" "file3.csv" ...
Metadata
Release files for csv-remapper 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| csv-remapper-1.1.7.tar.gz | 191.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| csv_remapper-1.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 250.2 kB
Release files / csv-remapper-1.1.7.tar.gz
| Download URL | csv-remapper-1.1.7.tar.gz |
|---|---|
| Size | 191.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8238ae4d4974b273edc1699595dab063d3bf26480978f37318823b6a91298a8b
|
|
BLAKE2b-256 checksum How to use checksums |
642cc1c0d5f5153684c21d80da9423adab0f9724d756139f3b36748539300c01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Release files / csv_remapper-1.1.7-py3-none-any.whl
| Download URL | csv_remapper-1.1.7-py3-none-any.whl |
|---|---|
| Size | 59.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c5c454c1135ae2a84c33fc8815f5628d287a6c3d8c6221499fadb1c57beb255
|
|
BLAKE2b-256 checksum How to use checksums |
833082048ad49dc9db168397fe071b0531f38679a0a552821e07c9b3e3ef2d80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|