Skip to main content

Create LLM pipelines with ease!

Project description

J2pipeline

Installation

Create Python 3.12 virtual environment, activate it and run

pip install j2pipeline

Setup

J2pipeline requires an active TCP server listening on port 50027

Server:

  • Receives a prompt
  • Sends back AI response

Protocol:

  1. 16 bytes header (message length)
  2. Message (in UTF-8)

For example:

data: bytes = message.encode(encoding='UTF-8')
size: bytes = f'{len(data):16}'.encode(encoding='UTF-8')
server.send(size)
server.send(data)

License

J2pipeline is a free, open-source software distributed under the MIT License

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

j2pipeline-0.2.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

j2pipeline-0.2.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file j2pipeline-0.2.0.tar.gz.

File metadata

  • Download URL: j2pipeline-0.2.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for j2pipeline-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4cac442a059bdfb176ebcd1b863e238fe34796e2f7c5b408e2b7ec49451a7318
MD5 218c952854c50b7defd2bf7191ca0c97
BLAKE2b-256 2bb3d6e986f77f8719412f7a7c1b2437d59c2c7007fdb634d40b897ce6ee13a2

See more details on using hashes here.

File details

Details for the file j2pipeline-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: j2pipeline-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for j2pipeline-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e5a88533fb1d1cf469822f4f00a560e3dbef0f35f2d5556e67285cd47f37df7
MD5 16a4cc6fcd916df87d1ee50149492516
BLAKE2b-256 9fc70c9a9f7060ab7bc0e981b45efcb10844649b3430233ef3b1bec9ffb3426b

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