Metadata-Version: 2.1
Name: randomproto
Version: 0.0.1rc4
Summary: Random protobuf object generator
Home-page: https://github.com/yupingso/randomproto
Author: Yu-Ping Wu
Author-email: yupingso@gmail.com
License: UNKNOWN
Keywords: protobuf proto message random generate generator
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
Requires-Dist: protobuf (>=3.6.0)

# randomproto: Random protobuf object generator
Refer to the [documentation](https://randomproto.readthedocs.io/en/latest/) for API reference.

## Installation
`pip install randomproto`

## Usage
An example of pre-compiled Python file can be found
in [example2_pb2.py](https://raw.githubusercontent.com/yupingso/randomproto/master/tests/example2_pb2.py).
```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
```


