texel - Command line interface for reading spreadsheets inside terminal

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)
A command-line tool to flash python code to Codey Rocky without having to use the online mblock5 IDE.

What? A command-line tool to flash python code to Codey Rocky without having to use the online mblock5 IDE. Description This is a very low-effort proj

1 Dec 29, 2021
Command Line For Truecaller Written In Python

Truecaller-CLI Command Line Version For Truecaller Written In Python Never Login With A Number Over And Over Or It Will Be Banned Because Program Is S

Sandaru Ashen Fernando 16 Nov 08, 2022
Tools hacking termux in the name ant-attack

Hello friends, I am ama.player0000. Web developer, software, Android command line (termux). (1)=Well, ant-attack tool is a tool to attack sites and disable them. (2)=You can use those CCTV servers, s

༺AMA.PLAYER༻ 1 Dec 17, 2021
Wordle helper: help you print posible 5-character words based on you input

Wordle Helper This program help you print posible 5-character words based on you

Gwan Thanakrit Juthamongkhon 4 Jan 19, 2022
A CLI application that downloads your AC submissions from OJ's like Atcoder,Codeforces,CodeChef and distil it into beautiful Submission HeatMap.

Yoda A CLI that takes away the hassle of managing your submission files on different online-judges by automating the entire process of collecting and organizing your code submissions in one single Di

Nikhar Manchanda 1 Jul 28, 2022
Terminal Colored Text for Python

Terminal Colored Text for Python

R3CKhi-**75 3 Sep 10, 2022
Command-line search tool for GitHub

cligh is a command-line search tool for GitHub.

1 Oct 02, 2022
This CLI give the possibility to do a queries in Star Wars API and returns a JSON in a terminal.

Star Wars CLI (swcli) This CLI give the possibility to do a queries in Star Wars API and returns a JSON in a terminal. Install $ pip install swcli Qu

Pery Lemke 5 Nov 05, 2021
Python3 parser for Apple's crash reports

pyCrashReport in intended for analyzing crash reports from Apple devices into a clearer view, without all the thread listing and loaded images, just the actual data you really need to debug the probl

7 Aug 19, 2022
dbt-subdocs is a python CLI you can used to generate a dbt-docs for a subset of your dbt project

dbt-subdocs dbt-subdocs is a python CLI you can used to generate a dbt-docs for a subset of your dbt project 🤔 Description This project is useful if

Jambe 6 Jan 03, 2023
A Python-based Wordle solver and CLI player

Wordle A Python-based Wordle solver and CLI player This was created using Python 3.9.7. SPOILER ALERT: the data directory contains spoilers for upcomi

Will Fitzgerald 1 Jul 24, 2022
Command-line tool for looking up colors and palettes.

Colorpedia Colorpedia is a command-line tool for looking up colors, shades and palettes. Supported color models: HEX, RGB, HSL, HSV, CMYK. Requirement

Joohwan Oh 282 Dec 27, 2022
Dynamically Generate GitHub Stats as like Terminal Interface

GitHub Stats Terminal Style Dynamically Generate GitHub Stats as like Terminal Interface Usage Create a New Repository using this Template or click he

YOGESHWARAN R 63 Jan 03, 2023
TerminalGV is a very simple client to display stats about your SNCF TGV/TER train in your terminal.

TerminalGV So I got bored in the train, TerminalGV is a very simple client to display stats about your SNCF TGV/TER train in your terminal. The "on-tr

Samuel 8 Dec 15, 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
A Multipurpose bot with many Commands made using Pycord

This repo has all of the commands you will ever need in a discord bot. a Multipurpose discord bot

Pogrammar 42 Dec 18, 2022
CLI tool that helps manage shell libraries.

shmgr CLI tool that helps manage shell libraries. Badges 📛 project status badges: version badges: tools / frameworks used by test suite (i.e. used by

Bryan Bugyi 0 Dec 15, 2021
A command line tool that creates a super timeline from SentinelOne's Deep Visibility data

S1SuperTimeline A command line tool that creates a super timeline from SentinelOne's Deep Visibility data What does it do? The script accepts a S1QL q

Juan Ortega 2 Feb 08, 2022
A command line tool (and Python library) for archiving Twitter JSON

A command line tool (and Python library) for archiving Twitter JSON

Documenting the Now 1.3k Dec 28, 2022
Generate folder trees directly from the terminal.

Dir Tree Artist 🎨 🌲 Intro Easily view folder structure, with parameters to sieve out what you want. Choose to exclude files from being viewed (.git,

Glenda T 0 May 17, 2022