2024-09-19 12:01:51 -06:00
|
|
|
# Hubspot Parse
|
|
|
|
Scripts for parsing Hubspot data with a goal towards migrations.
|
2024-09-19 12:07:37 -06:00
|
|
|
|
|
|
|
# Install
|
|
|
|
Thusly.
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://code.libre.is/libre/hsparse
|
|
|
|
cd hsparse/
|
|
|
|
python -m venv venv
|
|
|
|
source venv/bin/activate
|
|
|
|
pip install poetry
|
|
|
|
poetry install
|
|
|
|
```
|
2024-09-19 12:20:30 -06:00
|
|
|
|
2024-09-19 19:48:22 -06:00
|
|
|
# Usage
|
|
|
|
```
|
|
|
|
$ hsparse-csv-contacts -h
|
|
|
|
usage: hsparse-csv-contacts [-h] [-d] [-e] [-f] [-n] csv_file
|
2024-09-19 12:20:30 -06:00
|
|
|
|
2024-09-19 19:48:22 -06:00
|
|
|
Parse Hubspot Contacts CSV Export
|
2024-09-19 12:20:30 -06:00
|
|
|
|
2024-09-19 19:48:22 -06:00
|
|
|
positional arguments:
|
|
|
|
csv_file Contacts CSV File
|
|
|
|
|
|
|
|
options:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
-d, --dump Dump CSV contents
|
|
|
|
-e, --empty List empty columns
|
|
|
|
-f, --fields Fields from CSV header
|
|
|
|
-n, --non_empty List number of non-empty values for each column
|
2024-09-19 12:20:30 -06:00
|
|
|
```
|
2024-09-19 19:48:22 -06:00
|
|
|
|