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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file carbonizer-0.3.2.tar.gz.
File metadata
- Download URL: carbonizer-0.3.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.9 Linux/6.1.12-zen1-1-zen
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96befd65f1937e827e87b827388b1210b694a2908d0c6fef0da3e23a9fd6f86e
|
|
| MD5 |
a2d51bf22c7d2f3a15dd34166b916259
|
|
| BLAKE2b-256 |
931237aeca4c8f962b1938cb1495cd7e2f5ca8c436aecc906f5757cf56a024e3
|
File details
Details for the file carbonizer-0.3.2-py3-none-any.whl.
File metadata
- Download URL: carbonizer-0.3.2-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.9 Linux/6.1.12-zen1-1-zen
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cdeb6868ac07174381a63ce0de1362d9fa6ddb75de8b656e4deb1de1c8f100f
|
|
| MD5 |
5fc8767d978ede106d6674ba20a2830f
|
|
| BLAKE2b-256 |
85f802e90281507d44d40695345720fb50880808d1b36b776543097159a59653
|