All Projects → elijahkash → push_swap_gui

elijahkash / push_swap_gui

Licence: MIT license
Implementation of push-swap (42-school project) on python with GUI.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to push swap gui

minilibx
setup environment for minilibx library in Windows/Linux
Stars: ✭ 27 (-15.62%)
Mutual labels:  42
minishell tester
42 | Complex tester for minishell (42cursus)
Stars: ✭ 31 (-3.12%)
Mutual labels:  42
Libft
42 library of basic C functions - queues, lists, memory operations and more 😄
Stars: ✭ 21 (-34.37%)
Mutual labels:  42
42-push swap
📚 Sorting algorithm using only two stacks
Stars: ✭ 17 (-46.87%)
Mutual labels:  push-swap
printfTester
Tester for the ft_printf project of 42 school
Stars: ✭ 94 (+193.75%)
Mutual labels:  42
init
School 42 project // DevOps project
Stars: ✭ 13 (-59.37%)
Mutual labels:  42
1337
This repository contains a collection of 42School cursus projects in addition to the pool/piscine days (with a detailed step by step explanation). Enjoy!
Stars: ✭ 35 (+9.38%)
Mutual labels:  42
project-telegram-statistics
Export Statistics for a Telegram Group Chat
Stars: ✭ 23 (-28.12%)
Mutual labels:  pyviz
libft-war-machine
forked repository of libftest (by jtoty) for libft at 42
Stars: ✭ 167 (+421.88%)
Mutual labels:  42
42header.vim
Add and update the 42 comment header at the top of your files
Stars: ✭ 15 (-53.12%)
Mutual labels:  42
coalibot
Slack bot for the school 42 using nlopes/slack Slack api client. This bot provide tools for student to access school informations.
Stars: ✭ 22 (-31.25%)
Mutual labels:  42
teaching
scripts and notes for learning
Stars: ✭ 29 (-9.37%)
Mutual labels:  pyviz
42MapGenerator
Generate FdF maps of the real world, the Earth's moon and the planet Venus for the project Fil de Fer
Stars: ✭ 58 (+81.25%)
Mutual labels:  42
miniRT
School project for 42 Paris
Stars: ✭ 23 (-28.12%)
Mutual labels:  42
piscine42
School 42 Piscine C projects
Stars: ✭ 11 (-65.62%)
Mutual labels:  42
42ShellTester
Integration test suite for Shell implementation
Stars: ✭ 35 (+9.38%)
Mutual labels:  42
42-piscine-exam
This repo has all exercises of "C Exam Alone In The Dark - Beginner" sorted from level_00 to Level_05
Stars: ✭ 218 (+581.25%)
Mutual labels:  42
libftTester
Tester for the libft project of 42 school
Stars: ✭ 141 (+340.63%)
Mutual labels:  42
passport-42
Passport strategy for authenticating with 42 using the OAuth 2.0 API
Stars: ✭ 26 (-18.75%)
Mutual labels:  42
ft get next line
42 São Paulo - get_next_line
Stars: ✭ 17 (-46.87%)
Mutual labels:  42

push_swap_gui

Implementation of push-swap (42-school project) on python with GUI.

Foreword

  • Be welcome to use my project, install, clone and fork it!
  • If you find a bug, please, create new issue (or contact with me in any way you want) to report about it! I will be glad to fix it! If you find a mistake in my spelling (because I'm from Russia, and English is not my native language), please notify me too!
  • If you clone/fork this app and realise some new feature, you may create pull request! I am definitely interested in this!
  • Also, I will be happy if you follow me, or star this project, ecpecially if you find it usefull, or use my code!
  • For all questions be welcome to contact me in any way you want 👋

Here is my mail: [email protected]

How to use:

Install

This is a simple python3 package already added to PyPI. Therefore, to use you do not need to "clone" it from github. Then just open terminal and run:

> pip3 install push_swap_gui

In some cases this may fail. Then, for example on Ubuntu 20.04, exec > sudo apt install python3-tk and try again.

If you have just started at school42 and have never encountered python and have difficulty installing the application, visit this page: https://github.com/elijahkash/push_swap_gui/wiki/FAQ_for_beginners

Launch

Now you can run this application from any directory, and in two ways:

  • > python3 -m push_swap_gui
  • > push_swap_gui

Import

You also may import push_swap_gui as a module. In this case, you can:

  • push_swap_gui.PushSwapGUI(master) : create a window with app in tkinter item, transmitted as master
  • push_swap_gui.push_swap(src_data) : this func get iterable with source data, and return list with comands (push-swap solve)

Example:

>>> import push_swap_gui
>>> a = [1, -1, 3, 7, 2, 9, 12]
>>> push_swap_gui.push_swap(a)
['pb', 'ra', 'ra', 'ra', 'pb', 'ra', 'ra', 'ra', 'pa', 'pa', 'rra']
>>>

Uninstall

> pip3 uninstall push_swap_gui

License

  • See the LICENSE file for license rights and limitations (MIT).

Support

  • If you like my activity, you may say “thank you” to me and support me for any amount! Use 'Sponsor' button in github!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].