semvec/pypi-packages huggingface dataset:
discord-variables-plugin 1.2
A plugin to help with saving variables for Discord bots
Requires Python: >=3.5.3

# Discord Variables Plugin
## A plugin to help with saving variables for bots
## Instalation:
- Windows: `pip install discord_variables_plugins`
- Linux: `pip3 install discord_variables_plugins`
## Documentation:
### Server Specific Variables:
- Import package, and create discord_variables_plugin.ServerVariables object:
```python
import discord_variables_plugin
serverVars = discord_variables_plugin.ServerVariables()
```
- To set a server specific variable
```python
# Pass a discord.Guild object for guild
# Pass a string for varName
# Pass any object for value
serverVars.set(guild, varName, value)
```
- To get a server specific variable
```python
# Pass a discord.Guild object for guild
# Pass a string for varName
# Returns the object stored in varName of guild
varNameValue = serverVars.get(guild, varName)
```
- To clear a saved server
```python
# Pass a discord.Guild object for guild
serverVars.clearServer(guild)
```
- To remove a variable of a server
```python
# Pass a discord.Guild object for guild
# Pass a string for varName
serverVars.removeVar(guild, varName)
```
- To save the server variables
```python
# Pass a file path as fp
serverVars.save(fp)
```
- To load the server variables
```python
# Pass a file path as fp
serverVars.load(fp)
```

### Global User Variables:
- Import package, and create discord_variables_plugin.GlobalUserVariables object:
```python
import discord_variables_plugin
userVars = discord_variables_plugin.GlobalUserVariables()
```
- To set a global user variable
```python
# Pass a discord.User object for user
# Pass a string for varName
# Pass any object for value
userVars.set(user, varName, value)
```
- To get a global user variable
```python
# Pass a discord.User object for user
# Pass a string for varName
# Returns the object stored in varName of user
varNameValue = userVars.get(user, varName)
```
- To clear a saved user
```python
# Pass a discord.User object for user
userVars.clearUser(user)
```
- To remove a variable of a user
```python
# Pass a discord.User object for user
# Pass a string for varName
userVars.removeVar(user, varName)
```
- To save the global user variables
```python
# Pass a file path as fp
userVars.save(fp)
```
- To load the global user variables
```python
# Pass a file path as fp
userVars.load(fp)
```
aicq 1.0
Lightweight modern asynchronous framework for ICQ BOT API written in python.
Requires Python: >=3.7.0

# aICQ (asyncICQ)
Lightweight modern asynchronous framework for [**ICQ BOT API**](https://icq.com/botapi/#/) written in python.

## Installation
```shell
pip install aicq
```

## Examples
### Echo bot
```python
from aicq import Bot, Dispatcher
from aicq import types

bot = Bot("TOKEN")
dp = Dispatcher(bot)

@dp.message_handler()
async def echo_handler(message: types.Message):
    await message.answer(message.text)

dp.start()
```

## Official resources:
- Russian community: [@aicq_ru](https://icq.im/aicq_ru)
- Issues: [Github issues tracker](https://github.com/hdsujnb/aicq/issues)

## Developers
- hdsujnb: [@hdsujnb](https://t.me/hdsujnb)
## Helpers
- Yakov Till: [@YakovTill](https://t.me/YakovTill)
pythonidae 4.0.0
Fast, minimalist web framework for Python
Keywords: python,pythonidae,website,web framework,http



# Pythonidae
Pythonidae is Fast, minimalist web framework for [Python](https://www.python.org)
![Pythonidae](https://raw.githubusercontent.com/thehelkaproject/pythonidae/master/test_app/pythonidae.png)


  ## 'Hello, World!' Application

```python
from pythonidae import Pythonidae, Path, HttpResponse

app = Pythonidae()

def helloWorld(req):
		return  HttpResponse(req, '<h1>Hello, World!</h1>', content_type='text/html')

app_routes = [
	Path('/', helloWorld)
]

app.set_routes(app_routes)

# Only Development Not Use Production
from wsgiref.simple_server import make_server	
make_server('localhost', 8000, app).serve_forever()
```

## 'Simple Rest API' Application

```python
from pythonidae import Pythonidae, Path, JsonResponse

app = Pythonidae()

def helloWorld(req):

return JsonResponse(req, {
	'user':  'thehelkaproject',
	'github':  'https://github.com/thehelkaproject'
})

app_routes = [
	Path('/', helloWorld)
]

app.set_routes(app_routes)

# Only Development Not Use Production
from wsgiref.simple_server import make_server
make_server('localhost', 8000, app).serve_forever()
```

### Contributing
#### [github](https://github.com/thehelkaproject/pythonidae)

### License
[Python License](https://raw.githubusercontent.com/thehelkaproject/pythonidae/master/python.licence)
[Pythonidae License](https://raw.githubusercontent.com/thehelkaproject/pythonidae/master/pythonidae.licence)

![python powered](https://www.python.org/static/community_logos/python-powered-w-200x80.png)