🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

randomproto

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

randomproto

Random protobuf object generator

0.0.1
PyPI
Maintainers
1

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

Keywords

protobuf proto message random generate generator

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts