Giter Site home page Giter Site logo

mau's Introduction

Modular Application Utilities

mau is a modular python library containing utilities for building front-end applications as part of the Yosys ecosystem. The goal is to avoid duplicating similar functionality in different front-end tools, by providing a common high-quality implementation.

This is currently an early work in progress.

Development Setup

To install the library in development mode, including all dev-dependencies run:

make dev-install

This invokes python3 -m pip install -e '.[dev]' and thus works fine within a virtual environment. It does require a fairly recent version of pip, so if it complains about a missing setup.py run this first:

python3 -m pip install --upgrade pip

In generall all make targets invoke development command line tools using python3 -m ... where python3 can be overriden with the PYTHON make variable to use a specific python installation.

Currently this library targets Python 3.8 and newer.

Documentation

To build the Sphinx documentation of this library, run:

make docs

The resulting HTML documentation can be found in docs/build/html. Note that this uses Sphinx extensions and requires having run the development setup first.

Testing

To run all tests, lints, etc. run:

make ci

A HTML test coverage report can be found in the htmlcov output directory.

It is also possible to run specific tasks individually. To see an overview run:

make help

Auto-Formatting and Fixing

When make ci or make formatting complain about formatting issues, you can run make reformat to automatically fix the formatting.

When make ci or make lint complain about linting issues, you can run make fix to attempt to automatically fix some of these issues.

mau's People

Contributors

jix 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.