Skip to main content

Random protobuf object generator

Project description

randomproto: Random protobuf object generator

Refer to the documentation for API reference.

Installation

pip install randomproto

Usage

An example of pre-compiled Python file can be found in example2_pb2.py.

>>> import randomproto
>>> proto = example2_pb2.TypeMessage
>>> msg = randomproto.randproto(proto)
>>> msg
utm_source: "qv"
utm_medium: "dr"
utm_campaign: "sj"
bwp_lp: ""
usergroup: ""
step: -15511
cartTime: -61655
buyTime: 64308
searchTime: 59939
landingTime {
  value: 1533581008
  scale: MINMAX
}
stepsAfterBuy: 13140
lastSessionTime {
  value: 118924455
  scale: SECONDS
}
landingReferrerDomain: "n"
adGroupID: -30428
initiateCheckoutTime: 11859

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

randomproto-0.0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

randomproto-0.0.1-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file randomproto-0.0.1.tar.gz.

File metadata

  • Download URL: randomproto-0.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for randomproto-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3a6f3b92882be20fe49b3ba973ffc9be160d5aca803614a3f21c596b63092348
MD5 3299f9f0d218cd92127fd70d62614e8f
BLAKE2b-256 b62d5ba76ea64be8fe5ff8fc23746f2a907240bf7ea0a8faaa19c3d5407c3afc

See more details on using hashes here.

File details

Details for the file randomproto-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: randomproto-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for randomproto-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6041d609f87a7cd87e163134a10982c5dd1030692ecfac837808ac8b255cd922
MD5 baebf9ed9dd96e2ac62b1d2faa107bec
BLAKE2b-256 45231ef7071ad3095970d899deb06c73b8aee08e7560fb75ea51969653bcffef

See more details on using hashes here.

Supported by

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