Code Monkey home page Code Monkey logo

rapydframework's Introduction

Disclaimer: this is still in beta, if not in alpha

RapydFramework

RapydFramework, the easy way for client development

RapydFramework is an easy way to develop web apps using your Python skills. At his core, however, it's just a way to generate and compile projects that use RapydML, RapydScript and Sass (all technologies that have a heavily inspired or heavily similar syntax to Python). That allows you to make cross-platform clients by just learning an easy language and little more.

Installation

RapydFramework needs for these dependencies to be installed manually:

RapydFramework for now is only for Windows. I have to confess that I don't have high incentives to make a Linux version (or worse, a Mac), so forking is encouraged. To install or update the package, just paste this command in the command prompt:

powershell -command "Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/savethekiddes/rapydframework/main/setup.py -OutFile setup.py; python setup.py"

About PATH

Some installers of Node.js don't add the "npm" folder to PATH. This is a problem, because then RapydScript-ng (the Python-like implementation of JavaScript) will not work. If rapydscript.py returns a FileNotFoundError when trying to compile RapydScript, then run this in a command prompt as administrator::

setx PATH "%PATH%;%APPDATA%/npm"

You might also to consider to add RapydFramework to PATH to avoid always writing the absolute PATH:

setx PATH "%PATH%;C:/rapydframework"

If you do this, to call RapydScript you'll use:

rapydframework

Instead of:

C:/rapydframework/rapydframework.exe

Usage

To get started, you can just type the following command:

C:/rapydframework/rapydframework.exe -h

The output will be the following:

RapydFramework, the easy way for client development
usage: RapydFramework.exe [-h] [-i | -c | -r] [--tailwind] [-t]

options:
  -h, --help     show this help message and exit
  -i, --init     creates a new project
  -c, --compile  compiles a project
  -r, --run      starts a Flask dev server
  --tailwind     adds Tailwind support, to be used with the --init argument
  -t, --test     tests the code for errors, to be used with the --compile argument

Credits

The credits of course go to:

Awesome work, thanks to all of you!

rapydframework's People

Contributors

savethekiddes avatar andrealicheri avatar

Stargazers

 avatar  avatar

Watchers

 avatar

rapydframework's Issues

Hello and greetings! I came accross your repo and projects and now I'm in awe... I exactly did the same thing that you do and I want to share what I have been learning this years

Hello @andrealicheri! Your project and works bring nostalgia for me, I did exactly the same thing. I didn't know JS and it's a nightmare for me at that time learning about it (at that time ES6 is experimental so instead developer use ES5) and RapydScript is a gateway for me to get a grasp of JS and eventually mastering it.

It's been a long way, I've build a framework at that time (and coincidentally it have the same name before my company asked me to change it! https://github.com/rafi16jan/rapyd-framework/tree/rapydscript-webclient). At first I've written the project half in JS and half in RapydScript (because I didn't figure out how to use JSX without babel at that time, but then I created Pyrex) and after sometimes I migrated it all to RapydScript. And then we did so many iterations changing the core of the UI Framework (we tried to build a whole Framework UI with React Native, but we couldn't make it a better looking one compared to Web version) and even the language.

With this framework I have managed to get big customers from it. I do a dozen IoT projects using this framework, and sometimes little one like a simple CRUD projects. In the end I mastered Fullstack JS because of it (and creating a whole React Native project using RapydScript! The product is called cloudxmeeting.com, and we use this babel plugin in that project), and eventually time passes and I start to abandon it little by little. I missed that moment in my life where my whole day is just developing that framework, hoping it will be bigger than me and people start to take it further making me laid back. But what happen is instead I was the one who becomes bigger and start to adapt to non-Python world while RapydScript is the one who enables me to code JS in the first place! Lol, anyways.

Feel free to hit me up or share something with me about RapydScript or the current state of Python in WASM (I have experimented with it A-Lot...), currently I'm in the place of not having motivation to start anything loll. Seeing new developers motivates me a little bit as I get to feel their passion on learning and it fire up that old spirit inside me.

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.