texel - Command line interface for reading spreadsheets inside terminal

Related tags

CLI Tools texel
Overview

texel - Command line interface for reading spreadsheets inside terminal.

Sometimes, you have to deal with spreadsheets. Those are sad times. Fortunately there is texel!

Texel is a useful CLI for quickly reading spreadsheets and copying their contents to clipboard in CSV format.

texel in action

Usage

texel [-h] [-d DELIMITER] [-c CELLWIDTH] [-p PRECISION]
             [--fillna FILLNA]
             FILE

positional arguments:
  FILE                  Spreadsheet path (csv, xls, xlsx, xlsm,
                        xlsb, odf, ods or odt)

optional arguments:
  -h, --help            show this help message and exit
  -d DELIMITER, --delimiter DELIMITER
                        Delimiter for csv files
  -c CELLWIDTH, --cellwidth CELLWIDTH
                        Width of a cell
  -p PRECISION, --precision PRECISION
                        Precision of floating point numbers
  --fillna FILLNA       Value to use to fill holes in the
                        spreadsheet

Commands

  • ⬆️ ⬇️ ⬅️ ➡️ / kjhl - Move
  • /n - Switch sheet
  • v - Visual/selection mode
  • - Exit visual/selection mode
  • c / y - Copy selected cell(s)
  • q - Exit

Supported file formats:

  • xlsx
  • xls
  • xlsm
  • xlsb
  • csv
  • odt
  • odf
  • ods

Installation

$ pip install texel

Licence

MIT

You might also like...
A command line interface to buy things in stregsystemet

Stregsystemet-CLI This repository is the Stregsystemet CLI, to buy things in Stregsystemet, at AAU. Use of this cli-tool is at your own risk and there

moviepy-cli: Command line interface for MoviePy.

Moviepy-cli is designed to apply several video editing in a single command with Moviepy as an alternative to Video-cli.

Command line interface for unasync
Command line interface for unasync

CLI for unasync Command line interface for unasync Getting started Install Run the following command to install the package with pip: pip install unas

Rover is a command line interface application that allows through browse through mission data, images, metadata from the NASA Official Website

🤖 rover Rover is a command line interface application that allows through browse through mission data, images, metadata from the NASA Official Websit

bsp_tool provides a Command Line Interface for analysing .bsp files

bsp_tool Python library for analysing .bsp files bsp_tool provides a Command Line Interface for analysing .bsp files Current development is focused on

Investing library and command-line interface inspired by the Bogleheads philosophy
Investing library and command-line interface inspired by the Bogleheads philosophy

Lakshmi (Screenshot of the lak command in action) Background This project is inspired by Bogleheads forum. Bogleheads focus on a simple but powerful p

⚙ A lightweight command line interface library for creating commands.
⚙ A lightweight command line interface library for creating commands.

⚙ A lightweight command line interface library for creating cli commands. About | Installation | Usage | Features | Contributors | License About Next:

Command-line interface to PyPI Stats API to get download stats for Python packages
Command-line interface to PyPI Stats API to get download stats for Python packages

pypistats Python 3.6+ interface to PyPI Stats API to get aggregate download statistics on Python packages on the Python Package Index without having t

A minimal and ridiculously good looking command-line-interface toolkit.
A minimal and ridiculously good looking command-line-interface toolkit.

Pyceo Pyceo is a Python package for creating beautiful, composable, and ridiculously good looking command-line-user-interfaces without having to write

