A CLI for you to login in to Jina Ecosystem


Keywords
jina, auth, login, logout, user
License
Apache-2.0
Install
pip install jina-auth==0.1.0

Documentation

Jina Auth

Pypi package (jina-auth), provide a CLI to login Jina Eco.

Install

pip install jina-auth

Core functionality

  • Authentication and token management.

Usage

Login to Jina Cloud

Open browser automatically and login via 3rd party. Token will be saved locally.

jina auth login

Logout

If there is a valid token locally, this will disable that token and remove it from local config.

jina auth logout

Personal access token (PAT) management

Create a new PAT

jina auth token create <name of PAT> -e <expiration days>

List PATs

jina auth token list

Delete PAT

jina auth token delete <name of PAT>

Release cycle

  • Each time new commits come into main branch, CD workflow will generate a new release both on GitHub and Pypi.
  • Each time new commits come into alpha branch, CD workflow will generate a new pre-release both on GitHub and Pypi.

Development guide

All of the development scripts are managed by make, run make help or take a look at Makefile to get more detail.

Generate virtual env

make env

Install pre-commit

make pre-commit

Install dependencies

make init

Lint style

make style

Test

make test

Support

Join Us

Jina Auth is backed by Jina AI and licensed under Apache-2.0. We are actively hiring AI engineers, solution engineers to build the next neural search ecosystem in opensource.