semvec/pypi-packages huggingface dataset:
bablyon 0.6
A small ASGI web framework
Requires Python: >=3.6

# Bablyon 🐍
A small ASGI web framework that you can make asynchronous web applications using [`uvicorn`](https://github.com/encode/uvicorn) with using few lines of code

# Installation 
 `python -m pip install git+https://github.com/xArty4/Bablyon`

# Exmaple 
```py
from bablyon.application import Bablyon
from bablyon.router import Router
from bablyon.staticfile import StaticFile


async def hello(request):
    print(request.json)

    return f'at {request.path}'
    
routers = [
    Router('/hello',hello)
]

app = Bablyon(
    secret_key='hello',
    routers=routers,
    middlewares=[]
)

app.mount('./static',StaticFile('./static'))

if __name__ == '__main__':
    from uvicorn.main import run
    
    run(
        f'test3:app',
        host='localhost',
        port=5000,
        debug=True
    )

```
# Author
- [xArty](https://github.com/xArty4)

# To Do
- Custom request class ✅
- Add Jinjia2 to the box ✅
- Full session ✅
- Add security to the cookies ✅
- Add Exceptions to the box ❌
- Add routing to the box ✅
- Add static files support ✅ 
- Add middleware support ✅
- Add HTTP Exceptions ✅
bablon 0.6
A small ASGI web framework
Requires Python: >=3.6

# Bablyon 🐍
A small ASGI web framework that you can make asynchronous web applications using [`uvicorn`](https://github.com/encode/uvicorn) with using few lines of code

# Installation 
 `python -m pip install git+https://github.com/xArty4/Bablyon`

# Exmaple 
```py
from bablyon.application import Bablyon
from bablyon.router import Router
from bablyon.staticfile import StaticFile


async def hello(request):
    print(request.json)

    return f'at {request.path}'
    
routers = [
    Router('/hello',hello)
]

app = Bablyon(
    secret_key='hello',
    routers=routers,
    middlewares=[]
)

app.mount('./static',StaticFile('./static'))

if __name__ == '__main__':
    from uvicorn.main import run
    
    run(
        f'test3:app',
        host='localhost',
        port=5000,
        debug=True
    )

```
# Author
- [xArty](https://github.com/xArty4)

# To Do
- Custom request class ✅
- Add Jinjia2 to the box ✅
- Full session ✅
- Add security to the cookies ✅
- Add Exceptions to the box ❌
- Add routing to the box ✅
- Add static files support ✅ 
- Add middleware support ✅
- Add HTTP Exceptions ✅
tkcommon 1.0.4
tkcommon is a collection of small Python functions and classes for building scripts and internal tools.
Requires Python: >3.5.2

# tkcommon

tkcommon is a collection of small Python functions and classes for building scripts and internal tools.

Installation
-----
The package can be installed through `pip`:
```bash
pip install tkcommon
```

Usage
-----

```python
from tkcommon import get_logger, post_to_slack
from tkcommon import init_config, get_config
from tkcommon import create_jira_issue, update_jira_issue

logger = get_logger(__name__)
logger.info("Test log")

post_to_slack(message="Test slack message")

init_config(from_env=True, json_file="./config.json")
secret = get_config(
    "mongo_connection", "mongodb://user:password@localhost:27017/database"
)

issue_fields = {
    "project": {"id": 123},
    "summary": "New issue from jira-python",
    "description": "Look into this one",
    "issuetype": {"name": "Bug"},
}
issue = create_jira_issue(issue_fields)

update_issue_fields = {
    "summary": "New issue from jira-python",
    "description": "Look into this one",
}
issue = update_jira_issue(jira_id="CDMS-1234", fields=update_issue_fields, notify=True)
```