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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file emputils-0.1.15-py3-none-any.whl.

File metadata

  • Download URL: emputils-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1.post20200323 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for emputils-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 f249d4700c1fb5a0745aaf55f451e63fa15e3dace3f5174a95c04ffab573472e
MD5 0daed2def901221d44fbbb46f62a427d
BLAKE2b-256 d261dfdcec643f975cbb902e17a60043f9eabd5841018e3b672ecb6ef198004a

See more details on using hashes here.

Supported by

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