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.2.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for partial_sh-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ce910e1e3de32deb7acb370e46aa5499c8882757f726e582a50cc8f2f396f66 |
|
MD5 | 73818e2d9f9c34ad533a9e11f48be518 |
|
BLAKE2b-256 | c999623385e11ac55d4e9e8fc869f707961c991880e630aa7d48eed6385db14e |