Skip to main content

Connect to Pipium

Project description

Pipium Python connect

This is the package that connects Python models with the Pipium platform.

Installation

pip install pipium-connect

Code

from pipium_connect import connect

connect(
    "your-securely-stored-api-key",
    {
      "hello_world": {
          "name": "Hello world!",
          "run_sync": lambda input: "Hello " + input["text"],
          "types": {
              "inputs": ["text/plain"],
              "output": "text/plain",
          },
      },
    }
)

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

pipium_connect-0.0.1a6.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

pipium_connect-0.0.1a6-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pipium_connect-0.0.1a6.tar.gz.

File metadata

  • Download URL: pipium_connect-0.0.1a6.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pipium_connect-0.0.1a6.tar.gz
Algorithm Hash digest
SHA256 dcc9cb740d1283755c1a88ca6685e71a0a12269eaada3d417f6bbb2c77df56d7
MD5 7c0083c7059b31bd7050cacf3e5a1661
BLAKE2b-256 918a09ddb71334753ef7b11f71c97aed3a55ff9f1ff1fbb9c5908cb7c155206f

See more details on using hashes here.

File details

Details for the file pipium_connect-0.0.1a6-py3-none-any.whl.

File metadata

File hashes

Hashes for pipium_connect-0.0.1a6-py3-none-any.whl
Algorithm Hash digest
SHA256 3df9998a624676a88fc61a41d1c9a2c0e26e61f9e6ddef17cdc96e25c3c996ca
MD5 d40a31df950f84c7251560abcaacbc37
BLAKE2b-256 22e9a58b72776c5d1c09355e25ecc20c35bae0a66b9c9ba724f38b911e70f514

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