Metadata-Version: 2.1
Name: jcloud
Version: 0.0.8.dev5
Summary: Simplify deploying and managing Jina projects on Jina Cloud
Home-page: https://github.com/jina-ai/jcloud
Author: Jina AI
Author-email: hello@jina.ai
License: Apache 2.0
Download-URL: https://github.com/jina-ai/jcloud/tags
Project-URL: Documentation, https://jcloud.jina.ai
Project-URL: Source, https://github.com/jina-ai/jcloud/
Project-URL: Tracker, https://github.com/jina-ai/jcloud/issues
Description: <p align="center">
        <br>
        <br>
        <br>
        <img src=https://github.com/jina-ai/jcloud/blob/main/docs/_static/logo-light.svg?raw=true" alt="JCloud logo: the command line interface that simplifies deploying and managing Jina projects on Jina Cloud" width="80px">
        <br>
        <br>
        <br>
        <b>Simplify deploying and managing Jina projects on Jina Cloud</b>
        </p>
        
        <p align=center>
        <a href="https://pypi.org/project/jcloud/"><img alt="PyPI" src="https://img.shields.io/pypi/v/jcloud?label=PyPI&logo=pypi&logoColor=white&style=flat-square"></a>
        <a href="https://slack.jina.ai"><img src="https://img.shields.io/badge/Slack-2.7k%2B-blueviolet?logo=slack&amp;logoColor=white&style=flat-square"></a>
        </p>
        
        ☁️ **To the cloud!** - Smoothly deploy a local project as a cloud service. Radically easy, no brainfuck.
        
        🎯 **Cut to the chase** - One CLI with five commands to manage the lifecycle of your Jina projects.
        
        🎟️ **Early free access** - Sneak peek at our stealthy cloud hosting platform. Built on latest cloud-native tech stack, we now host your Jina project and offer computational and storage resources, for free!
        
        
        ## Install
        
        ```bash
        pip install jcloud
        jc -h
        ```
        
        ## Get Started
        
        ### Login
        
        ```bash
        jc login
        ```
        
        You can use Google/Github account to register and login. Without login, you can do nothing.
        
        ### Deploy a Jina Project
        
        In Jina's idiom, a project is a [Flow](https://docs.jina.ai/fundamentals/flow/), which represents an end-to-end task such as indexing, searching, recommending. In the sequel, we will use "project" and "Flow" interchangeably.
        
        A Flow can have two types of file structure:
        - **A folder**: just like a regular Python project, you can have sub-folders of Executor implementations; and a `flow.yml` on the top-level to connect all Executors together. You can create an example project folder via `jc new`. This is often used in **prototyping**.
        - **A single YAML file**: a self-contained YAML file, consisting of all configs at the Flow-level and [Executor](https://docs.jina.ai/fundamentals/executor/)-level. Note that, all Executors' `uses: ` must follow `uses: jinahub+docker://MyExecutor` (from [Jina Hub](https://hub.jina.ai)) or `uses: docker://your_dockerhub_org/MyExecutor` (from Docker Hub) to avoid any local file dependency. This is often used in **production**.
        
        
        #### Deploy a Flow from a folder
        
        ```bash
        jc new ./hello
        jc deploy ./hello
        ```
        
        #### Deploy a Flow from a single YAML
        
        The simplest `toy.yml` looks like the following:
        
        ```yaml
        jtype: Flow
        executors: {}
        ```
        
        ```bash
        jc deploy toy.yml
        ```
        
        
        Flow is succefully deployed when you see:
        
        <p align="center">
        <a href="https://jcloud.jina.ai"><img src="https://github.com/jina-ai/jcloud/blob/main/.github/README-img/deploy.png?raw=true" width="50%"></a>
        </p>
        
        You will get a 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 (feel free changing it to http or websocket), you can use `jina.Client` to access it:
        
        ```python
        from jina import Client, Document
        
        c = Client(host='grpcs://84b8b495df.wolf.jina.ai')
        print(c.post('/', Document(text='hello')))
        ```
        
        
        
        ### View logs
        
        To watch the logs in realtime.
        
        ```bash
        jc logs 84b8b495df
        ```
        
        ### Remove a Flow
        
        ```bash
        jc remove 84b8b495df
        ```
        
        ### Get the status of a Flow
        
        ```bash
        jc status 84b8b495df
        ```
        
        <p align="center">
        <a href="https://jcloud.jina.ai"><img src="https://github.com/jina-ai/jcloud/blob/main/.github/README-img/status.png?raw=true" width="50%"></a>
        </p>
        
        
        ### List all Flows on the cloud
        
        ```bash
        jc list
        ```
        
        You can only see the Flows deployed by you.
        
        <p align="center">
        <a href="https://jcloud.jina.ai"><img src="https://github.com/jina-ai/jcloud/blob/main/.github/README-img/list.png?raw=true" width="50%"></a>
        </p>
        
        
        <!-- start support-pitch -->
        ## Support
        
        - Check out the [Learning Bootcamp](https://learn.jina.ai) to get started with DocArray.
        - Join our [Slack community](https://slack.jina.ai) and chat with other community members about ideas.
        - Join our [Engineering All Hands](https://youtube.com/playlist?list=PL3UBBWOUVhFYRUa_gpYYKBqEAkO4sxmne) meet-up to discuss your use case and learn Jina's new features.
            - **When?** The second Tuesday of every month
            - **Where?**
              Zoom ([see our public events calendar](https://calendar.google.com/calendar/embed?src=c_1t5ogfp2d45v8fit981j08mcm4%40group.calendar.google.com&ctz=Europe%2FBerlin)/[.ical](https://calendar.google.com/calendar/ical/c_1t5ogfp2d45v8fit981j08mcm4%40group.calendar.google.com/public/basic.ics))
              and [live stream on YouTube](https://youtube.com/c/jina-ai)
        - Subscribe to the latest video tutorials on our [YouTube channel](https://youtube.com/c/jina-ai)
        
        ## Join Us
        
        JCloud is backed by [Jina AI](https://jina.ai) and licensed under [Apache-2.0](./LICENSE). [We are actively hiring](https://jobs.jina.ai) AI engineers, solution engineers to build the next neural search ecosystem in open-source.
        
        <!-- end support-pitch -->
        
Keywords: jcloud neural-search serverless deployment devops mlops
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Unix Shell
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Database :: Database Engines/Servers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
Classifier: Topic :: Scientific/Engineering :: Image Recognition
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
Provides-Extra: test
