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
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.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for randomproto-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6041d609f87a7cd87e163134a10982c5dd1030692ecfac837808ac8b255cd922 |
|
MD5 | baebf9ed9dd96e2ac62b1d2faa107bec |
|
BLAKE2b-256 | 45231ef7071ad3095970d899deb06c73b8aee08e7560fb75ea51969653bcffef |