jlpipe
Introduction
Project owner: Jay Young dev@yjmade.net
Installation
pip install jlpipe
Usage
full commands list:
- dynamojson: convert json from dynamodb format to normal
- jsonkey: return json keys of each line
- jsonallkeys: show statistics of keys of json lines
- jsonselect: select fields from json
- json2csv: convert json to csv
- json2pgtext: convert json to postgres plain text then can use pgcopy to import to database
- parquet2json: convert parquet file to json format
- jsondecompress: decompress gzip compressed field
- arrayunpack: similiar to postgres unnest, unnest a array to lines
- pgcopy: similiar to pgfutter, but it use plain text to copy
- parallel_split: similiar to
parallel --pipe, start multiple worker ahead, and cycle each line of input and route to each worker, then forword workers output to its stdout, not garentee order.
$ cat *.json|parallel_split dynamojson|jsonselect data=. patent_id description=patent_description|jsondecompress description|json2pgtext -a|pgcopg all_patent
$ cat *.json|jsonallkeys -l 10000 -r >/dev/null
$ ls *.parquet|parquet2json|json2pgtext|pgcopg all_patent
More usage reference to the command help text
command --help
Metadata
Release files for jlpipe 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jlpipe-1.1.0.tar.gz | 7.8 kB | Without provenance | Details for jlpipe-1.1.0.tar.gz |
Release files / jlpipe-1.1.0.tar.gz
| Download URL | jlpipe-1.1.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f349fb14f590b88644d301a4ef6a28459604812fe656784ad546c35d657ab96f
|
|
BLAKE2b-256 checksum How to use checksums |
a8dda574e7daa42abc67c147d276dbdc46035e5b6b4e9b0da8ff11576e1faf55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for jlpipe 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.