semvec/pypi-packages huggingface dataset:
pnt3 1.0.3
"pnt3” - calculating the degree of similarity between geometric figures of different shapes (by 3 points)
License: MIT
Requires Python: >=3.11,<4.0

## pnt3
Calculating the degree of similarity between geometric figures of different shapes (by 3 points)

### Installation
```
pip install pnt3
```
### How to use:
```Python
from pathlib import Path
from pnt3.src.get_similarity import get_similarity, calc_similarity, convert_to_canonical

""" Get input data """
path_1 = str(Path.cwd() / 'DATA' / 'first.png')
path_2 = str(Path.cwd() / 'DATA' / 'second.png')

similarity_1 = get_similarity(path_1, path_2)

image_1_can = convert_to_canonical('1', path_1)
image_2_can = convert_to_canonical('2', path_2)

similarity_2 = calc_similarity(image_1_can, image_2_can)

print(f'\nsimilarity_1 = {round(similarity_1, 7)}'
      f'\nsimilarity_2 = {round(similarity_2, 7)}')
```
secured-console-chat 1.1.21
Secured console chat with RSA & Fernet
License: MIT
Requires Python: >=3.10

# Welcome to command line chat project [CMD CHAT]

![Alt Text](https://static.wikia.nocookie.net/listofdeaths/images/b/b3/Tyler_Durden.webp/revision/latest?cb=20220909010337)

# What is this?

It is a console chat with message encryption.

# How does it work?

All you need to do is run a web server and connect to it via a client.

# Run 

### Create and activate a virtual environment in Python

```
pip install secured_console_chat
```

```
import asyncio 
import cmd_chat

if __name__ == '__main__':
    asyncio.run(cmd_chat.run())
```


### Or 

Start server:

```
cmd_chat serve localhost 5000 
```

Connect to server:

```
cmd_chat connect localhost 5000 tyler
```

How does encryption work?

* The client generates a private key.
* The server generates a symmetric key.
* The client sends the public key to the server.
* The server encrypts the symmetric key and sends it to the client.
* The client encrypts the private key.
* After that, communication with the server occurs via the symmetric key.

# Example

![Alt Text](example.gif)

# Known bugs 

* Sometime WS just drop connection
* Client input message problem. To start input, you need to press enter first, only after that you got pop up with message. Tried to fix, but nothing worked.