faktory
Python worker for the Faktory project
What it is and what it does
Faktory is a Python client and worker library for the Faktory job server, a language-agnostic background job processor. It lets you push jobs from Python code to a Faktory server for processing, or run a Python worker that consumes and executes those jobs. The worker supports concurrency via multiple processes (default) or threads, graceful shutdown, TLS encryption, password authentication, and can report worker status and errors back to the server.
The package has no external runtime dependencies and installs with low friction. However, it requires a separate Faktory server to be running and accessible over the network. The library is in Alpha status and maintenance is dormant—the last release was in April 2022 and the repository has not been updated since September 2023, meaning you should expect no active support for new Faktory versions or bug fixes.
Use it for:
- Run a Python worker that pulls jobs from a Faktory queue and executes them with configurable concurrency.
- Push background tasks to Faktory from a Python application for processing by any Faktory-compatible worker.
- Build a multi-language job processing pipeline where Python workers coexist with workers in other languages.
- Schedule delayed or retried jobs through Faktory with custom metadata from Python code.
- Monitor and control workers via Faktory's web UI while running Python job handlers.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python worker and client library for Faktory, a language-agnostic job server; lets you consume jobs from Faktory or push jobs to it for processing.
Yes, if you are already committed to running Faktory and need a Python worker or client. The package is simple, dependency-free, and works with current Python versions. However, do not adopt it for new projects expecting active maintenance—the dormant status and lack of updates since 2023 mean you will be on your own for compatibility issues with future Faktory releases or Python versions.
Install
faktory on PyPI
pip
pip install faktoryuv
uv add faktorypoetry
poetry add faktoryInstalling faktory
Before you install
Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2022-04-30 and the repository has not been updated since 2023-09-11, so expect no active bug fixes or feature development.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions; you may use and modify this package freely provided you include the license notice.
Quickstart
pip install faktory
from faktory import Worker
def your_function(x, y):
return x + y
w = Worker(queues=['default'], concurrency=1)
w.register('test', your_function)
w.run()
Requires Python 3.7 or later; requires a running Faktory server accessible via TCP (default localhost:7419).
Verify before relying
- Whether the package works reliably with Faktory versions beyond 1.0 given the dormant maintenance status.
- Current state of the Django integration mentioned as 'in progress' in the description.
- Whether pickling issues with decorated functions in multiprocessing mode are documented or resolved.
Package facts
| License | BSD (permissive) |
| Python support | supports the current Python release (>=3.7.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 1,567 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 405,536/month — #6,904 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: faktory-1.0.0-py3-none-any.whl
Keywords: faktory, worker
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
rqRQ is a Python library for queueing jobs and…
permissive · top 5,000 on PyPI
pgqueuerPgQueuer turns PostgreSQL into a background job…
permissive · top 15,000 on PyPI
arqarq provides a job queue system for Python that…
permissive · top 5,000 on PyPI
pyfunceble-process-managerProvides a multiprocess task queue framework…
permissive · top 15,000 on PyPI
taskiqTaskiq is an asynchronous distributed task…
permissive · top 5,000 on PyPI
dvc-taskdvc-task queues and runs background jobs from…
permissive · top 5,000 on PyPI
saqSAQ is an async job queue framework that runs…
permissive · top 15,000 on PyPI
lokyLoky provides a reusable ProcessPoolExecutor…
permissive · top 5,000 on PyPI
bounded-pool-executorWraps Python's ProcessPoolExecutor and…
permissive · top 15,000 on PyPI
wmillwmill is a Python client library for the…
permissive · top 5,000 on PyPI