Anvil Python Framework : Create Your Apps With Only Python [ Full-Stack Dev ]

  Рет қаралды 35,944

Bek Brace

Bek Brace

3 жыл бұрын

Hey what's going on !
This is an introduction to a new Python technology called Anvil.
Anvil is a platform or a framework for building full-stack web applications with only Python.
Hope you enjoy this presentation, and just to clarify I'm not with or against Anvil, because I read a lot of Negative Opinions about this platform, but I can say that for each door there's a key; and maybe Anvil is a key to solve a lot of problems in companies which don't want to be bothered by all the new tech on the market ( languages, frameworks, etc... ) and want something simple to create an application quickly to do the job.
For more about Anvil, check out their website
Anvil URL: anvil.works
Support us and become a Patron 💵
/ bekbrace
Facebook : / bekbrace​​
DEV profile : dev.to/bekbrace​​
Github page : github.com/BekBrace​

Пікірлер: 68
@Anvil-works
@Anvil-works 3 жыл бұрын
Thanks for the write-up Bek Brace. It's great to see our development philosophy resonated with you!
@BekBrace
@BekBrace 3 жыл бұрын
It all started from a Spotify Real Python podcast with Merredyd , which got me interested in Anvil - You guys are doing great job and I might prepare longer tutorials for building more complex apps with Anvil - Cheers
@asha6175
@asha6175 3 жыл бұрын
I’ve never heard of it , man everyday sth new !
@avinashpatel6745
@avinashpatel6745 3 жыл бұрын
Thank you sir, greetings from India
@dinkark6997
@dinkark6997 3 жыл бұрын
Heard about it on The Real Python podcast. It's very easy and amazing to use. 👍
@BekBrace
@BekBrace 3 жыл бұрын
Yep 👍
@gerardmunoz6075
@gerardmunoz6075 3 жыл бұрын
A WoW presentation! Thanks a Mill 4 sharing, man
@franklimmaciel
@franklimmaciel 3 жыл бұрын
Very interesting!
@jaderermis7258
@jaderermis7258 2 жыл бұрын
Came from add but stopped laravrl tutorial to watch this because python was my initial love but I didn't wanted to go towards Data Science, ai kr ML.. Thanks for letting me know about this technology
@BekBrace
@BekBrace 2 жыл бұрын
Thank you and good luck with PHP 👍
@kyokushinfighter78
@kyokushinfighter78 11 ай бұрын
Interesting. Vey good presentation. I am sold. Few questions: 1. Can we build a full-fledged CRM SaaS with Anvil ? 2. How can we integrate this with other Python libraries like Pytorch, Pyomo etc?
@myusmc
@myusmc 3 жыл бұрын
Great tutorial. How about doing one where an end user can upload an excel file through the uplink function. I have been trying to get this to work but still can't figure out how to convert the stream back into an excel file.
@markhou
@markhou 2 жыл бұрын
The easiest way is a CSV file but named xlsx
@khandoor7228
@khandoor7228 2 жыл бұрын
awesome thanks!
@LearningToLiveNow
@LearningToLiveNow 2 жыл бұрын
WOW! Very Nice!
@BekBrace
@BekBrace 2 жыл бұрын
Thank you my friend
@patriknovotny7391
@patriknovotny7391 Жыл бұрын
Hi, I would like to fix a problem which appears. I tried to follow each step and compare the syntax and when I want to submit a feedback then occurs a problem as: anvil.server.SerializationError: Cannot serialize arguments to function. Cannot serialize object at msg['kwargs']['created_on'] Have you ever met with this problem ?
@BekBrace
@BekBrace Жыл бұрын
Hey there. Actually I have not, but the error message insinuating that your server cannot serialize the arguments passed - Classes cannot be serialized, other Python regular types can - to the feedback function. Check again in ServerModule1 (backend code) and Form1 , maybe this is an indentation error that took the class instead.
@waelmohameddd
@waelmohameddd 2 жыл бұрын
Great présentation, man
@BekBrace
@BekBrace 2 жыл бұрын
Thanks 👍
@bricenkobo7200
@bricenkobo7200 3 жыл бұрын
Build a blog with multiple users and navigation
@Augmented_AI
@Augmented_AI Жыл бұрын
Can you do an example with computer vision. Running yolov8
@BekBrace
@BekBrace Жыл бұрын
Sure
@abogdanb
@abogdanb 2 ай бұрын
Can this development platform be downloaded locally? from what I saw on their website, there is no where to download it
@BekBrace
@BekBrace 2 ай бұрын
Indeed, as far as I know it is not possible to download a local dev environment
@ArkSriva
@ArkSriva Жыл бұрын
Need a little help what will be the syntax to take user input from jupyter notebook I'm the uplink
@BekBrace
@BekBrace Жыл бұрын
Can you explain more what you want to achieve ?
@ArkSriva
@ArkSriva Жыл бұрын
@@BekBrace i just want the syntax to take integer input from the user multiple input
@corolla94
@corolla94 Жыл бұрын
Do you reckon this would be good for a client-heavy app? I see that there is PWA support and local storage is available as an extension.
@BekBrace
@BekBrace Жыл бұрын
Hi Corolla and thank you for your comment, Anvil primarily focuses on server-side development, it also provides support for client-side development through its rich user interface components and event-driven programming model. When it comes to client-heavy applications, Anvil can certainly be a suitable choice depending on your specific requirements. Here are a few factors to consider: PWA Support: Anvil does provide Progressive Web App (PWA) support, which allows your application to function as a native-like app on supported devices. Local Storage Extension: Anvil offers an extension for local storage, allowing you to store data on the client-side. This can be useful for caching data and storing user preferences. Rich User Interface Components: Anvil provides a wide range of pre-built UI components, including forms, tables, charts, and media players. Event-driven Programming Model: Anvil's event-driven programming model allows you to handle user interactions and events easily.
@casualpeople5597
@casualpeople5597 Жыл бұрын
Thanks Bek.
@BekBrace
@BekBrace Жыл бұрын
Thank you casual people 🙂
@Dand_oli2023
@Dand_oli2023 Жыл бұрын
Thank you
@naturemedic5856
@naturemedic5856 Жыл бұрын
Oops! Thought this is how to creat app by drag and drop using anvil! Didn't know it will turned into coding at the end!
@BekBrace
@BekBrace Жыл бұрын
code is everywhere, my friend :D
@jonathanlloyd8688
@jonathanlloyd8688 Жыл бұрын
Just curious how do you increase your email quota? Or is there some point where it is unlimited?
@BekBrace
@BekBrace Жыл бұрын
To increase your email quota, you need to upgrade your Anvil account to a plan that includes more email credits.
@rakeshacharya8791
@rakeshacharya8791 2 жыл бұрын
I have a python source code which need to be converted to web application using anvil could anyone help.
@BekBrace
@BekBrace 2 жыл бұрын
you can send me on info@bekbrace.com
@ngaatendwevelah5900
@ngaatendwevelah5900 2 жыл бұрын
Can you use it to make a mine service and production reporting system
@BekBrace
@BekBrace 2 жыл бұрын
That seems complicated for Anvil, but worth trying
@ngaatendwevelah5900
@ngaatendwevelah5900 2 жыл бұрын
@@BekBrace thanks 👍
@aromzy1503
@aromzy1503 Жыл бұрын
NameError: name 'name' is not defined at Form1, line 21 I tried comparing the codes and don't seem to find the error. please help
@BekBrace
@BekBrace Жыл бұрын
Make sure that name is called name_box / you have a problem in the name settings
@aromzy1503
@aromzy1503 Жыл бұрын
@@BekBrace Thanks... Error has been resolved. Anvil makes Python for web really easier. Looking forward to more videos from you 😊
@BekBrace
@BekBrace Жыл бұрын
@@aromzy1503 thank you 😊 I'm preparing a machine learning tutorial with Anvil for the next month, hope you'll enjoy it 🙂
@Ram-gi9ec
@Ram-gi9ec 2 ай бұрын
Hi I am getting "AppOfflineError: Connection to server failed (error) at Form1, line 23" i.e. when I am calling Server module from submit button click for line "anvil.server.call('add_feedback',name,email,feedback)" I tried for couple of day, but it throws same error. Any thoughts on this?
@BekBrace
@BekBrace 2 ай бұрын
Thank you for the question my friend, it's very valuable to me. It seems like you're encountering an "AppOfflineError" when attempting to connect to the server from your application, specifically when calling the anvil.server.call() function. To troubleshoot this, ensure your device has a stable internet connection and that the Anvil server is operational. Check for any relevant error logs on the Anvil platform and verify you're using the latest Anvil library version. Additionally, review firewall and proxy settings to ensure they're not blocking the connection. Simplifying your code and gradually adding back components can help isolate the issue, and if all else fails, contacting Anvil support for personalized assistance is recommended.
@pallechristoffersen2689
@pallechristoffersen2689 Жыл бұрын
Thanks I cant get i working, I`m getting this error NameError: name 'name' is not defined at Form1, line 21 where can I define this name, I tried every thing and the code is exactly matching the one in the video
@BekBrace
@BekBrace Жыл бұрын
Check line 17 , is the name well defined ?
@BekBrace
@BekBrace Жыл бұрын
Or maybe an indentation error
@sheikhshahzad9732
@sheikhshahzad9732 Жыл бұрын
How We can see the HTML and CSS source code. Please brief it.
@BekBrace
@BekBrace Жыл бұрын
As far as I know .. you cannot
@SharathsooryaBCS
@SharathsooryaBCS 2 жыл бұрын
Sir, How could deploy a Google colab DL code with anvil?
@BekBrace
@BekBrace 2 жыл бұрын
What is DL code ?
@SharathsooryaBCS
@SharathsooryaBCS 2 жыл бұрын
@@BekBrace Sir, I used Google colab for fake news detection with the help of deep learning, while I connected the colab notebook to anvil using uplink, I connected successfully. But I can't able to pass the news to colab from the anvil user interface.
@MohamedBadr-xc7xq
@MohamedBadr-xc7xq 2 жыл бұрын
Cool platform
@BekBrace
@BekBrace 2 жыл бұрын
yes
@bogdanmind3271
@bogdanmind3271 2 жыл бұрын
How slow is it in terms of load speed?
@BekBrace
@BekBrace 2 жыл бұрын
I wouldn’t say slow, it has a fair Load speed in comparison with other web app - relatively speaking
@bogdanmind3271
@bogdanmind3271 2 жыл бұрын
@@BekBrace it took me like 8seconds for my demo app(their app with 3 graphs) to load. Isn’t that too much?
@elle381
@elle381 2 жыл бұрын
I am not a coder. Can Python as a front end do the same thing as Vue 3? Or can someone build an app with this and add a Vue 3 front end? Can this build chats with reactions like Discord or private messaging?
@BekBrace
@BekBrace 2 жыл бұрын
No, I don’t think it’s possible
@insanecamo
@insanecamo 2 жыл бұрын
Afaik with flask, the best you can do is update via refreshing the page, but there's no reactivity using that at least You can use vue3 as a frontend with flask as a backend though with pretty good results
@Ai-immo
@Ai-immo Жыл бұрын
is it me or apps made with Anvil are super slow?
@BekBrace
@BekBrace Жыл бұрын
It is you 🙂
@davidrichard3134
@davidrichard3134 2 жыл бұрын
Thank you
@BekBrace
@BekBrace 2 жыл бұрын
Welcome my friend
Create a web app with only Python - Python Anvil Tutorial
25:52
DevOps Journey
Рет қаралды 19 М.
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 72 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,5 МЛН
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 57 МЛН
Meredydd Luff - Anvil: Full-Stack Web With Nothing But Python
1:06:00
Austin Python Meetup
Рет қаралды 3,1 М.
How Far is Too Far? | The Age of A.I.
34:40
YouTube Originals
Рет қаралды 62 МЛН
Simple Calculator with Anvil - Python Web App Tutorial for Beginners
19:19
How I'd Learn Full-Stack Web Development (If I Could Start Over)
10:28
Programming Is NOT Enough | Add these 7 skills…
13:19
Travis Media
Рет қаралды 414 М.
7 Ways to Make $10,000+ a Month with Python
12:21
Internet Made Coder
Рет қаралды 14 М.
Why Does Scrum Make Programmers HATE Coding?
16:14
Thriving Technologist
Рет қаралды 505 М.
Python + JavaScript - Full Stack App Tutorial
1:29:25
Tech With Tim
Рет қаралды 177 М.
Anvil Python Framework: Build a web app using only Python
24:03
Pythonology
Рет қаралды 7 М.
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
Опять съемные крышки в смартфонах? #cmf
0:50
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 4,2 МЛН