semvec/pypi-packages huggingface dataset:
mpscreen 0.7.7
A Tool for multiprocess screen manipulation

## Info

mpscreen is a tool for screen manipulation. It allows for multiple consoles, dividing screen, custom colors and supports 
multiprocess environments. It uses ASCI escape codes so will work on linux only. If your console is set up for 256 colors
 
## Usage

In order to use this first setup screen server and build elements. Once build you must start the server.

```python
# build screen server
ss = mpscreen() 

# build screen elements
l1 = ss.buildLine(top=1, pattern=[" Main Pattern : ", Vstr("v:<13")], background=52, color=207) # adding custom elements
l2 = ss.buildLine(top=2, pattern=[" Main Pattern  ", Vint("count:5"), ' / ', Vint("total:5")], background=55, color=207)
upperConsole = ss.buildBuffer(top=3, height=20)
lowerConsole = ss.buildBuffer(bottom=2, top=25, background = 117)

# start the server
ss.start() 
```

Now you can manipulate screen from any process. 

```python
def linePrinter(cs: line):
    for i in range(100, 200):
        cs.v = "xxx" + str(i) * 3
        time.sleep(0.2)


def linePrinter2(cs: line):
    cs.total = 200
    for i in range(0, 200):
        cs.count = i
        time.sleep(0.2)


def bufferPrinter(bs: buffer):
    for i in range(1000, 3000):
        bs.append(('\u001b[48;5;13m') + (str(i) * (2)))
        bs.append((str(i) * 13))
        time.sleep(0.1)

pr = [Process(target=linePrinter, args=[l1]),
      Process(target=linePrinter2, args=[l2]),
      Process(target=bufferPrinter, args=[upperConsole]),
      Process(target=bufferPrinter, args=[lowerConsole])]

for p in pr:
    p.start()

for p in pr:
    p.join()

ss.close()
```
ertis-auth-cli 0.1.0
Ertis Auth initializer CLI

Ertis Auth Initializer CLI
===

Init your database (mongodb) for using ertis auth.

If you are using ertis auth, you should create first membership, role and user.
This manually operation have some risks. 

* You may not be sure about Membership, user and role database models. 
* sys field. who is created that documents and when?
* You can forget database indexes before using. 

Ertis Auth CLI create first models and create mongodb indexes by your given mongodb connection string.

Usage
===

Installation
---

```bash
$ pip install ertis_auth_cli
```

Help
---
```bash
$ ertis_auth_cli --help
```

Setup
---
```bash
$ ertis_auth_cli -c <mogno_connection_string> -d <datbase_name>

```
Then cli asks some questions to you. 

```bash
Initialize you ertis auth service.
? Enter a membership name:  ertis
? Enter a role name:  admin
? Enter a username:  admin
? Enter a password:  mySecretP@assWord!
? Enter token ttl value as a minutes:  60
? Enter refresh token ttl value as a minutes:  120
? Enter max active token count by user:  120
? Do you want create indexes on mongodb for ertis auth? [y|N]  True
```

After installation you can check your mongodb collections and indexes. 

> Note:  if you have memberships, roles and users collections already this cli will be created only documents. s
> And documents means new membership, new role under membership and new user under membership.