Skip to main content

Jinad is the daemon tool for running Jina on remote machines. Jina is the cloud-native neural search solution powered by the state-of-the-art AI and deep learning

Project description

Jina banner

An easier way to build neural search in the cloud

Jina Python 3.7 3.8 PyPI Docker Image Version (latest semver) CI CD codecov

jinad - The Daemon to manage Jina remotely

jinad is a REST + Websockets based server to allow remote workflows in Jina. It is built using FastAPI and deployed using Uvicorn.


Jina Docs: https://docs.jina.ai/

JinaD API Docs: https://api.jina.ai/jinad


Set up:

Pypi:

On Linux/macOS with Python 3.7/3.8:

pip install -U jinad && jinad
Docker Container:
docker run -p 8000:8000 jinaai/jinad
Systemd:

Debian / Ubuntu:

curl -L https://raw.githubusercontent.com/jina-ai/jinad/main/scripts/deb-systemd.sh | bash

RPM:

to be added

Use Cases:

Start jinad on a remote machine - 1.2.3.4:8000

1: Create Remote Pod in a Flow

f = (Flow()
     .add(name='p1', uses='_logforward')
     .add(name='p2', host='1.2.3.4', port_expose='8000', uses='_logforward')
with f:
     f.search_lines(lines=['jina', 'is', 'cute'], output_fn=print)

2: Create Remote Pod using Jina CLI

jina pod --host 1.2.3.4 --port-expose 8000 --uses _logforward

3: Create a Remote Flow

curl -s --request PUT "http://1.2.3.4:8000/v1/flow/yaml" -H  "accept: application/json" -H  "Content-Type: multipart/form-data" -F "uses_files=@helloworld.encoder.yml" -F "uses_files=@helloworld.indexer.yml" -F "pymodules_files=@components.py" -F "yamlspec=@helloworld.flow.index.yml"

Project details


Download files

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

Source Distribution

jinad-0.0.7.tar.gz (17.9 kB view details)

Uploaded Source

File details

Details for the file jinad-0.0.7.tar.gz.

File metadata

  • Download URL: jinad-0.0.7.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.9

File hashes

Hashes for jinad-0.0.7.tar.gz
Algorithm Hash digest
SHA256 751d9ccec905de9318a1d07ff6c20452d06362e4ab8ee27b8ce4a35bac755085
MD5 139a5c0780d966bc37e7d57d2c717ac2
BLAKE2b-256 db9a054516b8ed0fbec6d01c0c723570e74061c2a7bd2ac4c762094e27f440a4

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