A template for algorithm node
Project description
Algorithm Node Template For DataHub
PIP install
pip install datahub-algo-base
Source Install
- go get the source file Test-Pypi Pypi
- unzip datahub-algo-base-X.X.X.tar.gz
- cd source dir datahub-algo-base-X.X.X
- execute
python ./setup.py build python ./setup.py install
Build
python .\setup.py sdist bdist_wheel
## upload test.pypi.org
python -m twine upload -u __token__ -p pypi-AgENdGVzdC5weXBpLm9yZwIkZTlkMDNiNGMtZTAzMi00N2M4LTg0MTYtYmJiODNiZmU0NmE0AAIqWzMsImRkODRhMjdiLWQ2MDgtNDMyNi1hZTUyLWI4ZGM1OTgyNWM5NSJdAAAGIDqe93qMQUwOaIcx9VB60pbA9iEx-Wvuu47LTakSxAs0 --repository-url https://test.pypi.org/legacy/ dist/*
## upload pypi.org
python -m twine upload -u __token__ -p pypi-AgEIcHlwaS5vcmcCJGI5MWRjMzVhLWVmZWItNGEzYS05MjdmLWYxODVhZTk4YTczNAACKlszLCJmYTQ4NDcxMi1mNTcyLTQ1ZWQtYWQ5OC1lOWE1OTExYjgxMjIiXQAABiDmSDOT8WB_QK8sPyuD6AdzAB5M3ebEij7nAKZPcW2--g dist/*
Algo Developer
before you create your algo, you need to install the latest base package
pip install datahub-algo-base
after you debug your code, you can compress code by following shell:
tar --exclude='venv' --exclude='dataHubPy*' --exclude='*idea' -cvzf ../test_ay_algo.tar .
and then upload package onto main page;
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
Built Distribution
Close
Hashes for datahub_algo_base-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a04f59f59b45f58428c6ac1110701223649ef48e8040206f77f82586b5a899a5 |
|
MD5 | 77690e57f4d3f73f2baa81fc06d10f90 |
|
BLAKE2b-256 | f81b1767f62fbab9aedd0a4d33d97c257932d6c11e925a5ce193af80e30c7e95 |