marrow / task Goto Github PK
View Code? Open in Web Editor NEWA high-performance contender for asynchronous task execution; simpler to use than Celery.
License: MIT License
A high-performance contender for asynchronous task execution; simpler to use than Celery.
License: MIT License
Allow scheduling of tasks for execution using the Futures API, to allow for easy drop-in migration.
concurrent.futures
utilities such as as_completed
. See #4.pip install marrow.task doesn't work :-]
Wrap Task instances in a Future-compatible API. These are what will be returned by the Executor-compatible object when scheduling tasks.
Utilize Futures task pooling (configurable thread or process pool) to schedule tasks for execution as they arrive. Use MongoDB atomic locking to ensure only one instance of the runner actually executes the task.
console_scripts
entry point that when started configures logging, database connections, and Futures executor via YAML, then blocks forever waiting on new tasks.Construct a light-weight and elegant API for requesting local, deferred, or scheduled execution of callable objects.
marrow.package
for callable path canonicalization and resolution.wrapt
-based decorator suitable for optional deferring by default of functions and class methods; default is to not defer. (See examples.)Allow three forms of execution:
If the callable is a standard one (i.e. not a generator) when the function returns the value would be $set
on the Task and a message emitted. If the function is a generator, $push
each value to the result in the Task and send a message per yielded chunk, submitting all "completion callbacks" once for each chunk. If the callable is a generator, attempting to get the result of execution client-side would return a wrapper object (passing the timeout through) which is iterable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.