applin-ios
fastapi-azure-auth
applin-ios | fastapi-azure-auth | |
---|---|---|
5 | 17 | |
1 | 391 | |
- | 2.3% | |
9.0 | 7.6 | |
3 months ago | 12 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
fastapi-azure-auth
-
FastUI: Build Better UIs Faster
I'm under the impression that you work for a company that sells services related to FastAPI? https://github.com/Intility/fastapi-azure-auth
I maintain an open source library in my spare time for free, that you are welcome to ignore if you find better alternatives.
- Implement AzureAD in 10 minutes with FastAPI-Azure-Auth - full tutorial in the documentation
-
FastAPI Azure Auth 🔒 Now supports B2C (as well as single- and multi-tenant applications)
The documentation has a full tutorial in “Tiangolo-style”, which means it guided through setting up a project from scratch, and how to configure Azure appregs from scratch.
-
Ask HN: Good Python projects to read for modern Python?
I think, in general, most FastAPI and Pydantic related libraries are heavily typed, use poetry, GitHub pipelines, black, isort, flake8 etc. so if you want to look at the ecosystem around a package I’ll recommend a few here, that has a smaller scope than the huge libraries Pydantic/FastAPI are. All packages listed below has all these things.
FastAPI-Azure-Auth [0] is a library to do authentication and authorization through Azure AD using tokens.
ASGI—Correlation-ID[1] is a package that utilizes contextvars to store information through the asyncio stack, in order to attach correlation/request ID to every log message from a request. Available for Django in [2].
Pydantic-factories [3] is an awesome library to mock data for your pydantic models.
[0] https://github.com/Intility/fastapi-azure-auth
-
OAuth2 authorization with other flows beyond password.
If you want to use an external auth provider, I have written a library called FastAPI-Azure-Auth for authentication and authorization using Azure AD (which is free for something like 10.000 users). The tutorial should get you up and running quickly. Please note that this library is only intended to use for APIs (such as I sing a SPA frontend), so if you use jinja templates or render HTML from FastAPI this might not be the solution for you.
-
FastAPI Azure AD Authentication 🔒 Now supports both single- and multi-tenants applications
Hi! I’m the author of FastAPI-Azure-Auth, a package to handle Azure AD authentication and authorization for your FastAPI APIs. It’s a heavily tested package, supports trio, and the documentation has a full tutorial on how to set up both Azure and FastAPI from scratch.
-
Tips for Making a Popular Open-Source Project in 2021 [Ultimate Guide]
I agree with you. Most my packages are around ~100 stars, and I'm met with a lot of respect and appreciatio.n[1][2]
My library for Correlation-IDs in Django[3] got implemented by AWX, which also was a nice experience![4] I maintain a lot of small packages, and maybe it is the Django/FastAPI community, but "you'll get a load of entitled users" is straight up not true in my experience.
[1] https://github.com/Intility/fastapi-azure-auth/issues/24
-
Show HN: Implement Azure AD auth for your FastAPI
The documentation[1] contains a full tutorial on how to configure Azure AD and FastAPI for both single- and multi-tenant applications. It includes examples on how to lock down your APIs to certain scopes, tenants, roles etc.
[1] https://intility.github.io/fastapi-azure-auth/)
- Azure AD authentication for FastAPI 🔒 Now supports both single- and multi-tenants. Documentation includes a full tutorial on how to set it up from scratch
- Azure AD authentication 🔒 Now supports both single- and multi-tenants, and has a full setup tutorial for both FastAPI and Azure.
What are some alternatives?
hyperview - Server-driven mobile apps with React Native
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
turbo - The speed of a single-page web application without having to write any JavaScript
azure-functions-python-samples - Azure Functions Python Sample Codes. NOTE: The project, hosted in a repository, is no longer actively maintained by its creators or contributors. There won't be any further updates, bug fixes, or support from the original developers in the project.
masilotti.com - Source for masilotti.com, built with Bridgetown and Tailwind CSS.
best-of-web-python - 🏆 A ranked list of awesome python libraries for web development. Updated weekly.
applin-rails-demo - Example of how to use applin-rails.
uvicorn-gunicorn-fastapi-docker - Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.
asgi-correlation-id - Request ID propagation for ASGI apps
Installation - The premier source of truth powering network automation. Open source under Apache 2. Public demo: https://demo.netbox.dev
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
spleeter - Deezer source separation library including pretrained models.