data_pipeline_api 0.8.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,75 @@
1
+ Metadata-Version: 2.1
2
+ Name: data_pipeline_api
3
+ Version: 0.8.0
4
+ Summary: Python api to interact with the Fair Data Pipeline
5
+ Home-page: https://www.fairdatapipeline.org/
6
+ License: GNU General Public License v3.0
7
+ Keywords: FAIR Data Pipeline,FAIR,Data Management,Provenance
8
+ Author: Ryan J Field
9
+ Author-email: ryan.field@glasgow.ac.uk
10
+ Requires-Python: >=3.9,<4.0
11
+ Classifier: License :: Other/Proprietary License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Requires-Dist: PyYAML (>=6.0,<7.0)
18
+ Requires-Dist: matplotlib (==3.*)
19
+ Requires-Dist: requests (>=2.23.0,<3.0.0)
20
+ Requires-Dist: scipy (>=1.7.3,<2.0.0)
21
+ Project-URL: Issue Tracker, https://github.com/FAIRDataPipeline/pyDataPipeline/issues
22
+ Project-URL: Repository, https://github.com/FAIRDataPipeline/pyDataPipeline
23
+ Description-Content-Type: text/markdown
24
+
25
+ # pyDataPipeline
26
+
27
+ [![PyPI](https://img.shields.io/pypi/v/data-pipeline-api)](https://pypi.org/project/data-pipeline-api/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/data-pipeline-api)](https://pypi.org/project/data-pipeline-api/)
28
+ [![pyDataPipeline](https://github.com/FAIRDataPipeline/pyDataPipeline/actions/workflows/pyDataPipeline.yaml/badge.svg?branch=dev)](https://github.com/FAIRDataPipeline/pyDataPipeline/actions/workflows/pyDataPipeline.yaml)
29
+ [![codecov](https://codecov.io/gh/FAIRDataPipeline/pyDataPipeline/branch/dev/graph/badge.svg?token=Eax5AmrDxx)](https://codecov.io/gh/FAIRDataPipeline/pyDataPipeline)
30
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5562602.svg)](https://doi.org/10.5281/zenodo.5562602)
31
+ [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5461/badge)](https://bestpractices.coreinfrastructure.org/projects/5461)
32
+
33
+ Welcome to pyDataPipeline a Python api to interact with the Fair Data Pipeline.
34
+
35
+ Full documention of the pyDataPipeline is avaialable at [https://www.fairdatapipeline.org/pyDataPipeline/](https://www.fairdatapipeline.org/pyDataPipeline/)
36
+
37
+ ## Installation
38
+ pyDataPipeline can be installed from PyPi:
39
+ ```
40
+ pip3 install data-pipeline-api
41
+ ```
42
+
43
+ Or from the Repository:
44
+ ```
45
+ git clone https://github.com/FAIRDataPipeline/pythonFDP.git
46
+
47
+ git checkout dev
48
+
49
+ pip3 install -e .
50
+ ```
51
+ **NB. PyDataPipeline requires Python3.**
52
+
53
+ ## Example submission_script
54
+
55
+ Assume FDP_CONFIG_DIR, storage_locations and objects have been set by CLI tool
56
+
57
+ ```
58
+ import os
59
+ import fairdatapipeline as pipeline
60
+
61
+ token = os.environ['FDP_LOCAL_TOKEN']
62
+ config_dir = os.environ['FDP_CONFIG_DIR']
63
+ config_path = os.path.join(config_dir, 'config.yaml')
64
+ script_path = os.path.join(config_dir, 'script.sh')
65
+
66
+ handle = pipeline.initialise(token, config_path, script_path)
67
+
68
+ pipeline.finalise(token, handle)
69
+
70
+ ```
71
+
72
+ ## SEIRS Model Example
73
+
74
+ The SEIRS Model Example is available at: [https://www.fairdatapipeline.org/pyDataPipeline/examples/SEIRS.html](https://www.fairdatapipeline.org/pyDataPipeline/examples/SEIRS.html)
75
+
@@ -0,0 +1,14 @@
1
+ data_pipeline_api/__init__.py,sha256=maRO7gbh4J5Qn6gvh1CdzN5UCzXg75q9wROnCBhHm1s,752
2
+ data_pipeline_api/ext/SEIRSModelRun.py,sha256=hmMbmnRKPc5hGupf0I0d4Y30-piiddiJng-H2qGgAVM,1366
3
+ data_pipeline_api/ext/SEIRSconfig.yaml,sha256=-55cfmntbIHJ2hxnQIQaGBOSNY_4jAhTKv-WHc4fi3Y,959
4
+ data_pipeline_api/ext/SEIRSconfigWindows.yaml,sha256=7bY2hJtpnNwVnWp_PB66bQpm2QBGJGMOCyNG7EcTc5s,958
5
+ data_pipeline_api/ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ data_pipeline_api/ext/static_params_SEIRS.csv,sha256=o055O2XCvy9LwgmusmlVvhqK3IBPh9JJ5BD1R7E7qTo,100
7
+ data_pipeline_api/fdp_utils.py,sha256=DwKHrcTvonoK7jxEjqLQXDSWpz9gWgZAeaWOymj3yXw,16165
8
+ data_pipeline_api/link.py,sha256=6j6X-sDjcUsdRPz04VcE02Qso4FGrDhQ0JQwl_gz3LU,6697
9
+ data_pipeline_api/pipeline.py,sha256=mwC_jiDz0HmrGcoeRCPdqwq3wf8SVm9j1Rp0Yd6L1Yk,20759
10
+ data_pipeline_api/raise_issue.py,sha256=rIbFhi-xbWV6QIC4MuXkviw4aINLkj_H6z0ZKvoLetk,7799
11
+ data_pipeline_api-0.8.0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
12
+ data_pipeline_api-0.8.0.dist-info/METADATA,sha256=5a11QEO4rX-Q2wInVHWsuhXnPbf9ar6NDWTjQOR7EyU,3069
13
+ data_pipeline_api-0.8.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
14
+ data_pipeline_api-0.8.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: poetry-core 1.9.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any