semvec/pypi-packages huggingface dataset:
SignalPy 1.0.6
Realtime communication for Python web applications
License: MIT
Keywords: simple,lightweight,WSGI,micro,server,library,python,signalr,signalpy,websocket,ajax,xhr,long polling,xhr,alternative,wsocket,servelight

﻿# SignalPy
**Real-time Communication for web applications  with SignalR**
*Incredibly simple real-time web for python WSGI servers and frameworks*
## Realtime
Today's modern websites are expected to deliver up-to-date information without hitting a refresh button. Add that real-time functionality to your python web applications.

What is real-time functionality? It's the ability to have your server-side code push content to connected clients as it happens, in real-time.
## WSGI compatible
SignalPy apps can be written in python code and added to your server app with or without application framework. 
many servers and web applications are WSGI.

`else:` you can use default server ( ServeLight ) and inbuilt application framework.
## What can you do with SignalPy
While chat is often used as an example, you can do a whole lot more. SignalPy also enables completely new types of applications that require high-frequency updates from the server, such as real-time gaming.
## Open source, open protocol
SignalPy is open-source on GitHub. In addition to the source code, protocol specification the for communication between hubs and clients is open too.
## Connect from everywhere
With client SDKs for JavaScript, you can connect to your SignalPy hub and start receiving real-time messages.
use [Gunicorn](https://gunicorn.org/) and [Nginx](https://www.nginx.com/) for production on web.

SignalPy will use WebSockets when it's available, and gracefully falls back on other technologies when it isn't, while your application code stays the same.
## Simple
 SignalPy is simple but not powerful like [SignalR](https://dotnet.microsoft.com/apps/aspnet/signalr)
## SignalPy vs [SignalR](https://dotnet.microsoft.com/apps/aspnet/signalr)
 Don't compare SignalPy and [SignalR](https://dotnet.microsoft.com/apps/aspnet/signalr). Signalr is a powerful method for .NET framework. Its not for python
 it is an example for SignalPy. SinalPy is not powerful like SignalR. Help me to improve this project like SignalR.
 
 **Contribute** in [Github](https://github.com/Ksengine/SignalPy)
 # Get started...
lazytui 0.0.3
A terminal UI for the la(z)yperson
License: MIT

A terminal UI for the la(z)yperson

![](images/lazytui.png)

-------
```python
import lazytui
from lazytui.fmt import fmt

class Hello(lazytui.TUI):
    def setup(self):
        self.enable_title_bar('hello world', style="underline")
        self.enable_status_bar('press q to quit', fg="magenta")

    def draw(self):
        self.write(2, 0, 'hello world ' + fmt('from lazytui', fg="blue", bg="white", style=["underline", "bold"]))

    def key_pressed(self, key):
        if key == 'q':
            self.exit()

Hello().run()
```

![](images/helloworld.png)

-------

Lazytui is a python UI framework built around the built-in [curses](https://docs.python.org/3/howto/curses.html) module.
It is simple to set up, easy to use and comes with all the built in power of the curses framework.

### Installation

```
pip install lazytui
```

-------

### Design

Lazytui design is based off of the design philosophy of [Processing](https://processing.org/)/[P5js](https://p5js.org/).
The TUI triggers certain methods that the user can override to control the flow of the program.

| Event Method  | Description
| :------------ | :----------
| `setup(self)` | After `__init__()` is called but before we itereate over the `draw()` loop
| `draw(self)` | Continuously executes the lines of code contained inside its block until the program is stopped.
| `key_pressed(self, key)` | Function called when user presses a key. Key is given as a string as an argument.
| `window_resized(self)` | Function called when the window is resized.
| `cleanup(self)` | Called at the very end of the programs execution, right before it exits.

### Helper methods

| Method | Description
| :----- | :----------
| `self.get_width()` | Returns the number of columns of the terminal.
| `self.get_height()` | Returns the number of rows of the terminal.
| `self.write()` | Write formatted text to the terminal.

### Colors
See [curses constants documentation](https://docs.python.org/3/library/curses.html#constants)

**FG/BG colors**

| Color       | Curses equivalent
| :-----      | :----------------
| `"black"`   | `curses.COLOR_BLACK`
| `"blue"`    | `curses.COLOR_BLUE`
| `"cyan"`    | `curses.COLOR_CYAN`
| `"green"`   | `curses.COLOR_GREEN`
| `"magenta"` | `curses.COLOR_MAGENTA`
| `"red"`     | `curses.COLOR_RED`
| `"white"`   | `curses.COLOR_WHITE`
| `"yellow"`  | `curses.COLOR_YELLOW`

**Styles**

| Style          | Curses equivalent
| :-----         | :----------------
| `"altcharset"` | `curses.A_ALTCHARSET`
| `"blink"`      | `curses.A_BLINK`
| `"bold"`       | `curses.A_BOLD`
| `"dim"`        | `curses.A_DIM`
| `"invis"`      | `curses.A_INVIS`
| `"italic"`     | `curses.A_ITALIC`
| `"normal"`     | `curses.A_NORMAL`
| `"protect"`    | `curses.A_PROTECT`
| `"reverse"`    | `curses.A_REVERSE`
| `"standout"`   | `curses.A_STANDOUT`
| `"underline"`  | `curses.A_UNDERLINE`
| `"horizontal"` | `curses.A_HORIZONTAL`
| `"left"`       | `curses.A_LEFT`
| `"low"`        | `curses.A_LOW`
| `"right"`      | `curses.A_RIGHT`
| `"top"`        | `curses.A_TOP`
| `"vertical"`   | `curses.A_VERTICAL`
| `"chartext"`   | `curses.A_CHARTEXT`
gmtool 1.0.2
A powerful generation tool
License: MIT
Requires Python: >=3
Keywords: generation

#GM's little generation tool !

##1.Description
Generate sentence according to Regex Expression. Now only support signs like "{}()|".

##2.Tutorial
Example：
```angular2
from gmtool.re_generation import ReParse
regex='{你|我}好'
print(ReParse(regex).Parse())
```
Result：
```angular2
['好', '你好', '我好']
```
cardGenerator 0.0.1
document card generator
License: MIT
Keywords: card

Welcome to my package:
This package contains useful functions that do the following:
1) you should start by resizing the source file containing the very first labeled images with no background and angle 0

2) from this file you start creating the others.

3) from the base file we modeA.py and modeB.py can be created

4) After creating modeA and modeB images we use normalizeA and normalizeB to normalize them

5) normalizeC directly take the images and put them in a normalized A4 style (check the options)

6) multi.py is used to create base files for multi with two options: a) very close b) with a bit of distance between the two documents cards.

