The simplest way to quickly manipulate CSV and XLSX files via the command line.
Project description
Mappa CLI
Mappa is a command-line interface tool that allows you to quickly perform operations on CSV and XLSX files, such as renaming header keys, remapping header positions, stripping columns, and converting headers to lowercase.
Installation
You can install Mappa VIA pip
pip install mappa-cli
Usage
The tool can be invoked using the mappa command. Below is an example of how to use Mappa, along with the available options.
Examples
mappa --filepath [filepath] --output [output path] [options]
The input path and output path are optional arguments. If not provided, you will be prompted to enter the file paths during runtime. The default output file will be named filepath.mapped.csv.
You can stack multiple options in one command. However, the options will always be executed in a predefined order, regardless of how you input them. For example:
mappa --rename --remap --strip
Options
--rename: Rename header keys
--remap: Remap header position
--strip: Strip specified columns from the table
--lower: Set all headers to lowercase
--inplace: Save changes to the same input file
--help: Display help
License
This package is free to use and open for contributions under the GLWTS License, which prohibits the use of this repo for any AI or non human based training.
Project details
Release history Release notifications | RSS feed
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 mappa_cli-0.0.1.0.tar.gz.
File metadata
- Download URL: mappa_cli-0.0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
719047d8568e4a4c4f90fef17e10c72fa57f1b4b3f956d93447312fd7f2b88c2
|
|
| MD5 |
139d8095a6562c51247b4f99888b4c5d
|
|
| BLAKE2b-256 |
09b832bdcae99118f3c238d6a1e268f860ab7c7b86f5bed84029b8219a2bc559
|
File details
Details for the file mappa_cli-0.0.1.0-py3-none-any.whl.
File metadata
- Download URL: mappa_cli-0.0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02843897a8d153443900d2bc1f21315dcd88cb202e5534eb82fb0dbf4781b09a
|
|
| MD5 |
a213141695178ac0fd0ecd445dfd60fe
|
|
| BLAKE2b-256 |
0db384308ad353ea0584d4984e4df6aa9902f0d4b201c00ebe8c5e1defd75da9
|