semvec/pypi-packages huggingface dataset:
apiogram 0.2.2
A simple library for easy work with key-value storages and document databases
License: MIT
Requires Python: >=3.10.8
Keywords: aiogram,telegram,storage

# Apiogram
Simple wrapper for aiogram - little framework for comfortable develop telegram bots

[![PyPi Package Version](https://img.shields.io/pypi/v/aiogram.svg?style=flat-square)](https://pypi.python.org/pypi/apiogram)
[![PyPi status](https://img.shields.io/pypi/status/aiogram.svg?style=flat-square)](https://pypi.python.org/pypi/apiogram)
[![Supported python versions](https://img.shields.io/badge/Python-3.10.8,3.11-blue)](https://pypi.python.org/pypi/apiogram)
[![Telegram Bot API](https://img.shields.io/badge/Telegram%20Bot%20API-6.2-blue.svg?style=flat-square&logo=telegram)](https://core.telegram.org/bots/api)
[![MIT License](https://img.shields.io/pypi/l/aiogram.svg?style=flat-square)](https://opensource.org/licenses/MIT)

```py
import logging
from magic_config import Config
from apiogram import start_polling


def main():
    """Main function"""
    # Logging module configuration
    logging.basicConfig(level=logging.DEBUG if Config.DEBUG else logging.INFO)
    # Dafult configuration get from Config object
    start_polling()


if __name__ == "__main__":
    """Run main function"""
    main()
```
third-party-imports 0.0.7
Find all third-party packages imported into your python project.
License: MIT
Requires Python: >=3.7
Keywords: import,finder

# python-third-party-imports

This is a **Python** **CLI** tool built with **Rust** that finds all third-party packages imported into your Python project.

# Install

You can install this package via pip.

```console
pip install third-party-imports
```

# Usage

### Run:

**Check a directory:**

```console
third-party-imports path/to/project/dir
```

**Check a directory with extra files:**

```console
third-party-imports --extra-file-paths path/to/project/dir/foo.sh path/to/project/dir
```

**Note:** You can use `--extra-file-paths` option to include files that do not contain `.py` or `.pyi` extension.


**Check a file:**

```console
third-party-imports --project-root path/to/project/dir/ path/to/project/dir/foo/main.py
```

**Note:** If the file is not located in the project root directory,
then you need to use `--project-root` option to specify where the project root directory is located.

### Help:

```console
Find all third-party packages imported into your python project.

Usage: third-party-imports [OPTIONS] <PATH>

Arguments:
  <PATH>  Path to a file or directory to check

Options:
  -p, --project-root <PROJECT_ROOT>          Path to the project's root directory
  -e, --extra-file-paths <EXTRA_FILE_PATHS>  Extra file paths to check
  -h, --help                                 Print help
  -V, --version                              Print version
```

# Example

```console
third-party-imports examples/
```

**Output:**

```console
Found '4' third-party package imports in '5' files. (Took 920.50µs)

celery
django
pandas
requests
```

# Development

### Run using Cargo

```console
cargo +nightly run -- path/to/project/dir
```

### Code Format

```console
cargo +nightly fmt
```

### Run Tests

```console
cargo +nightly test
```

### Install Package in current `virtualenv`

```console
maturin develop
```

# License

The code in this project is released under the [MIT License](LICENSE).