Skip to main content

CLI for highlighting tab spaces in a file

Project description

Taby

A python package that highlights tabs in a file.

Features

  • Easy to use
  • Fast
  • Efficient

Author

This pip package was created and maintained by Landon Hutchins and Travis Mackey

Installation

The following are the steps on how to use the Taby package.

pip install taby
#------Example Usage------#
#import package

from Taby import *

#Create a highlighter object by specifying the color of the highlight and then the 'TAB' keyword to replace all tab instances in the file.

highlighter_object = higlighter('yellow', 'TAB')

#Specify a file to be read from, a file to output, and the highlighter object
#Any file type can be read in, except for byte-like files such as PDF or JPEG

reader('inputfile.py', 'outfile.txt', highlighter_object)

#Once the output file has been written to, specify the same outfile and pass in the highlighter object so that the changes can be printed to the console. 

console('outfile.txt', highlighter_object)


#Current highlights available:
 - yellow
 - red
 - green
 - blue

Contributions

This project is currently closed to contributions

License

MIT

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

Taby-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

Taby-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file Taby-1.0.0.tar.gz.

File metadata

  • Download URL: Taby-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.1

File hashes

Hashes for Taby-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7a7a8ba5b552f17ee83934e4dba2e4eafd7c2ce7160eef40ab44104f947b82ad
MD5 0139f186a39228351c042f3591ddde5d
BLAKE2b-256 12b5180badaed61f7aeffcce941b7c42a39098af2f38977afd9669b9dd6e971e

See more details on using hashes here.

File details

Details for the file Taby-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: Taby-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.1

File hashes

Hashes for Taby-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9b8ec5ce07af674d9b5b95e3134f253d02d56ddf14dcceac14546619d037614
MD5 877b1a28529a038d30ef300df3c5061e
BLAKE2b-256 fa58fcefa217935065ea221c1b7d31c4d925d157b7892d686f8acd271e302e7c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page