Python library for interacting with Spark, Azure, Minio, and other data sources.
Project description
esbm-dis-dfts-pyeqx-core
Spark: 3.5.3
pre-requisites
to setup virtual environment to execute unit tests, it has to setup virtual env and install dependencies
# setup virtual env
python3.12 -m venv .venv
# activate virtual env
source .venv/bin/activate
# install dependencies
pip install delta-spark pyspark pandas retrying minio requests
# install dependencies (If you want to publish)
pip install twine
tests
to execute unit test run this command at root of the project
python3 -m unittest discover test -p "**.py"
# or
pytest
build
python3 -m pip install --upgrade build
python3 -m build
publish to testpypi
python3 -m twine upload --repository testpypi dist/*
publish to pypi
python3 -m twine upload dist/*
# specific config for pypi
python3 -m twine upload --config-file .pypirc dist/*
publish to gitlab
python3 -m twine upload --repository-url https://gitlab.com/api/v4/projects/<project_id>/packages/pypi/ --username gitlab-ci-token --password <access_token> dist/*
# Replace <project_id> with the ID of your GitLab project
install from gitlab
#install from pypi
pip install pyeqx-core
#install from testpypi
pip install -i https://test.pypi.org/simple/ pyeqx-core
# install from gitlab
pip install datadriven-core --index-url https://__token__:<access_token>@gitlab.com/api/v4/projects/<project_id>/packages/pypi/simple
pip install pyeqx-core --index-url https://__token__:<access_token>@gitlab.com/api/v4/projects/<project_id>/packages/pypi/simple
# Replace <project_id> with the ID of your GitLab project
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
pyeqx-0.7.17.tar.gz
(20.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyeqx-0.7.17-py3-none-any.whl
(22.8 kB
view details)
File details
Details for the file pyeqx-0.7.17.tar.gz.
File metadata
- Download URL: pyeqx-0.7.17.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbdf93e71cddedb18fc605a90d1488d3e40a1538038749bc5720b3d1969ac362
|
|
| MD5 |
c578fecce268eb060203a32d58744da2
|
|
| BLAKE2b-256 |
ae84e7d5f8d6ed675856a3367f60cb2014d25f31f3c4252b94eeca779c034ace
|
File details
Details for the file pyeqx-0.7.17-py3-none-any.whl.
File metadata
- Download URL: pyeqx-0.7.17-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b06ca9906e795f53201cc2d8693b06052d5d6836a6a23efc2ee6d887366c21d2
|
|
| MD5 |
f13217e314dc8588bffc3c2ba57a0781
|
|
| BLAKE2b-256 |
a1553b485d2ea861f93d3bc095e469138b53d3c324a3a5976c60a7fd3994f171
|