A Small CLI to utilize Carbon.now.sh
Project description
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 tested on Linux devices - while Mac is also supported theoretically, there is no support for windows.
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.2.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for carbonizer-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cdeb6868ac07174381a63ce0de1362d9fa6ddb75de8b656e4deb1de1c8f100f |
|
MD5 | 5fc8767d978ede106d6674ba20a2830f |
|
BLAKE2b-256 | 85f802e90281507d44d40695345720fb50880808d1b36b776543097159a59653 |