Show HN: BotFleet – Python bots with storage, transaction and locking support

1 points by aragvel ↗ HN
In my previous job, I had to deploy a lot of Python automation scripts and although AWS Lambda was useful, I needed something simpler. So the idea for BotFleet was born.

Here's how it works: create your Python script as you normally would. The only requirement is that the script includes a `def main` function, which will be executed. For data persistence, a dict-like `store` object can be imported from the botfleet package. Store supports transactions and locking.

A bot can either be scheduled for execution at specific times or executed manually by making a GET/POST request to its URL. The main function can optionally include a `request` parameter that will hold the HTTP request data. You can access this data via request.GET and request.POST.

Docs: https://botfleet.ai/documentation/ Tutorial: https://www.youtube.com/watch?v=L1UklZauyYs

0 comments

[ 3.2 ms ] story [ 11.7 ms ] thread

No comments yet.