Giter Club home page Giter Club logo

rusty-celery's Introduction



Build License Crates Docs

A Rust implementation of the Celery protocol, fully compatible with Python workers and producers.

Inspired by, well... Celery, but also batch-rs especially for it's awesome macro implementation.

Features

  • Send tasks from Python to Rust or vice versa โ†”๏ธ
  • Use provided brokers and backends or implement your own ๐Ÿ”ง
  • Natural async / await interface ๐ŸŽ‡
  • Easily customizable with callbacks โ˜Ž๏ธ
  • High performance and safe ๐Ÿ”ฅ ๐Ÿ”ฅ ๐Ÿ”ฅ

Examples

The ./examples directory contains a simple Celery app that is implemented in both Python and Rust using an AMQP broker. Before running the examples you'll need to set the environment variable AMQP_ADDR to your broker URL.

Then send a task from Python to Rust by running

bash ./examples/python_to_rust.sh

Similary, send a task from Rust to Python by running

bash ./examples/rust_to_python.sh

Missing features

Rusty Celery is still in the early stages and therefore there are several features of the Celery protocol that are still missing. To see what's currently missing search for issues with the label "Protocol Feature".

Contributing

We welcome contributors! If you're interesting in contributing, a good place to start would be any issue marked with the label "Status: Help Wanted".

Team

Rusty Celery is an open source project backed by Structurely. Structurely is a start-up building customizable AI inside sales agents.

rusty-celery's People

Contributors

epwalsh avatar tjhall13 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.