semvec/pypi-packages huggingface dataset:
cologs 0.3
Colorful and Simple Logger: cologs

# cologs

[![Build Status](https://github.com/nullscry/cologs/actions/workflows/ci.yml/badge.svg)](https://github.com/nullscry/cologs/actions/workflows/ci.yml)
[![PyPI Version](https://img.shields.io/pypi/v/cologs.svg)](https://pypi.python.org/pypi/cologs)

A simple colorful wrapper around `logger` from Python Standard Library with no dependencies. cologs sends its colorful output both to the terminal and into logs/cologs.log. The cologs.log file is rotated inside the logs folder when it gets large enough.

## Installation

```sh
pip install cologs
```

## Usage

```python
from cologs import get_cologs

cologs = get_cologs()
cologs.debug("Debug message")
cologs.info("Info message")
cologs.warning("Warning message")
cologs.error("Error message")
cologs.critical("Critical message")
```

## STDOUT

<img src="./assets/stdout.jpg" alt="cologs output as seen in terminal.">

## Log File

<img src="./assets/cologs.jpg" alt="cologs output as seen in logs/cologs.log file.">
pyE2EE 5.0.4
End To End Encryption in Python.


# pyE2EE 1.0.0

End To End Encryption in Python.

<p align="right"> <img src="https://komarev.com/ghpvc/?username=merwin-pye2ee&label=Project%20views&color=0e75b6&style=flat" alt="darkmash-org" /> </p>


## Install 

        pip install pyE2EE

## Features

- Cross platform (i think)
- RSA and AES Encryption
- Examples provided
## Usage/Examples

```python
import pyE2EE

```


### Server Side
```python

def client_loop(server,cli):
  pass # do stuff

server = pyE2EE.Server(port,client_loop) # client_loop will be called giving args server-obj and client 

server.TotalCons        # gives number of total connections
server.clients          # is a list of all [client, AES-key-of-the-cli]
server.send(client,msg) # sends msg
server.recv(client)     # recvs msg
server.sendall(msg)     # send all connected clients
server.close(client)    # close a connection
```

### Client Side
```python
client = pyE2EE.Client(server_ip,port) 

client.send(msg)  # send msg to server
client.recv()     # recv msg from server
client.close()    # close connection with server

```

## License

[MIT](https://choosealicense.com/licenses/mit/)


## Authors

- [@Merwin](https://www.github.com/mastercodermerwin)