https://github.com/adrian549092/excel_transform
Utility to produce a new excel spreadsheet based on a provided column transformation mapping
https://github.com/adrian549092/excel_transform
Last synced: 6 months ago
JSON representation
Utility to produce a new excel spreadsheet based on a provided column transformation mapping
- Host: GitHub
- URL: https://github.com/adrian549092/excel_transform
- Owner: adrian549092
- License: mit
- Created: 2021-03-20T22:45:26.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-08T03:17:44.000Z (about 4 years ago)
- Last Synced: 2024-03-15T01:03:48.128Z (about 1 year ago)
- Language: Python
- Size: 425 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - adrian549092/excel_transform - Utility to produce a new excel spreadsheet based on a provided column transformation mapping (Python)
README
# excel-transform
[](https://www.python.org/downloads/release/python-388/)
[](https://pypi.python.org/pypi/excel-transform)
[](https://pepy.tech/project/excel-transform)
### Installation
Make sure you are using [python](https://www.python.org/downloads/) 3.8+.
```
λ python --version
```
>Python 3.8.8Create a virtual environment in the desired directory.
```
λ mkdir ~/excel-transform
λ cd ~/excel-transform
λ python -m venv venv
```
Activate the virtual environment and install dependencies.**Windows:**
```
λ venv\Scripts\activate.bat
```**Unix/Linux:**
```
λ source venv/bin/activate
```
**Install Option 1 (Recommended):**```
(venv) λ pip install excel-transform
```
**Install Option 2:**Install from source via `github`
```
(venv) λ pip install git+https://github.com/adrian549092/excel-transform.git@master
```### Create template mapping file
Run this command to generate the skeleton of a mapping file
```
(venv) λ excel-transform mapping-skeleton -o some_mapping.json
```### Transform Spreadsheet
Transform a spreadsheet
```
(venv) λ excel-transform transform -o transformed.xlsx some_spreadsheet.xlsx mapping.json
```### Transform GUI
Launch available PYQT5 GUI
```
(venv) λ excel-transform gui
```### Get Help
Use the `--help` flag anywhere along the `excel-transform` commands to get context aware help
```
(venv) λ excel-transform --help
```
```
(venv) λ excel-transform transform --help
```