semvec/pypi-packages huggingface dataset:
authentic-django 0.2
A plug-and-play Django authentication system with OTP and email verification.
License: MIT

# authentication v1

### settings.py

Default redirect URLs (Can be overridden in the main Django project)

AUTH_REDIRECT_SIGNUP = "verify_otp"  # After successful signup
AUTH_REDIRECT_LOGIN = "dashboard"  # After successful login
AUTH_REDIRECT_OTP_VERIFIED = "dashboard"  # After OTP verification
AUTH_REDIRECT_LOGOUT = "login"  # After logout

AUTH_EMAIL_SENDER = "support@mywebsite.com"

EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
EMAIL_HOST = "smtp.gmail.com"
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = "your-email@gmail.com"  # Your Gmail Address
EMAIL_HOST_PASSWORD = "your-app-password"  # App Password from Google
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER


### run migrations 

python manage.py makemigrations authentication
python manage.py migrate

 

### project urls

from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    path('accounts/', include('authentication.urls')), # add app urls
    path("admin/", admin.site.urls),
]
f0-usb-keyboard-bt-proxy 0.0.1a2
Utility to proxy keyboard events via BT -> FlipperZero -> USB
License: MIT
Requires Python: <=3.13,>=3.10

# FlipperZero USB Keyboard BT Proxy

– Why???

– IDK.

But in reality, I had a mini-PC to configure, a laptop and no external keyboard.

## Table of Contents

* [About](#about)
  * [GUI](#about_gui)
  * [FAP](#about_fap)
* [Installation](#installation)
  * [GUI](#gui)
  * [FAP](#fap)
* [Usage](#usage)

## <a name="about"/> About

Laptop –> Bluetooth (BLE) –> FlipperZero –> USB (HID) –> Device.

Stability/usability is questionable at this moment.

### <a name="about_gui"/> GUI
Requires **python >= 3.10**.

Should work on MacOS (tested), Linux (not tested), Windows (not tested).

**PySide6** used for bluetooth client.
It's fat and an overkill, but my experience with [Bleak](https://bleak.readthedocs.io)
was unsatisfactory.

**PySDL2** is used to capture keyboard events. They map almost as is to HID.

### <a name="about_fap"/> FAP

[This](https://github.com/pragmaeuge/flipper_zero_bts_demo_app) repository
helped to figure stuff out.

## <a name="installation"/> Installation

### <a name="gui"/> GUI

```bash
pip install f0-usb-keyboard-bt-proxy
```

### <a name="fap"/> FAP

Build from source:
```bash
git clone https://github.com/tzoiker/flipperzero-usb-keyboard-bt-proxy.git
cd flipperzero-usb-keyboard-bt-proxy/fap
pip install ufbt
```

Optionally, select desirable firmware version, e.g.,
```
ufbt update -b 1.0.1
```
and, then, after connecting F0,
```
ufbt launch
```

Otherwise,
- download .fap file from the [releases](https://github.com/tzoiker/flipperzero-usb-keyboard-bt-proxy/releases)
  (may not be compatible with your version of firmware);
- place it to the SD-card under apps/Bluetooth.


## <a name="Usage"/> Usage

1. Connect your F0 to the device you need a keyboard for.
2. Open the `USB Keyboard BT Proxy` application on F0.
3. Press Start. It will show BT device name, e.g., `UsbKbBtP <F0 name>`.
4. Enable bluetooth on your computer.
5. Run `f0-usb-keyboard-bt-proxy --device-bt-name="UsbKbBtP <F0 name>"`.
6. Now you can type in the opened window, and it will, hopefully, work.