View highlighted python code
Project description
BB-PyCodeView
View syntax highlighted code from a filename or module name
Options
$: code-view --help
code-view - view highlighted python code
( -c | --comments ): Show comments - default = False
( -f | --function ): Function name - same as adding ':function' after module name
( -h | --help ): Print help message
( -m | --module ): View code from a module
- will attempt to automagically parse this without the option given
( -n | --no-highlighting ): Disable syntax highlighting in output
- only effects output - string data is still processed
( -p | --filepath ): View file contents
- path can also be provided without this option
( -s | --string ): Code view from a provided string
If the options
-p|--filepath
,-m|--module
, or-f|--function
are ommitted, it will attempt to automatically assign the arguments properly. May not work depending on the module name/path. Pathnames are almost guaranteed to work on their own.
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
bb_pycodeview-0.1.0.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for bb_pycodeview-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9d185d967cef83ba36d59dfbc7a0934a5a0f575df5f6b9788ce7b537851aa1b |
|
MD5 | d8cdb607bdeee9d046b49a75d9743a0e |
|
BLAKE2b-256 | fc73f9cba041cefcc5b504ad4813c6cc82358e1e0b1ffd180d06f4ecf7fd5f3f |