https://github.com/judahpaul16/kmaps
Generate Karnaugh maps fast with Python.
https://github.com/judahpaul16/kmaps
boolean-algebra express karnaugh-map python reactjs saas seaborn
Last synced: 2 months ago
JSON representation
Generate Karnaugh maps fast with Python.
- Host: GitHub
- URL: https://github.com/judahpaul16/kmaps
- Owner: judahpaul16
- License: mit
- Created: 2023-10-11T17:33:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-20T00:08:10.000Z (over 2 years ago)
- Last Synced: 2025-02-19T22:36:38.346Z (over 1 year ago)
- Topics: boolean-algebra, express, karnaugh-map, python, reactjs, saas, seaborn
- Language: Python
- Homepage: https://kmaps.judahpaul.com
- Size: 2.38 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🗺️ 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.
```bash
cd frontend
npm run build
```
Run the server.
```bash
uvicorn main:app --reload
```
## Deployment with Phusion Passenger
```bash
#!/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
```
---

### Live at [kmaps.judahpaul.com](https://kmaps.judahpaul.com/)