Metadata-Version: 2.1
Name: mappa-cli
Version: 0.0.1.0
Summary: The simplest way to quickly manipulate CSV and XLSX files via the command line.
Home-page: https://github.com/0x3at/mappa-cli
Author: Dunder Dev
License: GLWTS
Keywords: python,csv,remap,remap csv,rename headers,header keys,strip columns,lowercase headers
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: click ==8.1.7
Requires-Dist: colorama ==0.4.6
Requires-Dist: et-xmlfile ==1.1.0
Requires-Dist: numpy ==2.1.2
Requires-Dist: openpyxl ==3.1.5
Requires-Dist: pandas ==2.2.3
Requires-Dist: pyarrow ==17.0.0
Requires-Dist: python-dateutil ==2.9.0.post0
Requires-Dist: pytz ==2024.2
Requires-Dist: setuptools ==75.1.0
Requires-Dist: six ==1.16.0
Requires-Dist: tzdata ==2024.2

# 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
```bash
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
```bash
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:

```bash
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.






