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

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.2.2.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

jina_auth-0.2.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jina-auth-0.2.2.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for jina-auth-0.2.2.tar.gz
Algorithm Hash digest
SHA256 4ab6e1f5c2e8a4aef9545bc6dac4c9f98fd87d84367fb137ff8b9f6a34105294
MD5 8d0604bfdcf40598df331babfc5a1d21
BLAKE2b-256 db127ed3674d53eec8dc756d20968ef00db7f975bbfb15324c17e3870f3ea7a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jina_auth-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for jina_auth-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42a5052b12572fedc4b7e25f894d8770120ba91429833b596c81889d50e80a60
MD5 895871fd4a6488ac1ecd16735b043c24
BLAKE2b-256 9dc76dc2db98f2ebafa9e9f470cb56cae8ec0460403be67b100d9ade4427077b

See more details on using hashes here.

Supported by

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