Don’t waste you time in early optimization, stay focused on the product! Have you ever had a brilliant idea but hesitated to invest time and resources into building a full-fledged product? The fear of wasting resources on an untested concept is a common struggle for entrepreneurs and innovators. Fortunately, there’s a game-changer in the world of rapid prototyping: Streamlit. In this article, we’ll walk you through the process of turning your concept into a Minimum Viable Product (MVP) with few lines of code using Streamlit. By the end, you’ll have a functional prototype that can be shared and tested with…
Topic Archive
Tools
-
-
This week Robin Beer – one of our coaches – interviews Will Raphaelson, Principal Product Manager at Prefect. 😍 They talk about his use of Python, Prefect as a tool and its philosophy, open source + business and Marvin AI. 🐍 💪 And of course they share cool wins and books they are reading. 💡 All in all an insightful chat that hopefully will leave you inspired to go check out these cool new Python tools … 😎 Listen here: Or watch on YouTube: Chapters:00:00 Intro snippet00:11 Intro music00:31 Introduction guests + topics01:32 Welcome Will, do you have a win…
-
When to refactor your code?
·
·
10 min readHow to make refactoring part of your Definition of Done Writing code is an iterative process. The first iteration is usually not the best result. Grooming and polishing ✨ are needed before the code is ready to share with the world (and your future self). There is a saying in software development that illustrates the importance of polishing code: The first step is clear: your code should solve a particular problem. But what if your program’s input is huge and requires clever code optimizations to reach the required performance? Maybe you would be tempted to skip step two and jump immediately…
-
Makefiles are awesome, and you can use them in your Python projects too (they are not only to compile and build C/C++ projects that is) 😎 They help you automate various tasks and streamline the development process overall 🚀 They allow you to: – Manage dependencies– Run tests– Build documentation– Format your code– Lint and perform static analysis of you code– Clean up temp files– Manage virtual environments– Build distributions– Deploy your code I often add one to my projects and they save me time and streamline the experience for other developers 📈😍 Here is a 5 minute video to…
-
Watch here: Or listen here: In this week’s episode we talk with Dane about packaging and the rich ecosystem of Python tooling. Dane is the author of Publishing Python Packages, a new Manning book that just came out. In our conversation we dive into some of the specific challenges and opportunities that come with packaging Python code. One of the things that we discuss is the backstory behind Dane’s book on packaging. Dane talks about how he scratched his own itch by open sourcing some packaging code that he had developed at work. He then began to explore some of…
-
5 ways I use GitHub Actions
·
·
3 min readI am increasingly using GitHub Actions these days. If you’re new to this you might want to check out our article or video. In this article I will show you 5 cool ways I use it day to day. Run tests and linters The first and most obvious reason is to automate tooling. Although you probably want to first and foremost do this step locally, for example by using pre-commit, it’s nice to always have that second automated check in the cloud. Example workflow. On: push dictates that I want to run this job upon every code push. You can read the steps…
-
Learning Rich by making a color searcher command line app
·
·
7 min readThe other day I wanted to get serious with the awesome Rich library. As we always say: you have to build to really learn + need ideas? Scratch your own itch. If you’re struggling for ideas, see what takes you long and/or is cumbersome and see if it’s a good candidate to automate it with code. Here is a more elaborate email we sent about this a while ago. Well, I had an itch for a while … I was always Googling color hex codes when styling web apps. What if I could do this from the command line? And…
-
About WSL It seems like everyone is using Linux or Mac for software development these days, but if you’re a windows user, you may have looked into what you needed to do to be able to use Linux on your PC and found that dual-booting or virtual machines sounded like too much trouble. But these days, most employers want their devs to know their way around the Linux command line. There’s never been a better time for Windows users to start learning those skills since there’s finally a way to have our cake and eat it too. It’s called Windows…
-
A debugging tale
·
·
5 min readI ran into an interesting issue debugging the other day … I used isort with pre-commit to automatically sort imports before committing my code. This is a huge time saver and I am very thankful for both tools, as well as black and flake8. They save a ton of time and they instantly boost the quality of your code fixing easy-to-avoid mistakes shaving off debugging time. I did a walk-through video the other day on how to use pre-commit here. One thing that puzzled me though was isort’s behavior on the following test module: When running isort through pre-commit it…
-
The Benefits of Using GitHub Actions
·
·
2 min readIf you’re not using GitHub Actions you’re missing out! This tool is a great way to catch any errors in the central place of the GitHub repo. Catch errors early Of course this is always second best, developers should do their due diligence locally first before pushing code: Some of my favorites in that regard are: Set up syntax checking in your editor or IDE. As I am a Vim addict, I use this one. Make it easy to run your tests, I use a combination of a Makefile (example) and a .vimrc shortcut (nmap <leader>y :w<CR>:!pytest<CR>) – we will…