Skip to main content

Cloud Request Engine

51Degrees Python Pipeline Cloud Request Engine

Developer Documentation

Introduction

The Pipeline is a generic web request intelligence and data processing solution with the ability to add a range of 51Degrees and/or custom plug ins (Engines)

Requirements

  • Python 3.8+

This package fiftyone_pipeline_cloudrequestengine

This package uses the engines class created by the fiftyone-pipeline-engines. It makes available:

Credentials

The engine authenticates with a resource key, a licence key, or both, set as resource_key and license_key in its settings. Which one is set decides whether requested_properties, the list of fully qualified property names to ask for, is also needed:

resource_key license_key requested_properties Accepted
Yes No No Yes. The resource key states which properties it carries.
Yes Yes No Yes. The licence key adds the products it grants.
No Yes Yes Yes. A licence key names no properties, so the list says which are wanted.
No Yes No No. The service answers 400 to every such request.
Yes Either Yes No. The service ignores the list while a resource key is present.
No No Either No. There is nothing to authenticate with.

A combination that is not accepted raises ValueError when the engine is built, so a deployment sees one configuration error rather than a failure on every request. A value that is empty or only whitespace counts as absent, and each value is trimmed, so a key read from an environment variable with a trailing newline still works.

A resource key is public by design, because it travels to the browser in a script URL. A caller that runs only on the server should use a licence key and name the properties it wants, so the credential stays on the server and each answer carries only what that caller needs. A licence key is sent in the body of every request, never in a URL. Where a request named properties and the answer left some out, the engine warns once that they are not covered by the licence key; the properties that came back are usable as normal.

See the Credentials section of the cloud request engine specification and the rules in cloudrequestengine.py.

Pointing the engine at another host

The engine calls https://cloud.51degrees.com/api/v4/ unless told otherwise. Set the FOD_CLOUD_API_URL environment variable, or pass cloud_endpoint in the engine settings, to the API base of another host including the /api/v4/ segment. A host other than cloud.51degrees.com would be used to (a) use an on premise web server, or (b) use a privately hosted version of the 51Degrees cloud for performance reasons. This is the private hosting option of the cloud service, and both run the same service, so code written against one works unchanged against the other.

It is used by the cloud versions of the following 51Degrees engines:

Metadata

Release files for fiftyone-pipeline-cloudrequestengine 4.5.35

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

Source distribution (sdist)

Source distribution for fiftyone-pipeline-cloudrequestengine 4.5.35
File Size Uploaded
fiftyone_pipeline_cloudrequestengine-4.5.35.tar.gz 22.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fiftyone-pipeline-cloudrequestengine 4.5.35
File Interpreter ABI Platform
fiftyone_pipeline_cloudrequestengine-4.5.35-py3-none-any.whl Python 3 none any Details

Total release size: 41.9 kB

Release files / fiftyone_pipeline_cloudrequestengine-4.5.35.tar.gz

Download URL fiftyone_pipeline_cloudrequestengine-4.5.35.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
16dd73deeb6bab5a5e5a5fd7c72e20a24acf1f8047769efbb8e0699550e375a1
BLAKE2b-256 checksum
How to use checksums
8ae4b563d4cc9ddca036854b495f149b1bbb518b5fbe9eef33eb65b8125b1c76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / fiftyone_pipeline_cloudrequestengine-4.5.35-py3-none-any.whl

Download URL fiftyone_pipeline_cloudrequestengine-4.5.35-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf81514b9a6b1c13be17d15af61abdd7db9196accad4943c1fde922b243dde5c
BLAKE2b-256 checksum
How to use checksums
53c6edb091d2774d11b2f3c7a51530aaab319aaf43256f9e43dfc26a7fad8d94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

4.5.35 This release

2 release files

4.5.32

2 release files

4.5.31

2 release files

4.5.30

2 release files

4.5.28

2 release files

4.5.27

2 release files

4.5.26

2 release files

4.5.25

2 release files

4.5.24

2 release files

4.5.23

2 release files

4.5.22

2 release files

4.5.21

2 release files

4.5.15

2 release files

4.5.14

2 release files

4.5.13

2 release files

4.5.12

2 release files

4.5.9

2 release files

4.5.8

2 release files

4.5.7

2 release files

4.5.6

2 release files

4.5.5

2 release files

4.5.4

2 release files

4.5.3

2 release files

4.5.2

2 release files

4.5.1

2 release files

4.4.45

2 release files

4.4.43

2 release files

4.4.42

2 release files

4.4.9.0

1 release file

4.4.7.0

1 release file

4.4.6.0

1 release file

4.4.5

2 release files

4.4.4

2 release files

4.4.3

2 release files

4.4.2

2 release files

4.4.1

2 release files

4.4.0

2 release files

4.3.5

2 release files

4.3.4

2 release files

4.3.3

2 release files

4.3.2

2 release files

4.3.1

2 release files

4.2.1

2 release files

4.0.1

2 release files

4.0.0

2 release files

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