{"id":33230144,"url":"https://github.com/wichert/pyramid_rq","last_synced_at":"2025-11-21T11:03:01.749Z","repository":{"id":3191882,"uuid":"4224711","full_name":"wichert/pyramid_rq","owner":"wichert","description":"Support using the rq queueing system with pyramid","archived":true,"fork":false,"pushed_at":"2016-06-30T08:46:58.000Z","size":140,"stargazers_count":9,"open_issues_count":2,"forks_count":8,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-04-10T05:00:55.822Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wichert.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-04T12:48:11.000Z","updated_at":"2024-02-06T10:26:05.000Z","dependencies_parsed_at":"2022-09-10T23:02:22.199Z","dependency_job_id":null,"html_url":"https://github.com/wichert/pyramid_rq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wichert/pyramid_rq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpyramid_rq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpyramid_rq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpyramid_rq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpyramid_rq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wichert","download_url":"https://codeload.github.com/wichert/pyramid_rq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpyramid_rq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285603342,"owners_count":27200013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-21T02:00:06.175Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-11-16T17:00:42.349Z","updated_at":"2025-11-21T11:03:01.744Z","avatar_url":"https://github.com/wichert.png","language":"Python","funding_links":[],"categories":["Task Queue"],"sub_categories":[],"readme":"Integration rq with pyramid\n===========================\n\nThis package makes it possible to use the `RQ \u003chttp://python-rq.org/\u003e`_\njob queueing library in `Pyramid\n\u003chttp://www.pylonsproject.org/projects/pyramid/about\u003e`_ applications.\nSpecifically it does three things:\n\n1. allow configuring the redis connection in your ``.ini``-file \n2. make sure the redis connection used by RQ is appropriate for the\n   Pyramid application, even if you are running multiple differently\n   configure Pyramid applications within the same process.\n3. provide a replacement for the standard RQ worker which runs all\n   tasks in a fully configured Pyramid environment.\n\n\nHow to use pyramid_rq\n=====================\n\nUsing pyramid_rq is very easy. The first thing you need to do is add\n``pyramid_rq`` to the list of required packages in your ``setup.py``\nfile::\n\n    setup(name='my_package',\n          ...\n          install_requires=['pyramid_rq'],\n          ...\n          )\n\nAfter doing this you will need to reinstall/develop your application or, if\nyou are using buildout, rerun buildout.\n\nThe next step is to configure RQ in your application. In your startup code\nsimply add this line::\n\n    config.include('pyramid_rq')\n\nAnd that is everything! This will setup a default configuration that\nassumes you are using a local redis server.\n\n\nConfiguration\n=============\n\nThe default configuration assumes that you are using a local redis server\nlistening on its default port. If your environment is different you can\nspecify a different configuration in your ``.ini``-file. This is done using\nthree options:\n\n``rq.redis.host`` or ``redis.host``\n   The hostname for the redis server. If not specified defaults to\n   ``localhost``.\n\n``rq.redis.port`` or ``redis.port``\n   The TCP port used to connect to the redis server. Defaults to 6379.\n\n``rq.redis.db`` or ``redis.db``\n   The redis database nmber to use. If not specified this defaults to 1.\n\nAll configuration options are available under two keys: either prefixed\nby ``rq.redis`` or by ``redis``, prefering the ``rq.redis`` key if\npresent. This is done to allow using the redis configuration in other\nplaces as well, while also making it possible to use a different redis\nconfiguration for RQ.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwichert%2Fpyramid_rq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwichert%2Fpyramid_rq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwichert%2Fpyramid_rq/lists"}