semvec/pypi-packages huggingface dataset:
try-improve-code 0.0.1
Package for improving Python code
License: MIT
Requires Python: >=3.9

# try_improve_code POC
Package for improving Python code

## Example usage
```shell
python -c'import try_improve.code as tic;tic.run_all("<path_to_project>")'
```

## Build and install the project
```shell
PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python setup.py bdist_wheel
PIPENV_IGNORE_VIRTUALENVS=1 pipenv run pip install -e .
pipenv shell
python
```
```python
import try_improve.code as tic
tic.run_all("./try_improve")
exit()
```
```shell
exit
PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python setup.py sdist
```


## Run all checks
```shell
PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python -c'import try_improve.code as tic;tic.run_all("./try_improve")'
```

## Step by step

1. Clean before analysis:
    ```shell
    PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python -c'import try_improve.code as tic;tic.clean_before_test()'
    ```
1. Run black:
    ```shell
    PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python -c'import try_improve.code as tic;tic.run_black("./try_improve")'
    ```
1. Run isort:
    ```shell
    PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python -c'import try_improve.code as tic;tic.run_isort("./try_improve")'
    ```
1. Run flake8:
    ```shell
    PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python -c'import try_improve.code as tic;tic.run_flake8("./try_improve")'
    ```
1. Run radon:
    ```shell
    PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python -c'import try_improve.code as tic;tic.run_radon("./try_improve")'
    ```
1. Run final checks:
    ```shell
    PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python -c'import try_improve.code as tic;tic.check_quality()'
    ```
async-http2 0.1.1
asyncio-compatible HTTP2 client for Python based on `reqwest` Rust crate and pyo3/pyo3-asyncio
License: MIT
Keywords: python,http2,asyncio

# async-http2
[![GitHub Actions](https://github.com/alekseyl1992/async_http2/workflows/Python/badge.svg)](https://github.com/alekseyl1992/async_http2/actions?query=workflow%3APython)
[![PyPI](https://img.shields.io/pypi/v/async-http2.svg)](https://pypi.org/project/async-http2)

asyncio-compatible HTTP2 client for Python based on `reqwest` Rust crate and pyo3/pyo3-asyncio

## Installation

```bash
pip install async-http2
```

## Usage

```python3
import asyncio
import logging

from async_http2 import Client


def main():
    logging.basicConfig(level=logging.INFO, format='%(asctime)-15s %(message)s')

    client = Client(timeout=60)

    loop = asyncio.get_event_loop()
    loop.run_until_complete(work(client))


async def work(client):
    resp_data = await client.get('http://localhost:1010', {
        'fast': '1',
    })
    logging.info(resp_data)


if __name__ == '__main__':
    main()
```

## License

This work is released under the MIT license. A copy of the license is provided in the [LICENSE](../LICENSE) file.