The 51Degrees Pipeline API 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). This package definds the essential components of the Pipeline API such as flow elements, flow data and evidence. It also packages together JavaScript served by a pipeline and allows for client side requests for additional data populated by evidence from the client side.
Project description
Python Pipeline Core
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)
This package fiftyone_pipeline_core
This package definds the essential components of the Pipeline API such as flow elements
, flow data
and evidence
. It also packages together JavaScript served by a pipeline and allows for client side requests for additional data populated by evidence from the client side.
It can be used on its own or with the following additional packages.
- fiftyone_pipeline_engines - Adds a specialized type of flow element called an engine which allows for additional features including an auto-updating data file for properties, a service called when a requested property is missing and a caching system.
Engines created by 51Degrees including:
- fiftyone_devicedetection - A device detection engine
- fiftyone_location - A geolocation lookup engine
Make use of the above along with the following additional packages:
- fiftyone_pipeline_cloudrequestengine - An engine used to make requests to the 51Degrees cloud service.
Requirements and installation
- Python 2.7 or Python 3
- The
flask
python library to run the web examples
Running tests and examples
To run tests:
- Run
python -m unittest discover -s tests -p test*.py
To run the web examples:
Linux
Execute export FLASK_APP=
with the name of the web example file, then flask run
.
Windows
Execute $env:FLASK_APP = "x"
with the name of the example file, then flask run
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fiftyone_pipeline_core-4.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | edce3d75469279db909e6e378483634fe2edc4f4d62c949e2cc10e2114c97504 |
|
MD5 | 6744279beaffad56dbaa49c2414fddb1 |
|
BLAKE2b-256 | 17d90403e186ed4d81361d077afde2594f0bc672afc0f113ec967f5485ca9548 |
Hashes for fiftyone_pipeline_core-4.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c386b20f861ee53b8ac8fbcf2e32b695c4246e78e29077b370e52c50b30b0ee0 |
|
MD5 | 52c2a3e3e7099dd70091093551a78ebf |
|
BLAKE2b-256 | 2fccfd956d0e0c2f04e33e076404e96524baf17531b2e135c125c8bc7a5a9759 |