semvec/pypi-packages huggingface dataset:
ertis-auth-migrate 0.1.6
Ertis Auth initializer CLI

Ertis Auth Initializer CLI
===

Ertis Auth Command Line Interface. 

# Package Index


## Migrate 

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_migrate
```

#### Help

```bash
$ ertis_auth_migrate --help
```

#### Setup
```bash
$ ertis_auth_migrate -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
```

You can check your mongodb collections and indexes after installation. 

> 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.
journalists 0.0.5
App for writing fun daily journalists.
Requires Python: >=3.6

<p align="center" margin=0 padding=0>
  <img src="docs/journalist.png" width=100 margin=0 padding=0/>
</p>

# Journalists [![PyPI version](https://badge.fury.io/py/journalists.svg)](https://badge.fury.io/py/journalists)
Command-line based personal journal tool. 

## Install
```
pip install journalists
```

## Usage

### Help
```
> journalists --help
Usage: journalists [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  append   Append to today's journal
  end      End today's journal
  version
```


### Append to your today's journal

```
➜  journalists append
## 2020_05_22

### Pick an item type.
1) ✅ = Accomplishment
2) 🚢 = Shipped it
3) 🗑 = Trashed it
4) 🧻 = WIP
5) 👀 = Reviewed
6) 📚 = Learning
7) 🎉 = Celebration
8) 💡 = Idea
9) 🥩 = Meeting
10) 🤔 = Puzzling/Challenging
11) 😐 = Mmmm...
12) 💩 = Not great
12 + 1) 🤷‍♀️ = Other
9
What?
Standup with Highlights

- 📚 Python's format method
- 👀 PR #143
- 🚢 New release of journal app
- 🥩 Standup with Highlights
```

## End your day
```
journalists end
## 2020-05-22
- 📚 Python's format method
- 👀 PR #143
- 🚢 New release of journal app
- 🥩 Standup with Highlights

### How was your day?
5) 🍾 AMAZING!
4) 🍷 Pretty Decent
3) 🍺 OK
2) ☕️ hmm
1) 🥃 Horrible
4
Anything to add?
Felt productive
- 📚 Python's format method
- 👀 PR #143
- 🚢 New release of journal app
- 🥩 Standup with Highlights

# ------------------------🍷 Pretty Decent Felt productive------------------------
```

# Credits
Based on @hansencc original script.


# License
MIT License, see [LICENSE](LICENSE)