neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻譯準備中
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證A dashboard and control API for Celery background tasks — see, control, and pause single occurrences of periodic tasks. Works with Django, Flask, and FastAPI.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A dashboard and control API for Celery background tasks — for any Django, Flask, or FastAPI project that already uses Celery.
Documentation · Quickstart · PyPI
Point it at your existing Celery app and you get a web UI and a REST API to see what your tasks are doing, act on them, and — the feature this project exists for — pause or cancel a single future occurrence of a periodic task without touching your beat schedule or restarting anything.
Production adoption: the 0.2 guide covers external schedulers, OIDC, dispatch policies, bounded logs/results and storage isolation. The requirements roadmap tracks the real-project review and follow-ups.
celery_manager.report_progress(current, total, message) inside a task body and watch the bar move, with elapsed time and
a projected finish while the task is still running.logging output from inside a task body (and print()
too, in a real worker — see why),
attached to that run and readable in the dashboard.celery-manager migrate.viewer (read-only), operator (day-to-day controls) and
admin (purge, worker shutdown, settings), enforced on the server.celery-manager is an alpha, so pass --pre to pip:
pip install --pre celery-manager
With extras:
pip install --pre "celery-manager[standalone]" # adds uvicorn
pip install --pre "celery-manager[flask]" # adds Flask and a2wsgi
Alternatively, install a tagged release straight from git:
pip install "git+https://github.com/Pythondeveloper6/[email protected]"
(Extras with git: "celery-manager[standalone] @ git+https://github.com/Pythondeveloper6/[email protected]".)
Optional extras:
standalone — pulls in uvicorn, to run the dashboard on its own rather than
mounting it into an ASGI app you already serve.flask — pulls in Flask and a2wsgi, to mount the dashboard in a Flask
(WSGI) app; see Integrating with your app.celery-manager runs in two places, and both need configuring — this is the step most easily missed:
from celery_manager.config import CeleryManagerConfig
config = CeleryManagerConfig(
celery_app=your_celery_app,
db_url="sqlite:///celery_manager.db", # any SQLAlchemy URL
secret_key="a-real-secret-in-production",
)
1. The dashboard process — build the ASGI app and serve or mount it:
from celery_manager.api.app import create_app
app, _ = create_app(config) # then: uvicorn your_module:app
2. The Celery worker process — where @track-decorated tasks actually
run:
import celery_manager
celery_manager.setup(config) # at import time, in your tasks module
@app.task(bind=True)
@celery_manager.track(schedule_name="send-report-every-2-hours")
def send_report(self):
...
For per-occurrence skips, run beat with celery-manager's scheduler. It tags
each firing with its scheduled time, so a skip hits exactly that run, however
late it starts, and never a manual .delay():
celery -A your_module beat -S celery_manager.beat:Scheduler
Then run the events listener alongside your worker and beat, so the dashboard sees every task rather than only the decorated ones:
celery-manager events --celery-app your_module:your_celery_app \
--db-url sqlite:///celery_manager.db
The listener sees nothing unless workers emit events: set worker_send_task_events = True
and task_send_sent_event = True (or run the worker with -E). See
Required Celery settings.
Two things that stop people on a first run, both covered in the
Quickstart: there is no default account, so you have to
create one (celery-manager create-user admin --role admin --db-url ...); and on plain HTTP you
need cookie_secure=False, or you will log in successfully and then
immediately appear logged out.
Full documentation is at https://pythondeveloper6.github.io/celery-manager/ (source in docs/, an MkDocs Material site — run
mkdocs serve after pip install -e ".[docs]"):
@track decorator — wiring, skip/cancel, logs.Changes between versions — including what breaks for development builds —
are in CHANGELOG.md.
A complete runnable Django example is in
examples/django_demo/.
Shipped in 0.1.0a5: alerts, missed-run detection, Prometheus/OpenTelemetry metrics, sign-in with your app's users, user management in the dashboard, editing schedules from the UI, maintenance windows, a dead-letter view and data retention; and for Redis and RabbitMQ: broker health, queue wait time and depth history, delayed and stuck tasks, browsing waiting messages, and RabbitMQ management and dead-letter queues. Read the roadmap →
Python 3.10+, Celery 5.x. Storage defaults to SQLite with zero configuration
and swaps to Postgres/MySQL/anything SQLAlchemy supports via db_url.
This is an alpha, 0.1.0a5. It is feature-complete for the v1 scope,
but APIs may change before 0.1.0. See plan.md for the implementation history and the
backlog of known gaps and planned follow-ups.
MIT — see LICENSE.