Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-20T00:08:10.000Z (10 months ago)
- Last Synced: 2024-05-11T05:50:35.527Z (8 months 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: 1
- 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
```
---![Screenshot](screenshot.png)
### Live at [kmaps.judahpaul.com](https://kmaps.judahpaul.com/)