A Small CLI to utilize Carbon.now.sh
Project description
Carbonizer
A Python CLI to create carbonized versions of your code. This projects is based on: Carbon, Pyppetter and the wonderful Typer Framework.
Installation:
$ pip install carbonizer
Usage
carbonizer --help
# This creates a carbonized version in the same directory
carbonizer some_file.py
# To create the output in a specific folder
carbonizer -o target some_file.py
# This will grab all files and carbonize them
carbonizer -o target .
# The -c flag directly copied the output into your clipboard
carbonizer -c some_file.py
# If you prefer to run the raw code you can also use the project like
python __main__.py -t "one-light" carbonizer -o target
Note: The copy functionality is only Linux is tested while Mac is also supported - theoretically.
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
carbonizer-0.3.1.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for carbonizer-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11fa8f911af317681e58c8e5ed88d27ef86a863c5aa9dadbf4b3e2a37aeca07d |
|
MD5 | ed51e1f003c155b3916bffbc7202be71 |
|
BLAKE2b-256 | 2d7ce39204ea069beeedb1423bc74df11f26c631e7dd3258f0a427e01a71cc66 |