Skip to main content

pickle-query Tool

Project description

pq

PQ is a jq-like viewer/processing tool for pickle files.

howto

# pq '' file.pkl
{'other': 456, 'test': 123}
# pq 'table' file.pkl
|other|test|
| 456 |123 |
# pq 'keys' file.pkl
['test', 'other']
# pq '.["test"]' file.pkl
123

Implemented filters

Filter Usage Description
flat .[] Extract elements from list to apply filters on each
table table When elements are dictionaries, display common keys as a table
keys keys Extract keys from dictionary or list(range(len(list))) on a list
accessor .ATTRIBUTE or .[INDEX] Read attribute from object or index on a list/dictionary

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pq-tool-0.1.1.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

pq_tool-0.1.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file pq-tool-0.1.1.tar.gz.

File metadata

  • Download URL: pq-tool-0.1.1.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for pq-tool-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3ca2c68609f4fdef552291b4449d050a063e0a60fd55859716c6d12308d38dfa
MD5 66ebdaa8fae4221f2832bea4fd5181b2
BLAKE2b-256 7e7512884472efffb31c596066a3277895de8eae50fc036aa3c0d45f63738782

See more details on using hashes here.

File details

Details for the file pq_tool-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pq_tool-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for pq_tool-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 089312eba5efcd931cd67aab296c8932ae6b5a755405111ecd3fb6534745f000
MD5 6ffe1bfdd7b6a49d2f36fc88ac7b0229
BLAKE2b-256 167399a011abc4cb0c15c018df1c521b1b844ac0bcc32c233a3f1ce305e35517

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