Metadata-Version: 2.1
Name: carbonizer
Version: 0.3.2
Summary: A Small CLI to utilize Carbon.now.sh
License: MIT
Author: marvin taschenberger
Author-email: marvin.taschenberger@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: bump2version (>=1.0.1,<2.0.0)
Requires-Dist: loguru (>=0.6.0,<0.7.0)
Requires-Dist: pyppeteer (>=1.0.2,<2.0.0)
Requires-Dist: rich (>=13.3.3,<14.0.0)
Requires-Dist: sphinx (>=6.1.3,<7.0.0)
Requires-Dist: sphinx-copybutton (>=0.5.1,<0.6.0)
Requires-Dist: sphinx-rtd-theme (>=1.2.0,<2.0.0)
Requires-Dist: typer (>=0.7.0,<0.8.0)
Description-Content-Type: text/x-rst

Carbonizer
============

A Python CLI to create carbonized versions of your code. 
This projects is based on: Carbon_, Pyppetter_
and the wonderful Typer_ Framework.


Installation:
-----------------


.. code-block:: bash

    $ pip install carbonizer



Usage
-----------


.. code-block:: bash 

    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.


.. _Typer: https://typer.tiangolo.com/
.. _Carbon: https://carbon.now.sh
.. _Pyppetter: https://miyakogi.github.io/pyppeteer/index.html

