Skip to main content

A utility package for working with the EMP framework

Project description

pipeline status

emputils

A utility package for working with the EMP framework

Installation

pip install emputils

PatternGenerator

A class for generating pattern files.

Example

First, define a function to generate data:

def generate():
    frames = []
    for i in range(200):
        frames.append("1v{:016x}.format(i)")
    return frames

Then generate pattern file

from emputils import PatternGenerator

pg = PatternGenerator(range(40,58))
for i, link in enumerate(pg.links.columns):
    pg.buildLink(link, generate())
pg.writeToFile("pattern.txt")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

emputils-0.1.15-py3-none-any.whl (19.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page