Skip to main content

Fast Copilot framework, easy to learn, fast to code, fast to build a copilot for your applications.

Project description

FastCopilot

Example

from fastcopilot import Copilot


copilot = Copilot(api_key="your-api-key")

while True:
    ipt = input("Me: ")
    reply = copilot.run(ipt.strip())
    print(reply)

For asyncio

import asyncio

from fastcopilot import Copilot


copilot = Copilot(api_key="your-api-key")

def main():
    while True:
        ipt = input("Me: ")
        reply = await copilot.arun(ipt.strip())
        print(reply)

if __name__ == '__main__':
    asyncio.run(main())

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

fastcopilot-0.5.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

fastcopilot-0.5.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file fastcopilot-0.5.1.tar.gz.

File metadata

  • Download URL: fastcopilot-0.5.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for fastcopilot-0.5.1.tar.gz
Algorithm Hash digest
SHA256 2f30e107cad2761bb95ed6b5452a857076764f2ed5f933ffcc2b48def5307b18
MD5 e396cc81fb045d68e6a1ed1d16dbc323
BLAKE2b-256 a7be494e9493661bdc8c85fb2c6d39e5dd57586959d13de44a8030e28ba3a6c9

See more details on using hashes here.

File details

Details for the file fastcopilot-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: fastcopilot-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for fastcopilot-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27308fcca7979e30c39d1e2d43d8095ace94d651e54d6938de1b577a63c352d1
MD5 8dca4d4393310066d58cc700730f4918
BLAKE2b-256 08edd3e3e958075428c347713b2e4a3154ad1fc52a52ed2b1196da10a6594672

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