I have to second Qt (QWidget, not qmlrs) and add SQLite-compatible schema migration for Diesel and a high-level web framework (if not a Django competitor, at least a Pyramid competitor).
I'm not a game developer and don't typically write CPU-bound code, so these two holes in the ecosystem limit my use of Rust to command-line utilities. (My main interest in Rust is the ability of the type system and monadic error handling to take some of the load off me as a writer of unit tests.)
To paraphrase Greenspun's tenth rule:
Any sufficiently complicated Flask program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Django.
But, building that "ad hoc, bug-ridden" website is really informative. I also started with Django, then switched to ASP.Net MVC, and then back to Django. It still felt like a lot of magic. I felt like I was memorizing, not learning.
I then helped add a feature to a website using Pyramid and did a great tutorial using Flask. Using frameworks that don't have everything built helped me better understand what was going on under the covers in Django.
> I haven't found any advantage having a monolithic Django-like framework so far.
I switched to Django from a Python framework named Pylons (the precursor to Pyramid) because I was tired of reinventing what Django provided via its ecosystem of reusable apps.
Personally I find python more maintainable and easier to debug. When it comes to web dev I find this really useful when clients want changes made a year later. I also like how much is built into the standard library and the overall consistency of the packages. I'd strongly recommend you check out the Pyramid framework if you want to get started with a modern python web framework.
I don't think that modern C# web apps are that heavyweight. Check here for a simple example: Tutorial: Create a minimal web API with ASP.NET Core
For Python, I would recommend Pyramid as a lightweight framework.
Often in other languages you use frameworks that decide for you the same way if you have 3 files or 300.
With Go we are more free about that. I believe there is not one response, it depend of the project...
That said, i like, because i use to, to continue how i did in Python with Pyramid framework https://trypyramid.com/
This package is based off the pyramid framework and is built around row-level permissions. The FastAPI Contrib package has a class-based permissions approach meant to be plugged directly into FastAPI's dependency injection system.
I tend write most of my permissions as custom dependencies and use them at the route decorator or router level.
I would go with Flask, because Flask is flexible and manageable enough that it grows with you. Django is a monolith, and it can be quite daunting to beginners.
There is also Pyramid, and websauna which is built upon Pyramid. These fall in between Flask and Django. Especially Websauna, which is "batteries included" but still quite managable.
>Pyramid
have not heard this mentioned before. How are you finding it?
those denials though...... :)
A number of parties have promulgated a certain amount of misinformation regarding the Pyramid project. We would like to officially put to rest some of the wild rumors and extravagant myths that have been circulating in board rooms and chat rooms around the world.
Thanks a lot for the help and thoughts on this. I will only want it in the beginning of the month, so it will be regularly, hence I think your idea of a separate script can work really well. Something like a cronjob of a python script, or what do you think?
​
And then for Flask or Django, it is a difficult choice for a beginner like myself. It looks like Django is more complete, but it is harder to learn / get started, while Flask sounds more like you can make constant progress and learn at the same time - as it is a smaller framework than Django. I also came across Pyramid, have you heard about it / any experience with it?
I'm using wordpress hosted by hostgator. I want to eventually build a site using pyramid. Mike Kennedy makes a very convincing argument for using pyramid over flask and django.
Here is a training I'm taking using pyramid - https://training.talkpython.fm/courses/details/creating-a-restful-http-api-with-pyramid-and-python-mega-course
idk how common it is. I use it as it let's me pay way less to host sites as the memory and cpu requirements are way lower. If you use nginx to serve the static files you can easily serve multiple low traffic sites from a really tiny vps ($15/year). As for templating languages, there are really just too many for anyone to talk seriously about and most frameworks have one built in that you just take for granted. I started using jinja2 as it has more usage in the python world than my personal favorite Chameleon
I think most of the knowledge is pretty general except you'll have to know your framework pretty well and have a decent understanding of how to combine your webserver with your application. A great framework to get you start is Pyramid. The simplest way to do the static side of it is to have your webserver cache pages returned from the application.
There is Kotti CMS - http://kotti.pylonsproject.org/ if you want "deeper" integration with CMS, I think there are others too.
https://trypyramid.com/resources-extending-pyramid.html
https://pypi.python.org/pypi?%3Aaction=search&term=pyramid&submit=search - I'd say there is plenty of packages.