Skip to main content
https://travis-ci.org/crim-ca/Service.svg?branch=master

This package offers helper modules for Vesta services working in a distributed Service architecture. The work being executed by these services might be an annotation process or a form of conversion process taking a significant amount of time thereby benefiting from a distributed processing system with a REST interface.

Messages are communicated through a Celery distributed processing queue system. Celery can be configured to run with various backends such as RabbitMQ or Reddis. It is mainly meant to work with the Vesta Service Gateway .

Requirements / installation

This package uses Python version 2.x.x but should be compatible with Py3K. Tox tests are run regurlarly through the TravisCI on github. See the tox.ini configuration file.

You can install the package from the Python package index such as:

pip install VestaService

Alternatively one can install this package from source such as:

pip install git+https://github.com/crim-ca/Service

Which should install all requirements such as Celery.

You can also install from a cloned version.

See the documentation for pip for more installation use cases.

Contribution

Pull requests are most welcome. Please ensure you follow pep8 for any modifications.

Release notes

0.4.3

  • Upgraded Celery to 4.3.0

0.4.2

  • Really added Celery integration to sentry agent

0.4.1

  • Added Celery integration for sentry agent.

0.4.0

  • Uses sentry agent for bug reporting. See sentry documentation.

0.3.3

  • Changing version of requests to add flexibility.

0.3.2

  • Fix handling of service exception messages with UTF-8 content.

0.3.1

  • Add a Report class normalizing format of execution reports.

0.3.0

  • Add argument permitting annotation uploads in ZIP format.

0.2.3

  • Using the package requests[security] rather than requests to avoid download errors with python versions < 2.7.9

  • For the download, passing the timeout and the max_try in parameters. Using shutil.copyfileobj to write file on disk

0.2.2

  • When sending a task, queue name must be given.

0.2.1

  • Honors a new key value called callback_url which is called at the end of a task.

0.2.0

  • py3k compatible

0.1

  • First release

Metadata

Release files for VestaService 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for VestaService 0.4.3
File Interpreter ABI Platform
VestaService-0.4.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / VestaService-0.4.3-py2.py3-none-any.whl

Download URL VestaService-0.4.3-py2.py3-none-any.whl
Size 18.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8f81cf2dd4cf2fe6c8b1f74593acd51484fdd1ae8d0f3610099027342bb58fa8
BLAKE2b-256 checksum
How to use checksums
a63fc8d307a11ad523404ef82810c2628811fe889f07229319c91f43d26ba2ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6

Release history Release notifications | RSS feed

This release

0.4.3 This release

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page