Skip to main content

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 details)

Uploaded Python 3

File details

Details for the file fload-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: fload-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for fload-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a5476ff0b5cc70323758dbaf9dd87d8397b330a0ef3a062311ae082e51a35f7b
MD5 29a548585116971bc6f383fa9e607760
BLAKE2b-256 b072a3838566a67714d136d7c10eedecf9fc31e402531cc8a14a2b0a35c03224

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page