semvec/pypi-packages huggingface dataset:
discord-ext-better-options-description 1.0
Discord.py extension to keep your slash commands options neat and tidy.
License: MIT
Keywords: discord,discord extension,discord.py,slashcommands

# better-options-description 1.0
[![Downloads](https://pepy.tech/badge/discord-ext-better-options-description)](https://pepy.tech/project/discord-ext-better-options-description)
![PyPI - License](https://img.shields.io/pypi/l/discord-ext-better-options-description)

Discord.py extension to keep your slash commands options neat and tidy.

## Example Usage (Only for slash commands)
```py

# With discord-ext-better-options-description
...
from discord.ext.better_options_description import parse_doc

@parse_doc
@bot.tree.command(name="dice", description="Roll one or more dice.")
async def dice_commands(interaction: discord.Interaction, number: int,
                        sides: int = 6, bonus: int = 0):
    """
    number: "The number of dice to roll (max: 25)."
    sides: "The number of sides each die will have."
    bonus: "A fixed number to add to the total roll."
    """

    if number > 25:
        await interaction.response.send_message("No more than 25 dice can be rolled at once.")
        return

    if sides > 100:
        await interaction.response.send_message("The dice cannot have more than 100 sides.")
        return

    rolls = [random.randint(1, sides) for _ in range(number)]

    await interaction.response.send_message(
        " + ".join(f"{r}" for r in rolls)
        + (f" + {bonus} (bonus)" if bonus else "")
        + f" = **{sum(rolls) + bonus:,}**"
    )


# Without discord-ext-better-options-description
...
from discord import app_commands

@app_commands.describe(number="The number of dice to roll (max: 25).", sides="The number of sides each die will have.",
                       bonus="A fixed number to add to the total roll.")
@bot.tree.command(name="dice", description="Roll one or more dice.")
async def dice_commands(interaction: discord.Interaction, number: int,
                        sides: int = 6, bonus: int = 0):
    if number > 25:
        await interaction.response.send_message("No more than 25 dice can be rolled at once.")
        return

    if sides > 100:
        await interaction.response.send_message("The dice cannot have more than 100 sides.")
        return

    rolls = [random.randint(1, sides) for _ in range(number)]

    await interaction.response.send_message(
        " + ".join(f"{r}" for r in rolls)
        + (f" + {bonus} (bonus)" if bonus else "")
        + f" = **{sum(rolls) + bonus:,}**"
    )
```
simplenet 0.1.4
A simple neural network in Python
License: MIT
Keywords: simplenet

# SimpleNet

master: [![master branch build status](https://github.com/n8henrie/simplenet/actions/workflows/python-package.yml/badge.svg?branch=master)](https://github.com/n8henrie/simplenet/actions/workflows/python-package.yml)
<!-- dev: [![dev branch build status](https://github.com/n8henrie/simplenet/actions/workflows/python-package.yml/badge.svg?branch=dev)](https://github.com/n8henrie/simplenet/actions/workflows/python-package.yml) -->

A simple neural network in Python

- Free software: MIT
- Documentation: https://simplenet-nn.readthedocs.io

## Features

- Simple interface
- Minimal dependencies (numpy)
- Runs on Pythonista on iOS
- Attempts to verify accuracy by comparing results with popular frameworks
  Keras and Tensorflow

## Introduction

This is a simple multilayer perceptron that I decided to build as I learned a
little bit about machine learning and neural networks. It doesn't have many
features.

## Dependencies

- Python >= 3.8
- numpy

## Quickstart

1. `pip3 install simplenet`
1. See `examples/`

### Development Setup

1. Clone the repo: `git clone https://github.com/n8henrie/simplenet && cd
   simplenet`
1. Make a virtualenv: `python3 -m venv venv`
1. `source venv/bin/activate`
1. `pip install -e .[dev]`

## Acknowledgements

- Andrew Ng's Coursera courses

## TODO

I don't really know any Latex, so if anybody wants to help me fill out some of
the other docstrings with pretty equations, feel free. I'm also not a
mathematician, so if anything doesn't seem quite right, feel free to speak up.

## Troubleshooting / FAQ

- How can I install an older / specific version of SimpleNet?
    - Install from a tag:
        - pip install git+git://github.com/n8henrie/simplenet.git@v0.1.0
    - Install from a specific commit:
        - pip install git+git://github.com/n8henrie/simplenet.git@aabc123def456ghi789

# [Changelog](https://keepachangelog.com)

## 0.1.4 :: 20220-06-19

- Fix README error, version bump for pypi

## 0.1.3 :: 20220-06-19

- Update dependencies and tests to run on modern python and tensorflow
- Deprecate python3.5-3.7 due to numpy dependency
- Use GitHub Actions instead of Travis
- Add an experimental Dockerfile for reproducibility with tests

## 0.1.2 :: 2017-12-12

- Update initialization (now uses something like Xavier)

## 0.1.0 :: 2017-11-02

- First release on PyPI / GitHub.