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.1rc3.tar.gz
(2.6 kB
view hashes)
Built Distributions
Close
Hashes for randomproto-0.0.1rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1d3d4182ccc6cba910eb1bee3181738edc7bc5c19da506905e69a91d8be01ec |
|
MD5 | 1b449f972df035142bee9779a7df5130 |
|
BLAKE2b-256 | f584461c5712c463b2359acadab29adb574094fc8a3c9b6beaf838ac70f06226 |
Close
Hashes for randomproto-0.0.1rc3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c10fb944962776f67a3f233393648d3ed67c0765bf1cffd052ab4412afbe2972 |
|
MD5 | 325d1f0abec285e7b52cf36d9aaf1adf |
|
BLAKE2b-256 | a4e447b22094ea93bf8cf7099bc6e16be149d1aeba01e6929ef1e28b16965b98 |