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.1a5.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.1a5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pipium_connect-0.0.1a5.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.1a5.tar.gz
Algorithm Hash digest
SHA256 dccefe3e815b114a9c5249b67f6c04464749e7410f79e213a452d27cf3a2d8de
MD5 8da6793acf6e15696482afaf039e1c87
BLAKE2b-256 1675238b5a2b6e1c24109d3c18a57ee9803c84f23ccb7ea4e87683681ad61918

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pipium_connect-0.0.1a5-py3-none-any.whl
Algorithm Hash digest
SHA256 c13ff5ec10758bd0e2c02b0f9f974aac1409904f7029569d62987276122bd82b
MD5 6102af253f1b973eb1da78247b7c1f14
BLAKE2b-256 e03d2c8e28628ae72c3725c150346175da14303757703e30d16732fcc6c49612

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