Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sparksampling_proto-0.3.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

sparksampling_proto-0.3.0-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page