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.1rc4.tar.gz
(2.6 kB
view hashes)
Built Distributions
Close
Hashes for randomproto-0.0.1rc4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82469e893f47f5acccc9b24c4cb0410f2cc2f6d30e9ab5b3c771ea37651990e3 |
|
MD5 | ba0e4ef3f645802817a23a64c92121a1 |
|
BLAKE2b-256 | b375a1f774909409f8cc920e9cf0b941be3e7e714ca0b74848393f94bf11c7c7 |
Close
Hashes for randomproto-0.0.1rc4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb0f9fb877fa22edeebb5bc3b352dad95726f3f75cce061af3fc6e1c949815d |
|
MD5 | fe114f62e2a8d177c1a8d5eeff29f535 |
|
BLAKE2b-256 | 66596a7bf168f3a7f13d3b0a4619d606adb6c330dd76f9d215ceb579bb40ad0f |
Close
Hashes for randomproto-0.0.1rc4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05fda5c3a561352bf2ac6253aa3569458e335f7f717ca1099084fc8ef6c949f6 |
|
MD5 | e36fbb2510581ac6345d51eae2ca8c7a |
|
BLAKE2b-256 | 22b48b13e78a947d3123fd95e68ffa64a48d5ab05568ca4e0054f23650b54c07 |