Skip to main content

syncat

Command line interface similar to cat with syntax highlighting

Example

curl -s http://httpbin.org/get | syncat --json

Lexers

Due to the large number of lexers, the list of lexers is hidden in the default -h/--help output. Use syncat --lexer-help to list all lexers

Usage

usage: syncat [-h] [--style STYLE] [--lexer-help] [--lexer LEXER] [file]

positional arguments:
  file           File to print with syntax highlighting. Defaults to stdin

optional arguments:
  -h, --help     show this help message and exit
  --style STYLE  Syntax highlighting style. Choices:
                 abap
                 algol
                 algol_nu
                 arduino
                 autumn
                 borland
                 bw
                 colorful
                 default
                 emacs
                 friendly
                 fruity
                 igor
                 lovelace
                 manni
                 monokai
                 murphy
                 native
                 paraiso-dark
                 paraiso-light
                 pastie
                 perldoc
                 rainbow_dash
                 rrt
                 solarized256
                 tango
                 trac
                 vim
                 vs
                 xcode
  --lexer-help   List help and options for the --lexer argument
  --lexer LEXER  Lexer to use for syntax highlighting. Defaults to guessing
                 based on the file contents. Use --lexer-help for a list of
                 all lexers. Can be used in the form of --lexer LEXER or as
                 --LEXER such as --lexer json or --json

Release files for syncat 1.0.2

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

Source distribution (sdist)

Source distribution for syncat 1.0.2
File Size Uploaded
syncat-1.0.2.tar.gz 4.8 kB Details

Built distribution (wheel)

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

Total release size: 14.2 kB

Release files / syncat-1.0.2.tar.gz

Download URL syncat-1.0.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e079aee456757849f72345c14ffec488d9c3789e92b659ab1cd8e0b6cea4fa97
BLAKE2b-256 checksum
How to use checksums
00f604af6fb8c53dac34ce2b8233c072cbc10175a37bc1db5bb492e33623dfd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / syncat-1.0.2-py3-none-any.whl

Download URL syncat-1.0.2-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4260efb560ca59563b33b22f4ddedba715cba12aa52cbae193fd5f761c20a83d
BLAKE2b-256 checksum
How to use checksums
a92daca08c973fd093d44afad63c9c40baab5c230f439b060de5dc9e80b77b32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

3 release files

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