/django-cloud-tasks

It's like Celery, but with Serverless Google Cloud products.

Primary LanguagePythonApache License 2.0Apache-2.0

Github CI Maintainability Test Coverage python

Django Cloud Tasks

APIs

The following APIs must be enabled in your project(s):

How it works

image

Project ID

In this order:

  • project_id parameter during client initialization
  • PROJECT_ID environment variable
  • project_id from credentials

Setup

As an application (when contributing)

  • Install packages:
    make dependencies
  • If you have changed the package dependencies in Pipfile:
    make update

As a package (when inside another application)

  • In the application's pyproject.toml, add the remote private repository and the package with version:
[packages]
django-google-cloud-tasks = {version="<version>"}
  • During development, if you wish to install from a local source (in order to test integration with ease):
    # inside the application
    poetry run pip install /<path>/<to>/<django-cloud-tasks>

Tests

To run tests:

make test

Version

Use Semantic versioning.