Skip to main content

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

Metadata

Release files for randomproto 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for randomproto 0.0.1
File Size Uploaded
randomproto-0.0.1.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for randomproto 0.0.1
File Interpreter ABI Platform
randomproto-0.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 6.1 kB

Release files / randomproto-0.0.1.tar.gz

Download URL randomproto-0.0.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3a6f3b92882be20fe49b3ba973ffc9be160d5aca803614a3f21c596b63092348
BLAKE2b-256 checksum
How to use checksums
b62d5ba76ea64be8fe5ff8fc23746f2a907240bf7ea0a8faaa19c3d5407c3afc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

Release files / randomproto-0.0.1-py2.py3-none-any.whl

Download URL randomproto-0.0.1-py2.py3-none-any.whl
Size 3.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6041d609f87a7cd87e163134a10982c5dd1030692ecfac837808ac8b255cd922
BLAKE2b-256 checksum
How to use checksums
45231ef7071ad3095970d899deb06c73b8aee08e7560fb75ea51969653bcffef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page