Code Monkey home page Code Monkey logo

kivymdstudio's Introduction


A kivyMD devellopment studio

Prerequisites

Installation

  1. Install Python3.x

    • Debian, Ubuntu, Etc
      • sudo apt-get install python3.9 python3-pip
    • Fedora, Oracle, Red Hat, etc
      • su -c "yum install python3.9 python3-pip"
    • Windows
      • click HERE for downloads
  2. Download and Extract the latest release from HERE

  3. In the extracted folder, run these commands

    • python install.py <- install dependencies
    • python studio.py <-- start the script

Screenshots

<img width="1604" src="Screenshots/14.png?raw=true">

|

|

| | | | |

Quick Start

#:import hex kivy.utils.get_color_from_hex

<ButtonGris@Button>
    font_size: 25
    background_color:0,0,0,0
    canvas.before:
        Color:
            rgb: hex('#2e2b2b') if self.state =='normal' else (0,.7,.7,1)
        Ellipse:
            pos :self.pos
            size: 55,55

<ButtonBlanc@Button>
    font_size:25
    background_color: 0,0,0,0
    color: hex('#000000')
    canvas.before:
        Color:
            rgb: hex('#ffffff') if self.state =='normal' else (0,.7,.7,1)
        Ellipse:
            pos: self.pos
            size: 55,55

<ButtonOrange@Button>
    font_size:25
    background_color: 0,0,0,0
    canvas.before:
        Color:
            rgb: hex('#ffa20e') if self.state =='normal' else (0,.7,.7,1)
        Ellipse:
            pos: self.pos
            size: 55,55

<ButtonRectangle@Button>
    font_size:25
    background_color: 0,0,0,0
    canvas.before:
        Color:
            rgb: hex('#2e2b2b') if self.state =='normal' else (0,.7,.7,1)
        RoundedRectangle:
            pos: self.pos
            size: 110,55
            radius: [25,]


Calculatrice:
    id: calculatrice
    display: input
    orientation: 'vertical'


    GridLayout:
        orientation: 'lr-tb'
        size_hint: (1,0.3)
        cols: 1
        rows: 1
        TextInput:
            id: input
            background_color: hex('#000000')
            foreground_color: hex('#ffffff')
            font_size: 30
            justify: 'right'

    GridLayout:
        orientation: 'lr-tb'
        padding:'4dp'
        cols: 4

        ButtonBlanc:
            text: 'C'
            on_press: input.text =""

        ButtonBlanc:
            text: '+/-'
            on_press: input.text +='±'

        ButtonBlanc:
            text: '%'
            on_press: input.text +=self.text

        ButtonOrange:
            text: '/'
            on_press: input.text +=self.text

        ButtonGris:
            text: '7'
            on_press: input.text +=self.text

        ButtonGris:
            text: '8'
            on_press: input.text +=self.text

        ButtonGris:
            text: '9'
            on_press: input.text +=self.text

        ButtonOrange:
            text: '*'
            on_press: input.text +=self.text

        ButtonGris:
            text: '6'
            on_press: input.text +=self.text

        ButtonGris:
            text: '5'
            on_press: input.text +=self.text

        ButtonGris:
            text: '4'
            on_press: input.text +=self.text

        ButtonOrange:
            text: '-'
            on_press: input.text +=self.text

        ButtonGris:
            text: '3'
            on_press: input.text +=self.text

        ButtonGris:
            text: '2'
            on_press: input.text +=self.text

        ButtonGris:
            text: '1'
            on_press: input.text +=self.text

        ButtonOrange:
            text: '+'
            on_press: input.text +=self.text

        ButtonRectangle:
            text: '0'
            on_press: input.text +=self.text
        Label

        ButtonGris:
            text: '.'
            on_press: input.text +=self.text

        ButtonOrange:
            text: '='
            on_press: input.text=str(eval(input.text))

To do make_list

- File Explorer (TreeView) (done)
- Auto Suggestion in CodeEditor
- Syntax Highlight in CodeEditor
- General Project Search 
- Custom Terminal
- Emmulator (done)

Bugs

- Syntax Highlight doesn't work well
- Indentations d'oesn't work well
- Editor doesn't format well when opening file

Made with ❤️ By #Einswilli

v1.0

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.