Skip to main content

A CLI for you to login in to Jina Ecosystem

Project description

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 <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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jina-auth-0.1.4.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jina_auth-0.1.4-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file jina-auth-0.1.4.tar.gz.

File metadata

  • Download URL: jina-auth-0.1.4.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for jina-auth-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e64927ee4fcede4193afd9acb3bf89df4c9d219e9a369dd0b402755d5d329015
MD5 421a63cef1a2fb0102524f96984e381e
BLAKE2b-256 e15d22dd1ad1f38c27d499bd5e3b79331630f5a58009ebc9c15b4e9fdec16dfd

See more details on using hashes here.

File details

Details for the file jina_auth-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: jina_auth-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for jina_auth-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ef08154c5f9f18bc483251a4e25d2ef7fd575f3ca247e71db3407f2b9342d157
MD5 0c5d1e9a909627f2d5ce260eae1ebba1
BLAKE2b-256 db612f3b6cfea2bc93c08be7971936dfd478090f322a963f32fa581c78d16244

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page