{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/4"}],"enrichment":{"capability":"Integrates Celery task queuing with multi-tenant Django applications to run asynchronous tasks within isolated tenant schemas, automatically managing schema context across task execution.","skillfed_tags":["multi-tenant","task-queue","celery-integration"],"use_cases":["Run background jobs (email, reports, cleanup) for each tenant independently without cross-tenant data leakage.","Schedule periodic maintenance tasks across all tenants using celery beat.","Execute long-running operations asynchronously while preserving tenant isolation and schema context.","Store periodic task definitions per-tenant in the database for dynamic scheduling.","Cache tenant objects across task retries to reduce database queries in high-frequency scenarios."],"what_it_does":"tenant-schemas-celery bridges Celery and multi-tenant applications by automatically injecting the current tenant's schema name into task arguments and restoring the correct schema context when tasks execute. This allows background jobs to operate safely within isolated tenant databases without manual schema switching. The package provides a drop-in CeleryApp subclass and a TenantTask base class that transparently handle schema context, plus optional schedulers for celery beat that iterate over all tenant schemas to run periodic tasks in each one.\n\nThe package supports multiple databases, tenant object caching to reduce refetch overhead, and database-driven periodic task scheduling. It requires Python >=3.11 and Celery >=5. The codebase is stable and rarely updated, but maintainers respond quickly to issues.","worth_installing":"Yes\u2014if you use Celery with multi-tenant applications. The package is actively maintained, has no known vulnerabilities, low install friction, and solves the non-trivial problem of schema context management across async task boundaries. The MIT license imposes no restrictions. Install only if you are already committed to both Celery and a multi-tenant architecture; it adds no value as a standalone tool."},"id":"tenant-schemas-celery","links":{"html":"https://skillfed.io/packages/tenant-schemas-celery","md":"https://skillfed.io/packages/tenant-schemas-celery.md","pypi":"https://pypi.org/project/tenant-schemas-celery/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-01","license_spdx":null,"license_treatment":"permissive","name":"tenant-schemas-celery","python_support":"supports_current","summary":"Celery integration for django-tenant-schemas and django-tenants"},"popularity":{"monthly_downloads":213292,"position":9441,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.0.0"}
