semvec/pypi-packages huggingface dataset:
ikamail 0.0.6
Package using to call Mail providers API
Requires Python: >=3.7

# Ikamail Package

 Install package from repository gitlab 
```bash
pip install --index-url https://__token__:<personal_access_token>@gitlab.com/api/v4/projects/<your_project_id>/packages/pypi/simple your_package_name
```

Install package from pip
```bash
pip install ikamail
```

Using package
```py
from ikamail.GmailHelper import GmailHelper

message_id = GmailHelper("prod").get_message_id(
    "me",
    include_spam_trash=False,
    max_results=25,
    batch_using=True
)

print(message_id)
```

[![License: MIT](https://img.shields.io/badge/License-MIT-red.svg)](https://opensource.org/licenses/MIT)
fastapi-jwt-auth 0.5.0
FastAPI extension that provides JWT Auth support (secure, easy to use and lightweight)
Requires Python: >=3.6

<h1 align="left" style="margin-bottom: 20px; font-weight: 500; font-size: 50px; color: black;">
  FastAPI JWT Auth
</h1>

![Tests](https://github.com/IndominusByte/fastapi-jwt-auth/workflows/Tests/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/IndominusByte/fastapi-jwt-auth/badge.svg?branch=master)](https://coveralls.io/github/IndominusByte/fastapi-jwt-auth?branch=master)
[![PyPI version](https://badge.fury.io/py/fastapi-jwt-auth.svg)](https://badge.fury.io/py/fastapi-jwt-auth)
[![Downloads](https://static.pepy.tech/personalized-badge/fastapi-jwt-auth?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/fastapi-jwt-auth)

---

**Documentation**: <a href="https://indominusbyte.github.io/fastapi-jwt-auth" target="_blank">https://indominusbyte.github.io/fastapi-jwt-auth</a>

**Source Code**: <a href="https://github.com/IndominusByte/fastapi-jwt-auth" target="_blank">https://github.com/IndominusByte/fastapi-jwt-auth</a>

---

## Features
FastAPI extension that provides JWT Auth support (secure, easy to use and lightweight), if you were familiar with flask-jwt-extended this extension suitable for you, cause this extension inspired by flask-jwt-extended 😀

- Access tokens and refresh tokens
- Freshness Tokens
- Revoking Tokens
- Support for WebSocket authorization
- Support for adding custom claims to JSON Web Tokens
- Storing tokens in cookies and CSRF protection

## Installation
The easiest way to start working with this extension with pip

```bash
pip install fastapi-jwt-auth
```

If you want to use asymmetric (public/private) key signing algorithms, include the <b>asymmetric</b> extra requirements.
```bash
pip install 'fastapi-jwt-auth[asymmetric]'
```

## License
This project is licensed under the terms of the MIT license.
simple-udp-proxy 0.0.4
This package creates a bidirectional bridge between new udp connections to a unique udp port by creating a proxy for each new connection.
Requires Python: >=3.6

Github Page: [https://github.com/masoudir/simple_udp_proxy](https://github.com/masoudir/simple_udp_proxy)

# Introduction to simple_udp_proxy
This is a python implementation of the simple_udp_proxy. This code, automatically creates a bidirectional bridge between new
udp connections to a unique udp port by creating a proxy for each new connection.
The total structure of this proxy is illustrated as below:

![Screenshot](img/structure.png)

This package could be used for every UDP nodes and also every nodes using MAVLink protocol such as MAVProxy,
 MissionPlanner, Ardupilot-SITL, PX4-SITL and etc. This package will be very useful for devices that use one port number
 for UDP broadcasting, so that you can use different client UDP applications for receiving their UDP packets separately.

# Installation 

## Installing via pip

Just follow these codes:

```bash
pip install -U simple_udp_proxy
```
or

```bash
pip3 install -U simple_udp_proxy
```

The -U parameter allow to update simple_udp_proxy version if it is already installed.

## Installing via git

Just clone the project:

```bash
git clone https://github.com/masoudir/simple_udp_proxy
```

# How to use


## Commands

* `python3 simple-udp-proxy.py -h` - Shows available commands for help.
* `python3 simple-udp-proxy.py --i [INPUT_PORT]` - Input UDP port (default = 14550).
* `python3 simple-udp-proxy.py --o [OUTPUT_PORT]` - Initial UDP output port (Other UDP ports start from this UDP port with the incremental of 1) (default = 1220).
* `python3 simple-udp-proxy.py --verbose [VERBOSE]` - D: Disable Verbose, 1: Enable Verbose (Make all output logs visible).
* `python3 simple-udp-proxy.py --log [LOG]` - 0: Disable Logging, 1: Enable Logging.

Example:

* `python3 simple-udp-proxy.py --i 14520 --o 4520 --log 1 -- verbose 1` - Creates a proxy in 14520 UDP port and forwards to ports starting from 4520

The structure would be as follow:

    client node with port 5678   <---> PROXY in 14520 port   <---> APPLICATION#1 host access port with 4520 port
    client node with port 7852   <---> PROXY in 14520 port   <---> APPLICATION#2 host access port with 4521 port
    ...
    ...
    ...

## Python code

Just follow "test/test.py" as below:

* `python3 test/test.py`

This code creates a new UDP port while a new incoming UDP port wants to send data to the host UDP port which is set on 
14550.

The code is as below:

    from simple_udp_proxy import simple_udp_proxy as px
    px.is_verbose = True
    px.is_log_enabled = True
    proxy = px.UdpProxy(in_port=14550, out_port=1220, buf_size=1024)
    while True:
        pass

# License

The source code generated by Masoud Iranmehr (@masoudir) is available under the permissive MIT License.