Skip to content

automa/bot-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bot-python

Starter kit for Python bot for Automa

Please read the Bot Development docs to understand how an Automa bot works and how to develop it.

  • /automa endpoint is the receiver for the webhook from Automa
  • update function in app/update.py is the logic responsible for updating code.
  • AUTOMA_WEBHOOK_SECRET environment variable is available to be set instead of hard-coding it.

Production

Start the app in production mode:

PYTHON_ENV=production uv run fastapi run

Needs git to be installed on production.

Development

Start the app in development mode:

uv run fastapi dev

Testing

Run tests with:

uv run pytest

Stack

  • Uses uv as a package manager.
  • Uses fastapi as a server.

About

Starter kit for Python bot for Automa

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages