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

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ย. 2024
  • 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/Bek...

ความคิดเห็น • 68

  • @Anvil-works
    @Anvil-works 3 ปีที่แล้ว +28

    Thanks for the write-up Bek Brace. It's great to see our development philosophy resonated with you!

    • @BekBrace
      @BekBrace  3 ปีที่แล้ว +4

      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

  • @dinkark6997
    @dinkark6997 3 ปีที่แล้ว +5

    Heard about it on The Real Python podcast. It's very easy and amazing to use. 👍

    • @BekBrace
      @BekBrace  3 ปีที่แล้ว

      Yep 👍

  • @asha6175
    @asha6175 3 ปีที่แล้ว +6

    I’ve never heard of it , man everyday sth new !

  • @franklimmaciel
    @franklimmaciel 3 ปีที่แล้ว +7

    Very interesting!

  • @avinashpatel6745
    @avinashpatel6745 3 ปีที่แล้ว +3

    Thank you sir, greetings from India

  • @jaderermis7258
    @jaderermis7258 2 ปีที่แล้ว +1

    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 👍

  • @gerardmunoz6075
    @gerardmunoz6075 3 ปีที่แล้ว +4

    A WoW presentation! Thanks a Mill 4 sharing, man

  • @myusmc
    @myusmc 3 ปีที่แล้ว +10

    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 ปีที่แล้ว +1

      The easiest way is a CSV file but named xlsx

  • @kyokushinfighter78
    @kyokushinfighter78 ปีที่แล้ว

    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?

  • @patriknovotny7391
    @patriknovotny7391 ปีที่แล้ว +2

    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.

  • @bricenkobo7200
    @bricenkobo7200 3 ปีที่แล้ว +3

    Build a blog with multiple users and navigation

  • @khandoor7228
    @khandoor7228 3 ปีที่แล้ว +3

    awesome thanks!

  • @abogdanb
    @abogdanb 4 หลายเดือนก่อน +1

    Can this development platform be downloaded locally? from what I saw on their website, there is no where to download it

    • @BekBrace
      @BekBrace  4 หลายเดือนก่อน

      Indeed, as far as I know it is not possible to download a local dev environment

  • @Augmented_AI
    @Augmented_AI ปีที่แล้ว

    Can you do an example with computer vision. Running yolov8

  • @naturemedic5856
    @naturemedic5856 ปีที่แล้ว +1

    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

  • @LearningToLiveNow
    @LearningToLiveNow 2 ปีที่แล้ว +1

    WOW! Very Nice!

    • @BekBrace
      @BekBrace  2 ปีที่แล้ว

      Thank you my friend

  • @casualpeople5597
    @casualpeople5597 ปีที่แล้ว +1

    Thanks Bek.

    • @BekBrace
      @BekBrace  ปีที่แล้ว

      Thank you casual people 🙂

  • @Dand_oli2023
    @Dand_oli2023 ปีที่แล้ว +1

    Thank you

  • @Ram-gi9ec
    @Ram-gi9ec 5 หลายเดือนก่อน

    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  5 หลายเดือนก่อน

      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.

  • @ArkSriva
    @ArkSriva 2 ปีที่แล้ว +1

    Need a little help what will be the syntax to take user input from jupyter notebook I'm the uplink

    • @BekBrace
      @BekBrace  2 ปีที่แล้ว

      Can you explain more what you want to achieve ?

    • @ArkSriva
      @ArkSriva 2 ปีที่แล้ว

      @@BekBrace i just want the syntax to take integer input from the user multiple input

  • @aromzy1503
    @aromzy1503 2 ปีที่แล้ว +1

    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  2 ปีที่แล้ว +1

      Make sure that name is called name_box / you have a problem in the name settings

    • @aromzy1503
      @aromzy1503 2 ปีที่แล้ว +1

      @@BekBrace Thanks... Error has been resolved. Anvil makes Python for web really easier. Looking forward to more videos from you 😊

    • @BekBrace
      @BekBrace  2 ปีที่แล้ว

      @@aromzy1503 thank you 😊 I'm preparing a machine learning tutorial with Anvil for the next month, hope you'll enjoy it 🙂

  • @pallechristoffersen2689
    @pallechristoffersen2689 ปีที่แล้ว +1

    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 2 ปีที่แล้ว +1

    How We can see the HTML and CSS source code. Please brief it.

    • @BekBrace
      @BekBrace  2 ปีที่แล้ว

      As far as I know .. you cannot

  • @waelmohameddd
    @waelmohameddd 2 ปีที่แล้ว +1

    Great présentation, man

    • @BekBrace
      @BekBrace  2 ปีที่แล้ว

      Thanks 👍

  • @rakeshacharya8791
    @rakeshacharya8791 2 ปีที่แล้ว +1

    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

  • @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.

  • @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.

  • @MohamedBadr-xc7xq
    @MohamedBadr-xc7xq 2 ปีที่แล้ว +1

    Cool platform

  • @ngaatendwevelah5900
    @ngaatendwevelah5900 2 ปีที่แล้ว +1

    Can you use it to make a mine service and production reporting system

    • @BekBrace
      @BekBrace  2 ปีที่แล้ว +1

      That seems complicated for Anvil, but worth trying

    • @ngaatendwevelah5900
      @ngaatendwevelah5900 2 ปีที่แล้ว

      @@BekBrace thanks 👍

  • @Ai-immo
    @Ai-immo ปีที่แล้ว

    is it me or apps made with Anvil are super slow?

    • @BekBrace
      @BekBrace  ปีที่แล้ว

      It is you 🙂

  • @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.

  • @bogdanmind3271
    @bogdanmind3271 2 ปีที่แล้ว

    How slow is it in terms of load speed?

    • @BekBrace
      @BekBrace  2 ปีที่แล้ว +1

      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 3 ปีที่แล้ว +1

    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  3 ปีที่แล้ว

      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

  • @davidrichard3134
    @davidrichard3134 2 ปีที่แล้ว +1

    Thank you

    • @BekBrace
      @BekBrace  2 ปีที่แล้ว

      Welcome my friend