Michael Herman retweeted
best Guide for this topic i've found. thanks Mike! Dockerizing Django with Postgres, Gunicorn, and Nginx from @TestDrivenio by @mikeherman testdriven.io/blog/dockerizi…
4
12
1,557
Michael Herman retweeted
I always felt that kids being homeschooled lose out on socialization and recess. What I’ve realized is socialization at school is a bug and not a feature - teenage yrs are spent playing zero sum status games. There are ways to build productive social programs.
21
12
117
6,569
Michael Herman retweeted
Developing a Single Page App with Flask and Vue.js from @TestDrivenio by @mikeherman testdriven.io/blog/developin…
3
9
1,658
Michael Herman retweeted
Coupling Flask with a front-end framework like #React, #Vue, or #Svelte? Use session cookies for auth (even cross-domain). Why? 1⃣It's easier 2⃣It's safer than using JWTs and localStorage testdriven.io/blog/flask-spa… by @amal_ytics #Flask
10
45
10,170
Michael Herman retweeted
Deploying a Django App to Fly testdriven.io/blog/django-fl… Along with deploying the Django app, you'll- 1⃣Spin up PostgreSQL 2⃣Set up persistent storage via Fly Volumes 3⃣Link a domain name to your app 3⃣Obtain an SSL certificate with Let's Encrypt #Django @flydotio
9
30
2,822
Michael Herman retweeted
Progress! ✨🚀 Long way to go but @FastAPI with @pydantic v2 is cooking. 👨‍🍳 Big kudos to @david_montague_ for a lot of work on this from the Pydantic side. 🙇
8
22
281
20,498
Michael Herman retweeted
Want to deploy your own Django app? This blog post by @duplxey and @MikeHerman on @TestDrivenio explains how to do that with Elastic Beanstalk. If you have more learning recommendations for beginners, please add them here: heyoctopus.com/content/cobie… testdriven.io/blog/django-el…
8
16
2,163
Michael Herman retweeted
What a lovely tutorial @MikeHerman! Deploying a Django App to Render from @TestDrivenio testdriven.io/blog/django-re…
1
2
8
1,499
Michael Herman retweeted
Python tip: Any immutable type can serve as a dictionary key (it also must be hashable). That means a tuple can be a dict key, but a list or a dictionary can't. Using tuples as keys can be a great way to search through dictionaries based on multiple parameters.
1
17
71
6,693
Michael Herman retweeted
Docker Best Practices for Python Developers testdriven.io/blog/docker-be… Looks at several best practices to make your Dockerfiles and images cleaner, leaner, and more secure. by @amal_ytics #Docker #Python @Docker
6
69
268
20,574
Michael Herman retweeted
I might have missed something because of vacation, but there are still some interesting articles and projects I found #ThisWeekInPython🐍 Happy weekend! 🥳
1
4
6
Michael Herman retweeted
Django vs. Flask in 2022: Which Framework to Choose from @TestDrivenio by @mikeherman testdriven.io/blog/django-vs… "Django and Flask have mature communities, are widely supported and popular, and offer productive approaches to application development" #Django #Flask #Python
8
13
Michael Herman retweeted
Python testable code tip: Keep signatures of methods simple and implementation independent Why? - easier refactoring - better encapsulation - easy to use different implementations - ability to use contract tests 👇
21
85
Michael Herman retweeted
Python 3.11: What's New testdriven.io/blog/python311… by @jangiacomelli The most interesting new additions and improvements to the #Python language: 1⃣Faster CPython 2⃣Improved type hints 3⃣Better error messages 4⃣Exception notes 5⃣TOML library
13
36
Michael Herman retweeted
Python clean code tip: Use tuples to sort by multiple attributes It works similarly to sorting strings by alphabet 👇
1
22
80