ParthS007 / Background
Runs things in the background.
Stars: ✭ 497
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Background
joobq
JoobQ is a fast, efficient asynchronous reliable job queue and job scheduler library processing. Jobs are submitted to a job queue, where they reside until they are able to be scheduled to run in a computing environment.
Stars: ✭ 26 (-94.77%)
Mutual labels: background-jobs, tasks, jobs
Sidekiq
Simple, efficient background processing for Ruby
Stars: ✭ 11,450 (+2203.82%)
Mutual labels: background-jobs, jobs
Flutter workmanager
A Flutter plugin which allows you to execute code in the background on Android and iOS.
Stars: ✭ 417 (-16.1%)
Mutual labels: background, background-jobs
dispatcher
Dispatcher is an asynchronous task queue/job queue based on distributed message passing.
Stars: ✭ 60 (-87.93%)
Mutual labels: tasks, jobs
josk
🏃🤖 Scheduler and manager for jobs and tasks in node.js on multi-server and clusters setup
Stars: ✭ 27 (-94.57%)
Mutual labels: tasks, jobs
Fennel
A task queue library for Python and Redis
Stars: ✭ 24 (-95.17%)
Mutual labels: background, jobs
celery.node
Celery task queue client/worker for nodejs
Stars: ✭ 164 (-67%)
Mutual labels: background-jobs, background
ex job
ExJob is a zero-dependency, ultra-fast, background job processing library.
Stars: ✭ 14 (-97.18%)
Mutual labels: background-jobs, jobs
Sidekiq Superworker
Directed acyclic graphs of Sidekiq jobs
Stars: ✭ 419 (-15.69%)
Mutual labels: background-jobs
Concurrencpp
Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
Stars: ✭ 340 (-31.59%)
Mutual labels: tasks
Android Hidden Camera
This library is to take picture using camera without camera preview.
Stars: ✭ 339 (-31.79%)
Mutual labels: background
Glci
🦊 Test your Gitlab CI Pipelines changes locally using Docker.
Stars: ✭ 471 (-5.23%)
Mutual labels: jobs
Vue Lazy Image Loading
Vue lazy image and background loading plugin.
Stars: ✭ 335 (-32.6%)
Mutual labels: background
Jobrunr
An extremely easy way to perform background processing in Java. Backed by persistent storage. Open and free for commercial use.
Stars: ✭ 331 (-33.4%)
Mutual labels: background-jobs
Aiojobs
Jobs scheduler for managing background task (asyncio)
Stars: ✭ 492 (-1.01%)
Mutual labels: jobs
.. image:: https://img.shields.io/pypi/pyversions/background.svg :target: https://pypi.org/pypi/background
.. image:: https://github.com/ParthS007/background/workflows/CI/badge.svg :target: https://github.com/ParthS007/background/actions
Background
It runs stuff in the background.
"An elegant decorator-based abstraction around Python 3's concurrent.futures ThreadPoolExecutor class"
— Simon Willison
This module makes it stupidly simple to run things in the background of your application, be it a CLI app, or a web app.
Basic Usage
.. code:: python
import time
import background
@background.task
def work():
# Do something expensive here.
time.sleep(10)
for _ in range(100):
work()
Advanced Usage
.. code:: python
import time
import background
# Use 40 background threads.
background.n = 40
@background.task
def work():
time.sleep(10)
return "Done!"
@background.callback
def work_callback(future):
print(future.result())
for _ in range(100):
work()
Installation
::
$ pipenv install background
✨🍰✨
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].