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)
Bringing emacs' greatest feature to neovim - Tetris!

nvim-tetris Bringing emacs' greatest feature to neovim - Tetris! This plugin is written in Fennel using Olical's project Aniseed for creating the proj

129 Dec 26, 2022
Python Command Line Application (CLI) using Typer, SQLModel, Async-PostgrSQL, and FastAPI

pyflycli is a command-line interface application built with Typer that allows you to view flights above your location.

Kevin Zehnder 14 Oct 01, 2022
CLabel is a terminal-based cluster labeling tool that allows you to explore text data interactively and label clusters based on reviewing that data.

CLabel is a terminal-based cluster labeling tool that allows you to explore text data interactively and label clusters based on reviewing that

Peter Baumgartner 29 Aug 09, 2022
Logic-Sim - A clone of 'Digital Logic Sim' from Sebastian Lague

Logic Simulator This is a clone of 'Digital Logic Sim' from Sebastian Lague. But

Ethan 1 Feb 01, 2022
Python and data science snippets on the command line

Python Snippet Tool A tool to get Python and data science snippets at Data Science Simplified on the command line. You can read my article to learn ho

Khuyen Tran 19 Dec 21, 2022
Konsave lets use save your KDE Plasma customizatios and restore them very easily!

Konsave (Save Plasma Customization) A CLI program that will let you save and apply your KDE Plasma customizations with just one command! Als

439 Jan 02, 2023
A command line tool to hide and reveal information inside images (works for both PNGs and JPGs)

Imgrerite A command line tool to hide and reveal information inside images (works for both PNGs and JPGs) Dependencies Python 3 Git Most of the Linux

Jigyasu 10 Jul 27, 2022
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
instant coding answers via the command line

howdoi instant coding answers via the command line Sherlock, your neighborhood command-line sloth sleuth. Are you a hack programmer? Do you find yours

Benjamin Gleitzman 9.8k Jan 08, 2023
This is a simple Termo application in command line style

my-termo This is a simple Termo application in command line style. This app run a Linux crontab task every day to get a new word. Type termo in your t

Gustavo Soares 1 Feb 14, 2022
A selfbot made with DPY, doesn't have much commands but there's some useful commands to use.

Phantom Selfbot A selfbot made in DPY, made by Zenith. How to use Add your token in token = 'YOUR-MOMS-TOKEN-HERE' Change the prefix in prefix = If

[Ͼ⁴] Ƶephyr 2 Dec 02, 2021
Fylm is a wonderful automated command line app for organizing your film media.

Overview Fylm is a wonderful automated command line app for organizing your film media. You can pronounce it Film or File 'em, whichever you like! It

Brandon Shelley 30 Dec 05, 2022
topalias - Linux alias generator from bash/zsh command history with statistics, written on Python.

topalias topalias - Linux alias generator from bash/zsh command history with statistics, written on Python. Features Generate short alias for popular

Sergey Chudakov 38 May 26, 2022
Magnificent app which corrects your previous console command.

The Fuck The Fuck is a magnificent app, inspired by a @liamosaur tweet, that corrects errors in previous console commands. Is The Fuck too slow? Try t

Vladimir Iakovlev 75k Jan 02, 2023
A CLI tool for using GLIDE to generate images from text.

Text-Glided-Diffusion Installation First clone this repository: git clone https://github.com/afiaka87/text-glided-diffusion.git cd text-glided-diffusi

Clay Mullis 68 Dec 30, 2022
Zecwallet-Python is a simple wrapper around the Zecwallet Command Line LightClient written in Python

A wrapper around Zecwallet Command Line LightClient, written in Python Table of Contents About Installation Usage Examples About Zecw

Priveasy 2 Sep 06, 2022
Bonjour Software pypahe is a Python Package Helper command-line tool.

pypahe Bonjour Software pypahe is a Python Package Helper command-line tool. Requirements Docker runtime Usage print the latest available version of a

Bonjour Software 0 Aug 10, 2021
A CLI Application to detect plagiarism in Source Code Files.

Plag Description A CLI Application to detect plagiarism in Source Code Files. Features Compare source code files for plagiarism. Extract code features

default=dev 2 Nov 10, 2022
A CLI application for storing contacts as a csv file written in Python.

Contacter A CLI application for storing contacts as a csv file written in Python. You can use this to save your contacts with a special relations tag

nostalgicnerdpenguin 1 Oct 23, 2021
Python3 command-line tool for the inference of Boolean rules and pathway analysis on omics data

BONITA-Python3 BONITA was originally written in Python 2 and tested with Python 2-compatible packages. This version of the packages ports BONITA to Py

1 Dec 22, 2021