Package: rich-rst
rich-rstAllowsrichto print areStructuredTextdocument in a rich format similar torich.Markdown.Features75 supported reStructuredText elements. For a list seeELEMENTS.mdCommand line interfaceShow the contents of readme.rstpython-mrich_rstreadme.rstGet from stdinpython-mrich_rst-For more help seepython -m rich_rst --helpUsageNote: There are some aliases: RST, reST, ReStructuredText, reStructuredText, RestructuredTextfromrich_rstimportRestructuredTextfromrichimportprintprint(RestructuredText("This is a **test** document"))Advanced usagefromrich_rstimportRestructuredTextfromrichimportprint# Documentation for discord.py: https://pypi.org/project/discord.pydocs="discord.py\n==========\n\n.. image:: https://discord.com/api/guilds/336642139381301249/embed.png\n:target: https://discord.gg/r3sSKJJ\n:alt: Discord server invite\n.. image:: https://img.shields.io/pypi/v/discord.py.svg\n:target: https://pypi.python.org/pypi/discord.py\n:alt: PyPI version info\n.. image:: https://img.shields.io/pypi/pyversions/discord.py.svg\n:target: https://pypi.python.org/pypi/discord.py\n:alt: PyPI supported Python versions\n\nA modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.\n\nKey Features\n-------------\n\n- Modern Pythonic API using ``async`` and ``await``.\n- Proper rate limit handling.\n- 100% coverage of the supported Discord API.\n- Optimised in both speed and memory.\n\nInstalling\n----------\n\n**Python 3.5.3 or higher is required**\n\nTo install the library without full voice support, you can just run the following command:\n\n.. code:: sh\n\n# Linux/macOS\npython3 -m pip install -U discord.py\n\n# Windows\npy -3 -m pip install -U discord.py\n\nOtherwise to get voice support you should run the following command:\n\n.. code:: sh\n\n# Linux/macOS\npython3 -m pip install -U\"discord.py[voice]\"\n\n# Windows\npy -3 -m pip install -U discord.py[voice]\n\n\nTo install the development version, do the following:\n\n.. code:: sh\n\n$ git clone https://github.com/Rapptz/discord.py\n$ cd discord.py\n$ python3 -m pip install -U .[voice]\n\n\nOptional Packages\n~~~~~~~~~~~~~~~~~~\n\n* PyNaCl (for voice support)\n\nPlease note that on Linux installing voice you must install the following packages via your favourite package manager (e.g. ``apt``, ``dnf``, etc) before running the above commands:\n\n* libffi-dev (or ``libffi-devel`` on some systems)\n* python-dev (e.g. ``python3.6-dev`` for Python 3.6)\n\nQuick Example\n--------------\n\n.. code:: py\n\nimport discord\n\nclass MyClient(discord.Client):\nasync def on_ready(self):\nprint('Logged on as', self.user)\n\nasync def on_message(self, message):\n# don't respond to ourselves\nif message.author == self.user:\nreturn\n\nif message.content == 'ping':\nawait message.channel.send('pong')\n\nclient = MyClient()\nclient.run('token')\n\nBot Example\n~~~~~~~~~~~~~\n\n.. code:: py\n\nimport discord\nfrom discord.ext import commands\n\nbot = commands.Bot(command_prefix='>')\n\n@bot.command()\nasync def ping(ctx):\nawait ctx.send('pong')\n\nbot.run('token')\n\nYou can find more examples in the examples directory.\n\nLinks\n------\n\n- `Documentation <https://discordpy.readthedocs.io/en/latest/index.html>`_\n- `Official Discord Server <https://discord.gg/r3sSKJJ>`_\n- `Discord API <https://discord.gg/discord-api>`_\n\n\n"print(RestructuredText(docs,code_theme="dracula",show_errors=False))ChangelogA changelog can be found inCHANGELOG.md