Skip to main content

Python api to interact with the Fair Data Pipeline

Project description

pyDataPipeline

pyDataPipeline codecov DOI CII Best Practices

Welcome to pyDataPipeline a Python api to interact with the Fair Data Pipeline.

Full documention of the pyDataPipeline is avaialable at https://www.fairdatapipeline.org/pyDataPipeline/

Installation

pyDataPipeline can be installed from PyPi:

pip3 install data-pipeline-api

Or from the Repository:

git clone https://github.com/FAIRDataPipeline/pythonFDP.git

git checkout dev

pip3 install -e .

NB. PyDataPipeline requires Python3.

Example submission_script

Assume FDP_CONFIG_DIR, storage_locations and objects have been set by CLI tool

import os
import fairdatapipeline as pipeline

token = os.environ.get('FDP_LOCAL_TOKEN')
config_path = os.environ.get('FDP_CONFIG_DIR') + '/config.yaml'
script_path = os.environ.get('FDP_CONFIG_DIR') + '/script.sh'

handle = pipeline.initialise(token, config_path, script_path)

pipeline.finalise(token, handle)

SEIRS Model Example

The SEIRS Model Example is available at: https://www.fairdatapipeline.org/pyDataPipeline/examples/SEIRS.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

data_pipeline_api-0.7.5.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

data_pipeline_api-0.7.5-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file data_pipeline_api-0.7.5.tar.gz.

File metadata

  • Download URL: data_pipeline_api-0.7.5.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.4 Windows/10

File hashes

Hashes for data_pipeline_api-0.7.5.tar.gz
Algorithm Hash digest
SHA256 a15e585e35b7534c22ca431ff17a21b50baa0fa490774f5def81be74a0433005
MD5 4961042243ed750d814915dfaf7f74d6
BLAKE2b-256 fe8e7cded1a4a94e0f1fc7594344e017e866bfb5bc9644ec9bf21a01b9e2fe0b

See more details on using hashes here.

File details

Details for the file data_pipeline_api-0.7.5-py3-none-any.whl.

File metadata

  • Download URL: data_pipeline_api-0.7.5-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.4 Windows/10

File hashes

Hashes for data_pipeline_api-0.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1171c8cc37b1face2ed537d3c9865aac7de3102e7bc85400d88b3c7bc2d1593d
MD5 bad0568698a51e9bc6da44c09759f10d
BLAKE2b-256 954cd1780c3486963dd89b97f906a769cb36945ae2852f65c8957aaf94416fdc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page