Giter Club home page Giter Club logo

enaml-native's Introduction

enaml-native

Build Status codecov Help chat Documentation Status

Build native mobile apps in python using enaml and native widgets!

The goal of this project is to be the python version of react-native. It targets apps that need to have a "native" look and feel and achieves this by reusing existing native Android and iOS widgets from python. It allows you to declaratively define a UI using python based language called enaml. The rest is "normal" python.

Kivy is still recommended for games and applications that need custom widgets that native Android and iOS libraries do not provide.

This is still a very young project but the results and feedback have been positive and promising. Thanks for dropping by!

Docs and Examples

See the project site or the api docs

There's also some short tutorials and examples on youtube.

Need help? Try the gitter group https://gitter.im/enaml-native/Lobby

Screenshots

Drawer Demo

Add-on Packages

Enaml-native was redesigned so separate "packages" can be created and installed to add new native widgets and other apis. Similar to the kivy-garden but it borrows the concepts of the react-native package manager.

Packages can be created using the enaml-native init-package <your-package-name> command. Once made they can be installed with pip or the enaml-native install command (recommended).

Packages

Created a package? Send a PR and add it here!

Features

  1. Enaml's features: declarative syntax, conditional and looper rendering, automatic data binding
  2. Layouts with flexbox
  3. Live app code reloading (like react-native's live reload)
  4. Versioned package management and native library linking
  5. Remote debugging with your favorite IDE (like react-native's remote debugger)

Apps

Apps using enaml-native can be found here.

A short video showing of some of the apps I made are here

App examples

Demos

  1. Try out the beta demo app here on google play
  2. Try out code without installing the android SDK or NDK via the Python Playground!

Status

Android

Currently enaml-native's Android support is good enough to make real usable app. A lot of components are supported and several apps have already been released using enaml-native.

iOS

Currently enaml-native's iOS support is not yet good enough to make a real app. Only a few components are implemented at the moment and a lot of work is needed to get it to the point where it's really usable, but my "proof of concept" demo shows that it does work.

Thanks to

This project is built on top of several existing projects:

  1. enaml
  2. python-for-android
  3. pybridge
  4. react-native (inspiration)
  5. pyjnius
  6. kivy-ios

Please give them a star, thanks, and/or donation as without these this project would not exist!

Contributions

Contributions of any kind are welcome. Please use the numpydoc format for docstrings and the pep-8 code style to be consistent with enaml.

Donate

This is a project I develop in my free time. If you use enaml-native or simply like the project and want to help continue the development of it please consider donating.

enaml-native's People

Contributors

frmdstryr avatar

Watchers

 avatar  avatar

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.