Skip to main content

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)

Uploaded Source

Built Distribution

carbonizer-0.3.1-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page