carbonizer-0.3.2
توضیحات
A Small CLI to utilize Carbon.now.sh
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | carbonizer-0.3.2 |
| نام | carbonizer |
| نسخه کتابخانه | 0.3.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | marvin taschenberger |
| ایمیل نویسنده | marvin.taschenberger@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/carbonizer/ |
| مجوز | MIT |
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
نیازمندی
| مقدار | نام |
|---|---|
| >=1.0.2,<2.0.0 | pyppeteer |
| >=0.6.0,<0.7.0 | loguru |
| >=13.3.3,<14.0.0 | rich |
| >=0.7.0,<0.8.0 | typer |
| >=6.1.3,<7.0.0 | sphinx |
| >=1.2.0,<2.0.0 | sphinx-rtd-theme |
| >=1.0.1,<2.0.0 | bump2version |
| >=0.5.1,<0.6.0 | sphinx-copybutton |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl carbonizer-0.3.2:
pip install carbonizer-0.3.2.whl
نصب پکیج tar.gz carbonizer-0.3.2:
pip install carbonizer-0.3.2.tar.gz