semvec/pypi-packages huggingface dataset:
jack-midi-keyboard 1.0.3
Provides a comfy interface to MIDI keyboards via JACK.

# jack_midi_keyboard

Provides a comfy interface to python from a MIDI keyboard via JACK.

Running from the command line will simply demonstrate its usage, printing out
the notes played on the first physical MIDI input found:

	python -m jack_midi_keyboard

An example of using this package:

	from jack_midi_keyboard import JackMidiKeyboard

	def note_on(channel, pitch, velocity, *_):
		print(f' {channel:02d}  {pitch:02d}  {velocity:02d}')

	def note_off(channel, pitch, *_):
		print(f' {channel:02d}  {pitch:02d}')

	with JackMidiKeyboard(auto_connect = True) as kbd:
		kbd.on_note_on(note_on)
		kbd.on_note_off(note_off)
		input()	# Causes execution to wait for user input

You can also extend the JackMidiKeyboard class with your own class.

## Versatility

Although this package is named "jack_midi_keyboard", this class can be used to
receive MIDI events from any kind of Jack MIDI output port, software or
hardware.
zenity-judo 1.0.3
Python wrapper for zenity.

# zenity_judo

Python wrapper for zenity.

From the zenity manpage:

>   zenity is a program that will display GTK+ dialogs, and return (either in the
    return code, or on standard output) the users input. This allows you to present
    information, and ask for information from the user, from all manner of shell
    scripts.

>   For example, zenity --question will return either 0, 1 or 5, depending on
    whether the user pressed OK, Cancel or timeout has been reached.  zenity
    --entry  will output on standard output what the user typed into the text entry
    field.

Examples:

Show a message:

    from zenity import Info
    dlg = Info(text = 'This is the message text', title = 'Some info')
    dlg.show()

Ask a question:

    dlg = Question(text = 'Are you really <b>sure</b> you want to do that?',
        ok_label = 'Sure', cancel_label = 'No, not ever')
    if dlg.show():
        print('Okay, you asked for it!')

(The above example illustrates the use of "Pango" markup. See:
https://docs.gtk.org/Pango/pango_markup.html)

Choose one out of a list:

    dlg = List(['Tom', 'Dick', 'Harry'])
    res = dlg.show()
    if res:
        print(f'Sending this off to {res} ...')

Pick a color:

    dlg = Color_Selection(color = "#00FF00")
    res = dlg.show()
    if res:
        print(f'Color me {res}')

## Limitations

As of this moment, the "Progress" class is not finished. If you would like to contribute a solution, feel free to make a pull request!
auth-api-intra 0.1.1
Reusable Auth API logic component
Requires Python: >=3.9

# auth_api

Reusable FastAPI authentication component with JWT.

## Install

```bash
# pip install git+https://github.com/yourusername/auth_api.git
pip install auth-api-intra 0.1.1
```

## Use

```python
from fastapi import FastAPI
from auth_api import router as auth_router

app = FastAPI()
app.include_router(auth_router, prefix="/auth")

if __name__ == "__main__":
    import uvicorn
    uvicorn.run("main:app", host="", port=, reload=True)

```