Skip to main content

vviewer

text viewer to show row data vertically

How to install

from pypi

(vviewer) $ pip install vviewer

for development

(vviewer) $ python setup.py develop

How to use

(vviewer) $ vviewer -h
usage: vviewer [-h] [-c [COLUMN [COLUMN ...]]] [-d DELIMITER] [-e ENCODING]
               [--header HEADER] [--quotechar QUOTECHAR] [--quoting QUOTING]
               [--sort]
               data

positional arguments:
  data                  set path to data file

optional arguments:
  -h, --help            show this help message and exit
  -c [COLUMN [COLUMN ...]], --column [COLUMN [COLUMN ...]]
                        set column to display
  -d DELIMITER, --delimiter DELIMITER
                        set delimiter character in file
  -e ENCODING, --encoding ENCODING
                        set encoding
  --header HEADER       set path to header file
  --quotechar QUOTECHAR
                        set quote character in file
  --quoting QUOTING     set quoting
  --sort                sort row data with header column name

Show all columns

(vviewer) $ vviewer tests/fixtures/blocks.csv

##### line no: 1
------------------------------------------------------------------------
001: number           : 100
002: hash             : 0xb40a0dfde1b270d7c58c3cb505c7e773c50198b28cce3e442c4e2f33ff764582
003: parent_hash      : 0x3dd4dc843801af12c0a6dd687642467a3ce835dca09159734dec03109a1c1f1f
004: nonce            : 0x6d88b33209e0a320
005: sha3_uncles      : 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
006: logs_bloom       : 0x0000000000000000000000000000000000000000000000000...(snip)
007: transactions_root: 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
008: state_root       : 0xf5f18c33ddff06efa928d22a2432fb34a11e6f62cce825cdad1c78e1068e6b7b
009: receipts_root    : 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
010: miner            : 0xc2fa6dcef5a1fbf70028c5636e7f64cd46e7cfd4
011: difficulty       : 827755
012: total_difficulty : 85797483
013: size             : 535
014: extra_data       : 0xd783010502846765746887676f312e362e33856c696e7578
015: gas_limit        : 15217318
016: gas_used         : 0
017: timestamp        : 1479653850
018: transaction_count: 0
------------------------------------------------------------------------
Enter to next line, or q (quit):

Filter any columns

(vviewer) $ vviewer tests/fixtures/blocks.csv -c number hash nonce miner

##### line no: 1
------------------------------------------------------------------------
001: number           : 100
002: hash             : 0xb40a0dfde1b270d7c58c3cb505c7e773c50198b28cce3e442c4e2f33ff764582
004: nonce            : 0x6d88b33209e0a320
010: miner            : 0xc2fa6dcef5a1fbf70028c5636e7f64cd46e7cfd4
------------------------------------------------------------------------
Enter to next line, or q (quit):

Use header.txt when data does not have the header line

(vviewer) $ vviewer tests/fixtures/blocks_without_header.csv --header tests/fixtures/blocks_header.txt

##### line no: 1
------------------------------------------------------------------------
001: number           : 100
002: hash             : 0xb40a0dfde1b270d7c58c3cb505c7e773c50198b28cce3e442c4e2f33ff764582
003: parent_hash      : 0x3dd4dc843801af12c0a6dd687642467a3ce835dca09159734dec03109a1c1f1f
004: nonce            : 0x6d88b33209e0a320
005: sha3_uncles      : 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
006: logs_bloom       : 0x0000000000000000000000000000000000000000000000000...(snip)
007: transactions_root: 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
008: state_root       : 0xf5f18c33ddff06efa928d22a2432fb34a11e6f62cce825cdad1c78e1068e6b7b
009: receipts_root    : 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
010: miner            : 0xc2fa6dcef5a1fbf70028c5636e7f64cd46e7cfd4
011: difficulty       : 827755
012: total_difficulty : 85797483
013: size             : 535
014: extra_data       : 0xd783010502846765746887676f312e362e33856c696e7578
015: gas_limit        : 15217318
016: gas_used         : 0
017: timestamp        : 1479653850
018: transaction_count: 0
------------------------------------------------------------------------
Enter to next line, or q (quit):

Complex example including east asian characters

(vviewer-public) $ vviewer tests/fixtures/e-stat-10102.csv --quoting all --column "調査年 コード" "B1106_森林面積【ha】" "B2101_自然公園面積【ha】" "B4110_最深積雪【cm】"

##### line no: 1
------------------------------------------------------------------------
001: 調査年 コード                                 : 2016100000
011: B1106_森林面積【ha】                        : ***
023: B2101_自然公園面積【ha】                    : 5,565,967.00
047: B4110_最深積雪【cm】                        : ***
------------------------------------------------------------------------
Enter to next line, or q (quit):

Metadata

Release files for vviewer 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vviewer 0.1.1
File Size Uploaded Provenance Actions
vviewer-0.1.1.tar.gz 145.6 kB Without provenance Details for vviewer-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vviewer 0.1.1
File Interpreter ABI Platform Actions
vviewer-0.1.1-py3-none-any.whl Python 3 none any Details for vviewer-0.1.1-py3-none-any.whl

Total release size: 154.9 kB

Release files / vviewer-0.1.1.tar.gz

Download URL vviewer-0.1.1.tar.gz
Size 145.6 kB
Tags Source
SHA-256 checksum
How to use checksums
75fcb4ae08ad7d28f0675db5cfff27e16b638eb985a6f801dadbf8eb618e2e65
BLAKE2b-256 checksum
How to use checksums
ed189c66b1e959887814cf4bfabd874a55b5cf4735c8d20899b59f892fc6a039
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/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Release files / vviewer-0.1.1-py3-none-any.whl

Download URL vviewer-0.1.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87a1cdfb302f09c9022dfb39d4e57e8430c819279994894e444224c64c6d1c88
BLAKE2b-256 checksum
How to use checksums
e561438e4d903ba66f7a0b6d51bb52f2e96fac2223d737eca6b8aefe0c10280f
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/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Security for vviewer 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page