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.14.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cycls-0.0.2.14.tar.gz
  • Upload date:
  • Size: 4.4 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.14.tar.gz
Algorithm Hash digest
SHA256 583089e48572aac296d825cbc00f3888a484c484ac63ef323915301e29e21dd4
MD5 c11e23e89d9dcc26785d598280d82a9a
BLAKE2b-256 79087ce88bd767bb8d227eef7ff87f7a0a1e4c40c52dfc4cb941475f1f35514a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cycls-0.0.2.14-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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 82e9b0df437f2a02de4715fa5e9f7636c07610622144ae6f59994e31ad7f962b
MD5 cd9b86b2adeccffb6b9f8a17b3a4c9ae
BLAKE2b-256 0ad87c2bcfa9cfb405651ebddcb6c1a8ebfa4953ba85aa35fc0419c1d7f4bf9a

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