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.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

sparksampling_proto-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file sparksampling_proto-0.1.0.tar.gz.

File metadata

  • Download URL: sparksampling_proto-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for sparksampling_proto-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2c85257c9d2b54f9fc03ab46a6741f8d89cec85acf81446b018c4792987a5db2
MD5 461b4ca2e7f1436cc955264460535ac5
BLAKE2b-256 4aa39cc13e2df66c23e3427572702fee5912bd8e32d2d9b59fe1eebec48762f5

See more details on using hashes here.

File details

Details for the file sparksampling_proto-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sparksampling_proto-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f280f7092cb0e34ae42f2c9ef6b6d88081770723a45a78d0e6f83a082c92c5eb
MD5 563843b1ecb20ebf27cd087d682c3461
BLAKE2b-256 6f83e770fb267f33ab6617de715df96c52cdf07510b095ac91cbda6ae570f12b

See more details on using hashes here.

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