Parser for Data Flow Description Schema (DFDS) metadata
Project description
PyDFDS
PyDFDS is a parser for Data Flow Description Schema (DFDS) metadata, written using Python.
Installation
python -m pip install -U -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ streaminghub-pydfds
Usage
import dfds
datasource_spec = dfds.get_datasource_spec("name_of_datasource")
dataset_spec = dfds.get_dataset_spec("name_of_dataset")
analytic_spec = dfds.get_analytic_spec("name_of_analytic")
dfds.create_outlet_for_stream(
"some_unique_id",
"device_info_from_datasource_metadata",
"stream_info_from_datasource_metadata"
)
Developer Guide
# create a virtual environment
python -m venv ~/.virtualenvs/pydfds
# activate virtual environment
source ~/.virtualenvs/pydfds/bin/activate
# install pip tools
python -m pip install --upgrade pip-tools
# generate requirements.txt
pip-compile -o requirements.txt pyproject.toml
pip-compile --extra dev -o requirements.dev.txt pyproject.toml
# install dependencies
pip-sync requirements.txt requirements.dev.txt
# update version (--patch or --minor or --major)
bumpver update --patch
# build package
python -m build
# check package
python -m twine check dist/*
# publish package (testpypi)
python -m twine upload -r testpypi dist/*
# publish package (pypi)
python -m twine upload dist/*
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
Close
Hashes for streaminghub-pydfds-0.1.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f3c75897bd5565c2768873b6fb0dcf7c5f838e015732bcb805b4033a7e1e0a2 |
|
MD5 | f6ce89e8ad1e06d08537a9d9d351e90b |
|
BLAKE2b-256 | 67f8f688fdaa361154a70112a5e65dc9a0f0d7661ed4cf4ca16a3c6429850d33 |
Close
Hashes for streaminghub_pydfds-0.1.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 031d625c6fb7f017e5be4eb88fcfea64b6e730b2c1e654a2d2e15cefbcd8fc49 |
|
MD5 | d959e708bad1c929777305a6eaed3e32 |
|
BLAKE2b-256 | 2bac769f5edd3f6c0af6028bccfcd9f5da419208575bdd06cebdedcd8fe051c3 |