semvec/pypi-packages huggingface dataset:
Sidecord 0.5.4
An easy-to-use extension for Discord.py and Pycord
License: MIT
Requires Python: >=3.9
Keywords: discord,pycord,py-cord,discord.py



An easy-to-use extension for [Discord.py](https://github.com/Rapptz/discord.py)
and [Pycord](https://github.com/Pycord-Development/pycord) with some utility functions.

### ✏️ Reduce boilerplate code
- Easy cog management
- Embed templates
- Datetime and file utilities
- Wrapper for [aiosqlite](https://github.com/omnilib/aiosqlite)

### ✨ Error handling
- Automatic error handling for slash commands
- Error webhook reports
- Custom logging

### ⚙️ Extensions
- **Help command** - Automatically generate a help command for your bot
- **Status changer** - Change the bot's status in an interval
- **Blacklist** - Block users from using your bot

## Installing
Python 3.9 or higher is required.
```
pip install Sidecord
```
You can also install the latest version from GitHub. Note that this version may be unstable
and requires [git](https://git-scm.com/downloads) to be installed.
```
pip install git+https://github.com/sqiuwsqjjsxsajisa/Sidecord
```
If you need the latest version in your `requirements.txt` file, you can add this line:
```
Sidecord @ git+https://github.com/sqiuwsqjjsxsajisa/Sidecord
```

## Useful Links
- [Documentation](https://Sidecord.readthedocs.io/) | [Getting started](https://Sidecord.readthedocs.io/en/latest/pages/getting_started.html)
- [Pycord](https://docs.pycord.dev/) | [Discord.py](https://discordpy.readthedocs.io/en/stable/)
- [PyPi](https://pypi.org/project/Sidecord/)

## Examples
or the [sample code](https://Sidecord.readthedocs.io/en/latest/examples/examples.html).
- **Note:** It's recommended to [load the token](https://guide.pycord.dev/getting-started/creating-your-first-bot#protecting-tokens) from a `.env` file instead of hardcoding it.
Sidecord can automatically load the token if a `TOKEN` variable is present in the `.env` file.

### Pycord
```py
import Sidecord
import discord

bot = Sidecord.Bot(
    intents=discord.Intents.default()
)

if __name__ == "__main__":
    bot.load_cogs("cogs")  # Load all cogs in the "cogs" folder
    bot.run("TOKEN")
```

### Discord.py
```py
import asyncio
import discord
import Sidecord


class Bot(Sidecord.Bot):
    def __init__(self):
        super().__init__(intents=discord.Intents.default())

    async def setup_hook(self):
        await super().setup_hook()
        await self.tree.sync()


async def main():
    async with Bot() as bot:
        bot.add_help_command()
        bot.load_cogs("cogs")  # Load all cogs in the "cogs" folder
        await bot.start("TOKEN")


if __name__ == "__main__":
    asyncio.run(main())
```

## Contributing
I am always happy to receive contributions. Here is how to do it:
1. Fork this repository
2. Make changes
3. Create a pull request

You can also [create an issue](https://discord.gg/XPCrxvhSFm) if you find any bugs.
aitoolsAPI 0.2
A lightweight library that makes it easy to use Stable Diffusion XL and GPT.
License: MIT

# aitoolsAPI

This is a simple async API client library for aitoolsAPI.

## Installation

You can install the library using pip:

pip install aitoolsAPI

## Using

Since this library is asynchronous, you should write the code like this:

GPT request:

```
import asyncio
import aitoolsAPI

async def main(prompt):
  print(await aitoolsAPI.gpt(prompt)) # Will send a response as text

asyncio.run(main("What package of sanctions was imposed on Russia last time?"))
```

SDXL request:

```
import asyncio
import aitoolsAPI

async def main(prompt):
  print(await aitoolsAPI.sdxl(prompt)) # Will send the answer in the form of a link

asyncio.run(main("Red ball flies among the clouds, 4K, realistic, no blur"))
```
aitoolsAPI-async 0.1
A lightweight library that makes it easy to use Stable Diffusion XL and GPT.
License: MIT

# aitoolsAPI

This is a simple async API client library for aitoolsAPI.

## Installation

You can install the library using pip:

pip install aitoolsAPI

## Using

Since this library is asynchronous, you should write the code like this:

GPT request:

```
import asyncio
import aitoolsAPI-async

async def main(prompt):
  print(await aitoolsAPI.gpt(prompt)) # Will send a response as text

asyncio.run(main("What package of sanctions was imposed on Russia last time?"))
```

SDXL request:

```
import asyncio
import aitoolsAPI-async

async def main(prompt):
  print(await aitoolsAPI.sdxl(prompt)) # Will send the answer in the form of a link

asyncio.run(main("Red ball flies among the clouds, 4K, realistic, no blur"))
```
NODEFit 0.1
Fit time-series data with a Neural Differential Equation
License: MIT
Keywords: python neural-network pytorch numerical-methods neural-ode

# NODEFit

![Downloads](https://pepy.tech/badge/nodefit)(https://pepy.tech/project/nodefit)

Fit time-series data with a Neural Differential Equation!

This repository contains time-series data fit capabilities using both Neural Ordinary Differential Equations and Neural Stochastic Differential Equations

GPU support is packaged as part of [PyTorch](https://pytorch.org/)

# How to install and execute?

Tested on Python 3.9

Just run 
```
pip install nodefit
```

The following program illustrates a basic example
```python
import numpy as np
import torch.nn as nn
from nodefit.constants import DEVICE

from nodefit.neural_ode import NeuralODE
from nodefit.neural_sde import NeuralSDE


###
# DEFINE NETWORKS
###

# Neural ODE parameters
ndim, drift_nhidden, diffusion_nhidden = 2, 10, 2

drift_nn = nn.Sequential(
    nn.Linear(ndim+1, drift_nhidden),
    nn.Sigmoid(),
    nn.Linear(drift_nhidden, ndim)
).double().to(DEVICE)

diffusion_nn = nn.Sequential(
    nn.Linear(ndim+1, diffusion_nhidden),
    nn.Sigmoid(),
    nn.Linear(diffusion_nhidden, ndim)
).double().to(DEVICE)

###
# PROVIDE DATA
###

# Training between data for 0 and 5 seconds
t = np.linspace(0, 5, 10)
# Provide data as list of lists with starting condition
data = np.array([[...]])

###
# FIT USING NEURALODE
###
print('Performing fit using Neural ODE...')

neural_ode = NeuralODE(drift_nn, t, data)
neural_ode.train(2000)

# # Extrapolate the training data to 10 seconds
extra_data = neural_ode.extrapolate(10)
neural_ode.plot(extra_data)

###
# FIT USING NEURALSDE
###
print('Performing fit using Neural SDE...')

neural_sde = NeuralSDE(drift_nn, diffusion_nn, t, data)
neural_sde.train(1)

# # Extrapolate the training data to 10 seconds
extra_data = neural_sde.extrapolate(10)
neural_sde.plot(extra_data)

```

## Sample Output

![Sample Output](anim/output.gif)


## Whom to contact?

Please direct your queries to [gpavanb1](http://github.com/gpavanb1)
for any questions.

## Acknowledgements

This package would not be possible without the supporting packages - [torchdiffeq](https://github.com/rtqichen/torchdiffeq) and [torchsde](https://github.com/google-research/torchsde)
syncord 0.3.5
An easy-to-use extension for Discord.py and Pycord
License: MIT
Requires Python: >=3.9
Keywords: discord,pycord,py-cord,discord.py



An easy-to-use extension for [Discord.py](https://github.com/Rapptz/discord.py)
and [Pycord](https://github.com/Pycord-Development/pycord) with some utility functions.

### ✏️ Reduce boilerplate code
- Easy cog management
- Embed templates
- Datetime and file utilities
- Wrapper for [aiosqlite](https://github.com/omnilib/aiosqlite)

### ✨ Error handling
- Automatic error handling for slash commands
- Error webhook reports
- Custom logging

### ⚙️ Extensions
- **Help command** - Automatically generate a help command for your bot
- **Status changer** - Change the bot's status in an interval
- **Blacklist** - Block users from using your bot

## Installing
Python 3.9 or higher is required.
```
pip install syncord
```
You can also install the latest version from GitHub. Note that this version may be unstable
and requires [git](https://git-scm.com/downloads) to be installed.
```
pip install git+https://github.com/sqiuwsqjjsxsajisa/syncord
```
If you need the latest version in your `requirements.txt` file, you can add this line:
```
syncord @ git+https://github.com/sqiuwsqjjsxsajisa/syncord
```

## Useful Links
- [Documentation](https://syncord.readthedocs.io/) | [Getting started](https://syncord.readthedocs.io/en/latest/pages/getting_started.html)
- [Pycord](https://docs.pycord.dev/) | [Discord.py](https://discordpy.readthedocs.io/en/stable/)
- [PyPi](https://pypi.org/project/syncord/)

## Examples
or the [sample code](https://syncord.readthedocs.io/en/latest/examples/examples.html).
- **Note:** It's recommended to [load the token](https://guide.pycord.dev/getting-started/creating-your-first-bot#protecting-tokens) from a `.env` file instead of hardcoding it.
syncord can automatically load the token if a `TOKEN` variable is present in the `.env` file.

### Pycord
```py
import syncord
import discord

bot = syncord.Bot(
    intents=discord.Intents.default()
)

if __name__ == "__main__":
    bot.load_cogs("cogs")  # Load all cogs in the "cogs" folder
    bot.run("TOKEN")
```

### Discord.py
```py
import asyncio
import discord
import syncord


class Bot(syncord.Bot):
    def __init__(self):
        super().__init__(intents=discord.Intents.default())

    async def setup_hook(self):
        await super().setup_hook()
        await self.tree.sync()


async def main():
    async with Bot() as bot:
        bot.add_help_command()
        bot.load_cogs("cogs")  # Load all cogs in the "cogs" folder
        await bot.start("TOKEN")


if __name__ == "__main__":
    asyncio.run(main())
```

## Contributing
I am always happy to receive contributions. Here is how to do it:
1. Fork this repository
2. Make changes
3. Create a pull request

You can also [create an issue](https://discord.gg/XPCrxvhSFm) if you find any bugs.