GithubHelp home page GithubHelp logo

wifasoi / wavedrompy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sergev/wavedrompy

0.0 2.0 0.0 278 KB

WaveDrom compatible python command line

License: MIT License

Shell 0.35% HTML 27.62% Python 72.03%

wavedrompy's Introduction

WaveDromPy

WaveDrom compatible python module and command line.

This tool is intended for people who don't want to install the Node.js environment just to use WaveDrom as simple command line.

This tool is a direct translation of original Javascript file WaveDrom.js to Python. No extra feature added.

WaveDromPy directly converts WaveDrom compatible JSON files into SVG format.

Build Status PyPI version

Usage

WaveDromPy can be called directly:

  wavedrompy source < input.json > svg < output.svg >

or via the wrapper script WaveDromEditor(.exe) for compatibility with the original WaveDrom command line:

  WaveDromEditor source < input.json > svg < output.svg >

WaveDromEditor is a script wrapper to be used with Linux. WaveDromEditor.exe is a script wrapper to be used with Cygwin.

Important notice

The command line uses Python's JSON interpreter that is more restrictive than that of original WaveDrom application.

  • All strings have to be written between quotes (""),
  • Extra comma (,) not supported at end of lists or dictionaries,
  • Only SVG output format supported so far,
  • WaveDromPy doesn't support the schematic drawing feature yet,
  • WaveDromPy was tested with Python V2.7.12 and Python V3.4.5 under both Cygwin and Ubuntu.

Installation

pip install wavedrom

AsciiDoctor example

An AsciiDoctor example is provided to directly generate timing diagrams from AsciiDoctor formatted documents.

wavedrompy's People

Contributors

breizhgeek avatar k4zuki avatar wallento avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.