7) After creating the multi folders, normalizeMulti has the essential functions to normalize the previous generated multi cases.

Enjoy!



Change Log
==========

0.0.1 (20/10/2020)
-------------------
- First Release
cardUniquare 0.0.1
document card generator
License: MIT
Keywords: card

Welcome to my package:
This package contains useful functions that do the following:
1) you should start by resizing the source file containing the very first labeled images with no background and angle 0

2) from this file you start creating the others.

3) from the base file we modeA.py and modeB.py can be created

4) After creating modeA and modeB images we use normalizeA and normalizeB to normalize them

5) normalizeC directly take the images and put them in a normalized A4 style (check the options)

6) multi.py is used to create base files for multi with two options: a) very close b) with a bit of distance between the two documents cards.

7) After creating the multi folders, normalizeMulti has the essential functions to normalize the previous generated multi cases.

Enjoy!



Change Log
==========

0.0.1 (20/10/2020)
-------------------
- First Release
monoalpha 1.0.4
A simple monoalphabetic cipher program.
License: MIT
Keywords: cipher monoalphabetic encrypt

Monoalpha can be used to generate code
alphabets, as well as to encrypt and decrypt
text. It supports caesar shift, ROT13, affine, atbash,
and keyword ciphers. It can also encrypt and decrypt
based on your own code alphabets. Consult the README
for more information.