python proto for sparksampling
Project description
protos for datasamplnig
install grpc_tools
pip install grpcio-tools
protobuf generate code for pyspark-sampling
python -m grpc_tools.protoc -I./pb --python_out=./sparksampling_proto/ --grpc_python_out=./sparksampling_proto/ ./pb/sampling_service.proto
cd ./sparksampling_proto/ && 2to3 -n -w * && cd -
publish
rm -rf build dist && python -m build
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
File details
Details for the file sparksampling_proto-0.3.0.tar.gz
.
File metadata
- Download URL: sparksampling_proto-0.3.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a56840352d064bc7aa6e4968dd3c94724c2dc89f7101d5bce5a6c58bf0bf628 |
|
MD5 | cfa88fa85e5e60f57e9162d0ece5b443 |
|
BLAKE2b-256 | 78118a41b9627d6b4099ee394fc3ed07575ecb72b2b885f6bed3d47b3af13078 |
File details
Details for the file sparksampling_proto-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: sparksampling_proto-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ee0c50c27b59da76d5d161f72edd833303929b39508acb48c0dcd0a5938feeb |
|
MD5 | aa7c8e006e46e2f7e44332fd158c7f79 |
|
BLAKE2b-256 | ff6562453e20afbe7c30c84fbd5f88a011281530ad77a30a792e55b7f8326aef |