A utility package for working with the EMP framework
Project description
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
Release history Release notifications | RSS feed
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.1-py3-none-any.whl
(17.8 kB
view hashes)