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.0.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for carbonizer-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cadf1355a561c3e81a6cb664e22b583c62f9aaef95b4cc56fbb93e6d90c72321 |
|
MD5 | 274f330fcfe3d44cdb2e6754eade3dfe |
|
BLAKE2b-256 | d2365c4102637832d72545aab0a7d66b86dbd0d6a80a94a295dabda12c42ee2e |