Skip to main content

Simplify deploying and managing Jina projects on Jina Cloud

Project description

JCloud

JCloud is the command line interface that simplifies deploying and managing Jina projects on Jina Cloud.

Jina Cloud is the cloud infrastructure provided by Jina AI. It hosts your Jina project, offers computational and storage resources. Jina Cloud is now in early beta, you can apply the access token here for free.

Install

pip install jcloud
jc -h

Get Started

Deploy a Flow

jc deploy toy.yml

The simplest toy.yml looks like the following:

jtype: Flow
executors: {}

Flow is succefully deployed when you see:

You will get an Flow ID, say 84b8b495df. This ID is required to manage, view logs and remove the Flow.

As this Flow is deployed with default gRPC gateway, you can use jina.Client to access it:

from jina import Client, Document

c = Client(host='grpcs://84b8b495df.wolf.jina.ai')
print(c.post('/', Document(text='hello')))

View logs

jc logs 84b8b495df

Remove a Flow

jc remove 84b8b495df

Get the status of a Flow

jc status 84b8b495df

List all Flows on the cloud

jc list

Support

Join Us

JCloud 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 open-source.

Release history Release notifications | RSS feed

Download files

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

Source Distribution

jcloud-0.0.3.dev11.tar.gz (16.0 kB view details)

Uploaded Source

File details

Details for the file jcloud-0.0.3.dev11.tar.gz.

File metadata

  • Download URL: jcloud-0.0.3.dev11.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for jcloud-0.0.3.dev11.tar.gz
Algorithm Hash digest
SHA256 95a1c04989bb389035fafb8556933e3173b0c985a6b7e76bda1403701d029e1f
MD5 649ae67707fa6b54a3c73a13acd89269
BLAKE2b-256 d9ace3f271c2109f14142f4c65281e1ca4e669f7fddcb8db864ea2ebf3deb686

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