Comments
  • moving around in header can crash app

    moving around in header can crash app

    When I use the keyboard to move quickly past the left edge of the screen in the Header column or moving to the right only a few cells, also in the header, can crash the app.

    Awesome app. Thanks!

    Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/bin/texel", line 8, in sys.exit(main()) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/texel/texel.py", line 66, in main curses.wrapper(run, sheets, args) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/curses/init.py", line 94, in wrapper return func(stdscr, *args, **kwds) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/texel/texel.py", line 17, in run while grid.handle_press(scr.getch()): File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/texel/grid.py", line 45, in handle_press self.actionskey File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/texel/grid.py", line 38, in runnable self.draw() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/texel/grid.py", line 175, in draw self.draw_footer() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/texel/grid.py", line 163, in draw_footer self.scr.addstr( _curses.error: addwstr() returned ERR

    opened by theconsultant 2
  • open xls file fail

    open xls file fail

    Traceback (most recent call last): File "/home/.../.local/bin/texel", line 8, in sys.exit(main()) File "/home/.../.local/lib/python3.6/site-packages/texel/texel.py", line 66, in main curses.wrapper(run, sheets, args) File "/usr/lib64/python3.6/curses/init.py", line 94, in wrapper return func(stdscr, *args, **kwds) File "/home/.../.local/lib/python3.6/site-packages/texel/texel.py", line 15, in run Styles(args.cellwidth, args.precision), File "/home/.../.local/lib/python3.6/site-packages/texel/styles.py", line 20, in init self.init_colors() File "/home/.../.local/lib/python3.6/site-packages/texel/styles.py", line 37, in init_colors curses.init_pair(6, C.LIGHT_MAGENTA, C.BLACK) _curses.error: init_pair() returned ERR

    opened by ruizgo 2
  • Pressing almost any key crashes the program

    Pressing almost any key crashes the program

    As the title says, pressing any key apart from Tab, Shift-Tab, h/j/k/l, arrows, c/y, v, q crashes the application:

    Traceback (most recent call last):
      File "/home/.../.local/bin/texel", line 8, in <module>
        sys.exit(main())
      File "/home/.../.local/lib/python3.10/site-packages/texel/texel.py", line 66, in main
        curses.wrapper(run, sheets, args)
      File "/usr/lib64/python3.10/curses/__init__.py", line 94, in wrapper
        return func(stdscr, *args, **kwds)
      File "/home/.../.local/lib/python3.10/site-packages/texel/texel.py", line 17, in run
        while grid.handle_press(scr.getch()):
      File "/home/.../.local/lib/python3.10/site-packages/texel/grid.py", line 46, in handle_press
        elif key == Keys.QUIT:
      File "/home/.../.local/lib/python3.10/site-packages/texel/keys.py", line 11, in __eq__
        return self._hash == other._hash
    AttributeError: 'NoneType' object has no attribute '_hash'
    

    It would be better to do nothing or write "command not supported in a status line", and maybe implement the command ? that summarizes the available keybindings.

    opened by FedericoStra 1
Releases(v0.2.0)
Owner
null
A command-line based, minimal torrent streaming client made using Python and Webtorrent-cli. Stream your favorite shows straight from the command line.

A command-line based, minimal torrent streaming client made using Python and Webtorrent-cli. Installation pip install -r requirements.txt It use

Jonardon Hazarika 17 Dec 11, 2022
Limit your docker image size with a simple CLI command. Perfect to be used inside your CI process.

docker-image-size-limit Limit your docker image size with a simple CLI command. Perfect to be used inside your CI process. Read the announcing post. I

wemake.services 102 Dec 14, 2022
A simple command line chat app to communicate via the terminal.

A simple command line chat app to communicate via the terminal. I'm new to networking so sorry if some of my terminology or code is messed up.

PotNoodle 1 Oct 26, 2021
Booky - A command line utility for bookmarking files on your terminal!

Booky A command line utility for bookmarking files for quick access With it you can: Bookmark and delete your (aliases of) files at demand Launch them

Pran 1 Sep 11, 2022
A supercharged AWS command line interface (CLI).

SAWS Motivation AWS CLI Although the AWS CLI is a great resource to manage your AWS-powered services, it's tough to remember usage of: 70+ top-level c

Donne Martin 5.1k Jan 5, 2023
Command line interface for testing internet bandwidth using speedtest.net

speedtest-cli Command line interface for testing internet bandwidth using speedtest.net Versions speedtest-cli works with Python 2.4-3.7 Installation

Matt Martz 12.4k Jan 8, 2023
Universal Command Line Interface for Amazon Web Services

This package provides a unified command line interface to Amazon Web Services.

Amazon Web Services 13.3k Jan 7, 2023
command line interface to manage VALORANT skins

A PROPER RELEASE IS COMING SOON, IF YOU KNOW HOW TO USE PYTHON YOU CAN USE IT NOW! valorant skin manager command line interface simple command line in

colinh 131 Dec 25, 2022
Microsoft Azure CLI - Azure Command-Line Interface

A great cloud needs great tools; we're excited to introduce Azure CLI, our next generation multi-platform command line experience for Azure.

Microsoft Azure 3.4k Dec 30, 2022
flora-dev-cli (fd-cli) is command line interface software to interact with flora blockchain.

Install git clone https://github.com/Flora-Network/fd-cli.git cd fd-cli python3 -m venv venv source venv/bin/activate pip install -e . --extra-index-u

null 14 Sep 11, 2022