Manipulate JSON with your words
Project description
Partial-sh
Examples
Create data.jsonl
JSON Lines file:
cat << EOF > data.jsonl
{"name":"John Doe","date_of_birth":"1980-01-01", "address": "123 Main St"}
{"name":"Jane Smith","date_of_birth":"1990-02-15", "address": "456 Main St"}
{"name":"Jay Neal","date_of_birth":"1993-07-27", "address": "42 Main 94111 St"}
{"name":"Lisa Ray","date_of_birth":"1985-03-03", "address": "789 Elm St"}
EOF
Transform the data:
cat data.jsonl | pt -i "Split firstname and lastname" -i "remove the address"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
partial_sh-0.1.3.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for partial_sh-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d79d754d84c10a59d51b1c65be2b4cb57b04a86ed54964c57bfad576f679603 |
|
MD5 | 25065d0d801b16b7ca716d2d64a019fc |
|
BLAKE2b-256 | 5326bc022e1aa12c3f9179afeee21aca692b510b8768496f3735c07762eee8bb |