semvec/pypi-packages huggingface dataset:
av-discord 0.0.1
PyAV audio sources for discord.py, pycord, and disnake
License: MIT
Requires Python: >=3.8
Keywords: discord,audio

# av-discord

[PyAV](https://github.com/PyAV-Org/PyAV) audio sources for [discord.py](https://github.com/Rapptz/discord.py), 
[pycord](https://github.com/Pycord-Development/pycord), 
and [disnake](https://github.com/DisnakeDev/disnake)

## Installation

### Stable version (PyPI)

```shell
# For Windows
py -3 -m pip install av-discord

# For Linux / Mac OS
python3 -m pip install av-discord
```

### Development version

**NOTE:** You must have git installed. If you don't have it, install it from here https://git-scm.com/.

```shell
git clone https://github.com/mansuf/av-discord.git
cd av-discord
python setup.py install
```

## Usage

```python
from discord.ext.commands import Bot
from avcord import setup_av, AVPCMAudio, setup_encoder

# Do setup
# Use `setup_av('disnake')` if you're using disnake library
setup_av('discord')

bot = Bot()

@bot.command()
async def play(ctx):
    voice_user = ctx.message.author.voice
    vc = await voice_user.channel.connect()

    # It is important to call this function before play audio
    # to avoid "Segmentation fault" error
    setup_encoder(vc)

    source = AVPCMAudio('audio.webm')
    vc.play(source)

@bot.event
async def on_ready():
    print('READY')

bot.run('token')
```
markdown-checklist 0.4.4
Python Markdown extension for task lists with checkboxes
License: MIT

[Markdown Checklist](https://github.com/FND/markdown-checklist)

a [Python Markdown](http://pythonhosted.org/Markdown/) extension for lists of
tasks with checkboxes

inspired by
[GitHub task lists](https://github.com/blog/1375-task-lists-in-gfm-issues-pulls-comments):

    * [ ] foo
    * [x] bar
    * [ ] baz

becomes

    <ul>
    <li><input type="checkbox" disabled> foo</li>
    <li><input type="checkbox" disabled checked> bar</li>
    <li><input type="checkbox" disabled> baz</li>
    </ul>

* a dash can be used instead of an asterisk for list items
* both upper- and lowercase "x" are accepted to activate checkboxes


Installation
------------

    $ pip install markdown-checklist


Usage
-----

    import markdown
    html = markdown.markdown(source, extensions=['markdown_checklist.extension'])

or

    import markdown
    from markdown_checklist.extension import ChecklistExtension
    html = markdown.markdown(source, extensions=[ChecklistExtension()])

There is also a small JavaScript/jQuery library to make checkboxes interactive:

    new Checklists("article", function(checkbox, callback) {
        var uri = checkbox.closest("article").find("h1 a").attr("href");
        jQuery.get(uri, callback);
    }, function(markdown, checkbox, callback) {
        var uri = checkbox.closest("article").find("h1 a").attr("href");
        jQuery.ajax({
            type: "put",
            uri: uri,
            data: markdown,
            success: callback
        });
    });

See included `checklists.js` for details.