Random protobuf object generator
Project description
randomproto: Random protobuf object generator
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
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
randomproto-0.0.1rc2.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for randomproto-0.0.1rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e68f974d2c79675166afe1029aa9c1c9dc424782bfb9969e7d9aba867c11e9c6 |
|
MD5 | 550476da50f6ee9bb014f44dde520182 |
|
BLAKE2b-256 | 9b22cb12b0e41c01dfa7da786292e6f1ddf8a18562ed952679029850e763c1da |