Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
michielme
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Show HN: FlowWatch – Decorator-first file watcher for Python workflows
(github.com)
1 points
by
michielme
8mo ago
|
0 comments
2.
▲
by
michielme
8mo ago
Good point. Right now it relies on FastAPI's dependency injection — you can wrap the router with your own auth middleware or add dependencies when including it. But I should add an example to the docs. Thanks for the nudge.
3.
▲
by
michielme
8mo ago
Really appreciate you sharing this setup. The cron file generation for persistence is clever, and the whitelisting approach for user-defined jobs makes a lot of sense. Might borrow some of these ideas if I add a UI for job creation. Thanks!
4.
▲
by
michielme
8mo ago
Interesting idea. Right now jobs are code-only which keeps it simple, but a UI for defining basic jobs could work. I'll think about it.
5.
▲
by
michielme
8mo ago
Fair point. Cron works fine for standalone scripts. This is more for when you want scheduled tasks inside an existing Python app without spinning up separate infrastructure.
6.
▲
by
michielme
8mo ago
APScheduler is solid and more mature. Main difference is the API — FastScheduler is decorator-first so you get @scheduler.daily.at("09:00") instead of configuring triggers, executors, and job stores separately. Also has a built-in
7.
▲
by
michielme
8mo ago
Definitely open to PRs! Still early days so lots of room for improvement. Feel free to open an issue if you have ideas.
8.
▲
by
michielme
8mo ago
Thanks! Yeah that's exactly the use case — when you just need something scheduled without setting up a whole stack.
9.
▲
Show HN: FastScheduler – Decorator-first Python task scheduler, async support
(github.com)
46 points
by
michielme
8mo ago
|
14 comments