applin-ios
py-shiny
applin-ios | py-shiny | |
---|---|---|
5 | 29 | |
1 | 998 | |
- | 8.6% | |
9.0 | 9.7 | |
3 months ago | 3 days ago | |
Swift | Python | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
applin-ios
-
FastUI: Build Better UIs Faster
> Beyond Python and React ... Implementing frontends for other platforms like mobile ...
Shameless plug: I built a mobile version of this: https://www.applin.dev
-
Strada Released
I built a thing that makes it much simpler to make apps: https://www.applin.dev
You make a web server that returns JSON defining your UI. Then you make a native iOS app by copy/pasting the provided Main.swift file and adding the URL of your server. The app uses an iOS client library, fetches the JSON page definition, and builds/updates the page with native widgets. I'm planning to eventually build Android, web, and desktop clients.
- Applin™ Server-Driven UI Framework for Mobile Apps
- Applin Server-Driven UI for Mobile Apps
-
Show HN: Applin – define mobile UI in server code
Hi HN, I'm a backend engineer who made an app and didn’t like the tools. Then I made the thing I needed: a mobile app toolkit for backend engineers. I'm calling it Applin™. :)
https://www.applin.dev/
How it works: You make an HTTP server that returns JSON objects that define page content. Then you make a mobile app that calls the server and renders the pages using native widgets. Applin is the server and client libraries that make this easy.
Server libraries: Currently there's Rails https://rubygems.org/gems/applin-rails and https://github.com/leonhard-llc/applin-rails-demo . Which languages shall I add next?
Client libraries: Currently there's iOS https://github.com/leonhard-llc/applin-ios . Which platform shall I add next?
They say, if you're not embarrassed by the quality, then you're launching too late. Applin is usable and not yet pretty and not yet comprehensive. I need customer feedback on priority and requirements.
To try it out right away, use https://apps.apple.com/us/app/applin-tester/id6464230000 and tap the rails-demo link.
The hardest part of this project was making the client update the page without losing keyboard focus and scrolling to the top. To do that, the code must pick the correct existing widgets for each new version of the widget tree. The current (working) version performs five passes over the widget tree: first picking focused widgets and their ancestors, then focus-able widgets, then other stateful widgets, then widgets with matching attributes (label, URL, etc.), and finally former siblings of the correct type. Then it creates any new widgets. Now that it has widgets for the new tree, the code updates the widget tree without removing any sub-widget that will be added again. This prevents losing keyboard focus and prevents resetting scroll positions. Here's the code:
https://github.com/leonhard-llc/applin-ios/blob/main/Sources/ApplinIos/page/widget_cache.swift
Please try out Applin, use it at your company (buy a license), and let me know what features to build first! Post a comment here, add a GitHub issue, or email me at [email protected] .
To get updates, join https://groups.google.com/g/applin-announce .
Thanks for reading! :) --Michael
py-shiny
-
Designing a Pure Python Web Framework
I really like this idea of using Python to create both the frontend and backend. Another lib doing this is https://solara.dev/ . Something I particularly like about Solara is that you can interactively build your app in a Jupyter Notebook, since behind the scenes it's using ipywidgets.
Has anyone compared Solara and Reflex and can comment on pros/cons? Are there other options in this space? Maybe https://shiny.posit.co/py/ ?
-
FastUI: Build Better UIs Faster
Would you consider giving Shiny (for Python) a try? https://shiny.posit.co/py/ It's (I hope) pretty close to Streamlit in ease of use for getting started, but reactive programming runs all the way through it. The kind of app you're talking about are extremely natural to write in Shiny, you don't have to keep track of state yourself at all.
If you decide to give it a try and have trouble, please email me (email in profile) or drop by the Discord (https://discord.gg/yMGCamUMnS).
-
py-shiny VS solara - a user suggested alternative
2 projects | 13 Oct 2023
-
Duckdb + Shiny for Python example
Code is here: https://github.com/rstudio/py-shiny/tree/duckdb-example/examples/duckdb
-
Transitioning from R to Python - any tips?
The equivalent of shiny in python is shiny for python: https://shiny.posit.co/py/
- Show HN: Mercury – convert Jupyter Notebooks to Web Apps without code rewriting
- Shiny for Python – building interactive web apps from Python
- Shiny – Web Pages in Python
-
Tidyverse 2.0.0
I'm not sure how usable it is, but Shiny for Python exists: https://shiny.rstudio.com/py/
-
Graphs in Python web app
There's Shiny for Python - originally for R - but it's only Alpha status: https://shiny.rstudio.com/py/
What are some alternatives?
hyperview - Server-driven mobile apps with React Native
Solara - A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
turbo - The speed of a single-page web application without having to write any JavaScript
pyvibe - Generate styled HTML pages from Python
masilotti.com - Source for masilotti.com, built with Bridgetown and Tailwind CSS.
Genie.jl - 🧞The highly productive Julia web framework
applin-rails-demo - Example of how to use applin-rails.
Tidier.jl - Meta-package for data analysis in Julia, modeled after the R tidyverse.
React - The library for web and native user interfaces.
streamlit - Streamlit — A faster way to build and share data apps.
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
S7 - S7: a new OO system for R