Skip to main content
Pattern Generator V1.0.0
Initial version

Generates a byte array of given length with fixed values, random data or running byte sequence.
A start offset, minimum and maximum value of the running byte sequence can be changed by parameters.
All pattern types support 2 bytes of pattern length in front which can be switched on and off.

Example:

patGen = PatternGenerator()
patGen.set_random(True, 10)
data = patGen.get_data_pattern()
for i in data:
print(hex(i))

patGen.set_value(True, 1024, 0xaa)
data = patGen.get_data_pattern()
for i in data:
print(hex(i))

patGen.set_running_byte(False, True, 1, minValue=0x00, maxValue=0x1F)
for i in range(20):
print("Data",i+1)
data = patGen.get_data_pattern(numData = i+1)
for i in data:
print (hex(i))

V1.0.1
Bugfix: Running byte generator didn't generate a pattern of 128 bytes on special circumstances

Metadata

Release files for Pattern_Generator 1.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 Pattern_Generator 1.0.1
File Size Uploaded Provenance
Pattern_Generator-1.0.1.tar.gz 2.0 kB Without provenance Details

Release files / Pattern_Generator-1.0.1.tar.gz

Download URL Pattern_Generator-1.0.1.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e05a10a3a709286ffbc15924550f642078f94de25ff639e23e4858a721cedc30
BLAKE2b-256 checksum
How to use checksums
eb0dbbda1b8a2e774758e624148554d90bdf126b85dd8af7a2909322b5760395
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Pattern_Generator 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

1.0.0

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