Giter Site home page Giter Site logo

judahpaul16 / kmaps Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 2.43 MB

Generate Karnaugh maps fast with Python.

Home Page: https://kmaps.judahpaul.com

License: MIT License

Python 36.91% HTML 8.46% CSS 6.73% TypeScript 35.55% JavaScript 12.35%
python seaborn boolean-algebra karnaugh-map reactjs saas express

kmaps's Introduction

🗺️ Karnaugh Map Generator

This is a simple Karnaugh Map generator written in Python. It takes a boolean expression and generates a Karnaugh Map for it. It also generates the simplified boolean expression from the Karnaugh Map.

Usage

Make sure React App is built.

cd frontend
npm run build

Run the server.

uvicorn main:app --reload

Deployment with Phusion Passenger

#!/bin/bash

# Remove old repo
rm -rf kmaps

# Make new folder
mkdir kmaps

# Clone repo to server
git clone https://github.com/judahpaul16/kmaps.git

## Install python dependencies
# Create/activate virtual environment
cd kmaps
python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

# Build the app
npm i
npm run build

# Restart Phusion Passenger service
mkdir -p tmp
touch ./tmp/restart.txt

Screenshot

kmaps's People

Contributors

judahpaul16 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

kmaps's Issues

Account for grouping overlap

It is possible in this case for example to overlap the green and blue groups to create equations with fewer terms.
screenshot

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.