Skip to content

Pranav-Saxena/PyCarbonSh

Repository files navigation

PyCarbonSh

PyCarbonSh

The Asynchronous web-scraper for carbon.now.sh which helps to create and share beautiful pics of your code!

Discord server invite

PyPI version info

PyPI supported Python versions

image

Stars

forks

Documentation

Official Documentation.

Support

For support using PyCarbonSh, please join the official support server on Discord.

Installation

The following commands are currently the valid ways of installing PyCarbonSh.

Through pip

Windows

py -3 -m pip install pycarbonsh

Linux/MacOS

python3 -m pip install pycarbonsh

To install master branch

Windows

py -3 -m pip install -U git+https://github.com/Pranav-Saxena/PyCarbonSh@master

Linux/MacOS

python3 -m pip install -U git+https://github.com/Pranav-Saxena/PyCarbonSh@master

Manual Installation

Note

Ensure that an up-to-date version of setuptools is installed. python -m pip install --upgrade setuptools

  • git clone https://github.com/Pranav-Saxena/PyCarbonSh/
  • cd PyCarbonSh
  • python3 setup.py install

    Note

    Use sudo python3 setup.py install on linux if some error pops up

Usage

Note

When you run pycarbonsh for the first time, it downloads the latest version of Chromium (~150MB) if it is not found on your system. If you don't prefer this behavior, ensure that a suitable Chrome binary is installed. One way to do this is to run pyppeteer-install command before prior to using this library.

Getting Started

A quick and easy example to get started with PyCarbonSh

from pycarbonsh import generatecarbon
import asyncio
loop = asyncio.get_event_loop()
loop.run_until_complete(generatecarbon(code="Made with ❤ by Pranav Saxena"))

Support Me

Support Me by adding my bot to your server :) Invite Inferno Here

Contribute

Any contributions you make are greatly appreciated.

  • PRs are accepted!!
  • If you have some ideas for new features and you don't have time to implement them please open an issue with the tag new_feature.
  • Please don't forget to comment (document) your code!

About

The Asynchronous web-scraper for carbon.now.sh which helps to create and share beautiful pics of your code!

Resources

License

Stars

Watchers

Forks

Packages

No packages published