lucafaggianelli/plombery
关于
带有易用 Web 界面的 Python 任务调度器
网站与应用开发可以做什么
- ⏰ Task scheduling based on APScheduler (supports Interval, Cron and Date triggers)
- 💻 Built-in Web interface, no HTML/JS/CSS coding required
- 👩💻🐍 Pipelines and tasks are defined in pure Python
- 🎛️ Pipelines can be parametrized via Pydantic
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Plombery
Python task scheduler with a user-friendly web UI
Official website »
GitHub
·
Report Bug
About The Project
Plombery is a simple task scheduler for Python with a web UI and a REST API, if you need to run and monitor recurring python scripts then it's the right tool for you!
This project is at its beginning, so it can be shaped and improved with your feedback and help! If you like it, star it 🌟! If you want a feature or find a bug, open an issue.
Features
- ⏰ Task scheduling based on APScheduler (supports Interval, Cron and Date triggers)
- 💻 Built-in Web interface, no HTML/JS/CSS coding required
- 👩💻🐍 Pipelines and tasks are defined in pure Python
- 🎛️ Pipelines can be parametrized via Pydantic
- 👉 Pipelines can be run manually from the web UI
- 🔐 Secured via OAuth2
- 🔍 Debug each run exploring logs and output data
- 📩 Monitor the pipelines and get alerted if something goes wrong
- 💣 Use the REST API for advanced integrations
When you shouldn't use it:
- you need a lot of scalability and you want to run on a distributed system
- you want a no-code tool or you don't want to use Python
Built With
🚀 Getting Started
Check the 👉 official website to get started with Plombery.
🎮 Try on GitHub Codespaces
Try Plombery with some demo pipelines on GitHub Codespaces:
Codespaces are development environments that run in the cloud so you can run a project without cloning it, installing deps etc, here's an how to:
- Go to the the lucafaggianelli/plombery GitHub page
- Click on the green Code button on the top right
- Choose the Codespaces tab
- Click on create new codespace from main or reuse an existing one
- A new page will open at
github.dev, wait for the environment build - Once your codespace is ready you'll see an interface similar to VSCode
- Some commands will be run in the terminal to build the frontend etc., wait for their completion
- If everything went well, Plombery home page will be open in a new browser tab
- Changes in the Python code will be immediately reflected in the web page, like if you were developing on your laptop
🧐 Show me the code
This is how it looks a minimalist pipeline:
🛣 Roadmap
See the open issues for a full list of proposed features (and known issues).
👩💻 Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Development
Plombery uses uv for Python and pnpm for the frontend. You'll need Python 3.10 or newer (uv installs one for you if you don't have it) and Node 22.12 or newer.
Clone a fork of this repo, then install the Python dependencies — uv creates the virtual environment for you:
uv sync
The frontend is a React app in frontend/, and the Python package serves its
build output, so build it once before running the app:
cd frontend/
pnpm install
pnpm build
Now run the example app, which registers a handful of demo pipelines.
--reload restarts Plombery whenever a file changes, and --reload-dir
adds the Plombery package itself to what's watched, so editing the library
restarts the app too:
cd examples/
plombery run --pipelines src --reload --reload-dir ../src
Open http://localhost:8000 and you'll find the demo pipelines, ready to run.
To work on the frontend, leave that running and start the Vite dev server in another terminal — it hot-reloads the UI and talks to the API on port 8000:
cd frontend/
pnpm dev
Documentation
The documentation website is based on MkDocs Material, the source code is in the
docs/ folder and the config is in the mkdocs.yml file.
To run a local dev server, run:
mkdocs serve
Testing
Tests are based on pytest, to run the entire suite just run:
pytest
To run a single file or a single test:
pytest tests/test_api.py
pytest tests/test_api.py::test_api_list_pipelines
To run tests coverage, run:
coverage run -m pytest
coverage report -m
The suite runs on every Python version Plombery supports, 3.10 to 3.14. Lint and format with:
flake8
black .
License
Distributed under the MIT License. See LICENSE.txt for more information.
Contact
Project Link: https://github.com/lucafaggianelli/plombery
Acknowledgments
Plombery is built on top of amazing techs:
Star History
探索相关项目
加载中…