Skip to main content

Cycls SDK

Project description



Cycls



pip install cycls
from cycls import Cycls, Text

cycls = Cycls()

# sync app on https://cycls.com/@spark
@cycls("spark")
def spark_app(x):
    print("history", x.history)
    print("session id", x.id)
    return Text(x.content+" from spark")

# async app on https://cycls.com/@cake
@cycls("cake")
async def cake_app(x):
    print("history", x.history)
    print("session id", x.id)
    return Text(x.content+" from cake")

# publish to https://cycls.com
cycls.push()
  • Text renders markdown
  • Text is both streaming/bulk based on input

Try it live https://cycls.com/@groq

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

cycls-0.0.2.15.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

cycls-0.0.2.15-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file cycls-0.0.2.15.tar.gz.

File metadata

  • Download URL: cycls-0.0.2.15.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.13 Linux/6.5.0-1021-azure

File hashes

Hashes for cycls-0.0.2.15.tar.gz
Algorithm Hash digest
SHA256 844d7ea75ddced0539692149f0316ab3ab986c2988d502345fcbd1f08baf4f08
MD5 0fcd22b407cf79a540b852727013bcb0
BLAKE2b-256 3f3f844d821d83228b0f0c8c6672c1bb48ae7effcf9aa271554d434eca7a808b

See more details on using hashes here.

File details

Details for the file cycls-0.0.2.15-py3-none-any.whl.

File metadata

  • Download URL: cycls-0.0.2.15-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.13 Linux/6.5.0-1021-azure

File hashes

Hashes for cycls-0.0.2.15-py3-none-any.whl
Algorithm Hash digest
SHA256 4098183f4a0f0f0f5367c6df8185d631cf3d142b769f167dbaace4148b1adb22
MD5 460b890618f651466b10ddbd346810fb
BLAKE2b-256 c398d85b11e9eab778b1e7af3287d84b7d69746ca49923e47cb03dadd1715195

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