fload is a data processing toolkit.
Project description
fload
fload is a data processing toolkit. It uses:
* Json
* linux pipe
Concepts
Source
Each source outputs a series of json lines
Pipeline
Each pipeline consumes lines of json, and output new lines of json.
Modules
csv
fload csv xx.csv
imap
combine doc id:
fload imap --imap-server=xxx --imap-port=xxx --imap-user=user --imap-pass=PassW0Rd --start-uid-file=mailbox_uid.txt \
| jq -ca '. + {id: (.mailbox + "/" + (.uid|tostring))}' \
incremental scan:
fload imap --imap-server=xxx --imap-port=xxx --imap-user=user --imap-pass=PassW0Rd --start-uid-file=mailbox_uid.txt \
| jq -ca '. + {id: (.mailbox + "/" + (.uid|tostring))}' \
| fload last_field_to_field --field=uid --dest-file=mailbox_uid.txt
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
fload-0.0.6-py3-none-any.whl
(16.3 kB
view hashes)