semvec/pypi-packages huggingface dataset:
starlette-ras-handle 1.0.2
This library patches starlette, so you can handle "RuntimeError: Caught handled exception, but response already started." exception
Requires Python: >=3.12

<div align="center">

# Starlette RAS-handler

[![Supported Python versions](https://img.shields.io/pypi/pyversions/starlette-ras-handle.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/starlette-ras-handle)
[![PyPI version](https://img.shields.io/pypi/v/starlette-ras-handle.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/starlette-ras-handle)
[![PyPI downloads](https://img.shields.io/pypi/dm/starlette-ras-handle.svg)](https://pypi.org/project/starlette-ras-handle)

</div>

This library adds the ability to handle `RuntimeError: Caught handled exception, but response already started.` error, so you can silent it, or do whatever you want

## Installation 📥

```shell
python -m pip install -U starlette-ras-handle 
```


## Usage 🛠️
1. Define an async function that accepts `(Exception, Request | WebSocket)` and returns `None`
    ```python
    async def print_handler(exc: Exception, request: Request | WebSocket) -> None:
        print("Caught", exc)
    ```

2. Patch!
    ```python
    from handler import print_handler
    
    from starlette_ras_handle import handle_starlette_ras
    handle_starlette_ras(print_handler)
    
    # other imports...
    ```
   
**IMPORTANT:** If you want the patch to work properly, you should use it before you import anything, related to `starlette` (e.g. `FastAPI`)

You can check an example in `/examples/example.py`

## Troubleshooting 🚨

If you encounter issues or have queries, feel free to check our [Issues section](https://github.com/barabum0/starlette-ras-handle/issues) on GitHub.

## Contribution 🤝

Contributions are welcome. Please fork the repository, make your changes, and submit a pull request.
Zennix 0.1.0
Zennix: AI-powered automation for project documentation and scaffolding
Requires Python: >=3.11

Here's a professional README.md for the Zennix library:

**Introduction**
---------------

Zennix is a Python library that utilizes Large Language Models (LLMs) to help developers quickly scaffold new projects. With Zennix, you can generate essential project files, including READMEs, requirements, and test stubs, in a matter of seconds.

**Features**
------------

* **Core Module**: Provides a set of functions to generate project scaffolding files, including READMEs, requirements, and test stubs.
* **CLI Module**: Offers a command-line interface to interact with Zennix, allowing you to quickly generate project scaffolding files.
* **LLM Module**: Utilizes Large Language Models to generate high-quality project scaffolding files, ensuring accuracy and consistency.

**Installation**
--------------

To install Zennix, run the following command:
```bash
pip install zennix
```
**Usage**
---------

To use Zennix, simply run the following command in your terminal:
```bash
zennix init <project_name>
```
Replace `<project_name>` with the desired name for your new project. Zennix will then generate the necessary project files and folders.

**CLI**
-----

The Zennix CLI provides a range of commands to help you manage your projects. Here are a few examples:

* `zennix init <project_name>`: Initializes a new project with the specified name.
* `zennix generate <file_type>`: Generates a specific type of file, such as a README or requirements file.
* `zennix test`: Runs a set of tests to ensure your project is properly configured.

**Contribution**
----------------

We welcome contributions to Zennix! If you'd like to contribute, please fork the repository and submit a pull request. You can also report any issues or bugs you encounter.

**License**
---------

Zennix is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.

**Acknowledgments**
----------------

Zennix would not be possible without the contributions of the following individuals:

* Gopal Goyal

**Getting Started**
-------------------

To get started with Zennix, simply install the library and run the `zennix init` command. From there, you can use the CLI to generate project scaffolding files and manage your projects.

Happy coding!
PyEasyDB 0.1.1
A simple and lightweight Python library for easy database management.
Requires Python: >=3.6

# PyEasyDB
A simple library to save and load Python dictionaries in SQLite.


## ویژگی‌ها

- ذخیره سازی و بازیابی اسان دیتاها
- اسان کردن کارشما در استفاده از اس کیو ال
- سبک و سریع



## سوالاتی راجب این کتابخونه

#### آیا متغیر هایی جز دیکشنری رو ذخیره میکنه؟

خیر این کتابخونه برای ذخیره دیکشنری طراحی شده

#### آیا میشه چند دیکشنری رو به صورت جدا ذخیره کرد؟

بله وقتی میخواین دیکشنری رو ذخیره کنید میتونین یک شناسه بهش بدید


## نصب

نصب از طریق ترمینال

```bash
  pip install PyEasyDB
```

## نمونه کد
- ذخیره دیتا
```python
from PyEasyDB import save,load

data = {'name':'mohammad','age':18}

save(data,'user1')
#در اینجا یک فایل data.db ساخته میشود و دیتا توش ذخیره میشه

```

- لود کردن دیتا

```python
from PyEasyDB import save,load

data = load('user1')
# اگه دیتا وجود داشته باشه دیتا = {'name':'mohammad','age':18}
```