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_core-0.7.17.tar.gz
(30.9 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
File details
Details for the file pyeqx_core-0.7.17.tar.gz.
File metadata
- Download URL: pyeqx_core-0.7.17.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09584952e666565174ec049f42fca87f5046939b1378a77fd84a78b83c837e9e
|
|
| MD5 |
681a4fc6176a38971768c8ba6722a587
|
|
| BLAKE2b-256 |
dcc57fe10cf2dd0a22e77092de650627966911c7ebfde5a1d428368073f6f68f
|
File details
Details for the file pyeqx_core-0.7.17-py3-none-any.whl.
File metadata
- Download URL: pyeqx_core-0.7.17-py3-none-any.whl
- Upload date:
- Size: 47.1 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 |
4dc3b98f8ef78f519d8754db5dd103371d2e22c873a55f7ec3a4b6dcd4306082
|
|
| MD5 |
3c91df876c9c1df4d18dd0338a010d22
|
|
| BLAKE2b-256 |
09f98ce0006d41af612174d09d5926705d29f4b77077809caa5a5d32c509c5a4
|