معرفی شرکت ها


ertis-auth-migrate-0.1.6


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Ertis Auth initializer CLI
ویژگی مقدار
سیستم عامل -
نام فایل ertis-auth-migrate-0.1.6
نام ertis-auth-migrate
نسخه کتابخانه 0.1.6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده ismetacar
ایمیل نویسنده dismetacar@gmail.com
آدرس صفحه اصلی https://github.com/ismetacar/ertis_auth_cli
آدرس اینترنتی https://pypi.org/project/ertis-auth-migrate/
مجوز -
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.


نیازمندی

مقدار نام
~=7.1.2 click
~=3.11.2 pymongo
~=1.7.4 passlib
~=51.1.2 setuptools
~=1.0.3 PyInquirer
==4.0.1 python-slugify
==3.2.0 bcrypt
==1.16.0 dnspython


نحوه نصب


نصب پکیج whl ertis-auth-migrate-0.1.6:

    pip install ertis-auth-migrate-0.1.6.whl


نصب پکیج tar.gz ertis-auth-migrate-0.1.6:

    pip install ertis-auth-migrate-0.1.6.tar.gz