[Python Dependency Pitfalls] "Re-inventing the wheel" disease

Hey there,

PyPI, the Python packaging repository, now contains more than 100,000 third-party packages in total.

That's an *overwhelming* number of packages to choose from...

And this feeling of overwhelm and "choice paralysis" is exactly what held me back earlier on in my Python career.

Here, let me explain:

Back when I got "serious" about building my Python skills, mastering the syntax of the language was NOT the hardest part.

Python's syntax is quite clear and intuitive by comparison, and there's a (relatively) obvious path to learning it.

But when it comes to Python's 100k+ libraries and frameworks that's simply an OVERWHELMING number to choose from (and there's no way to memorize all of them.)

So anyway, what tripped me up as a fledgling Pythonista was this:

I had the basics of Python under my belt, but I struggled when it came to adopting the right workflows and tools of the "ecosystem" surrounding the core language.

Thus, I wasted time reinventing existing solutions left and right...

Sometimes I spent DAYS writing my own (crappy) versions of common building blocks like config file parsers, data validators, or visualization tools.

Now, sure I learned quite a bit from doing that—

But I kept repeating the same mistake and was "reinventing the wheel" even when under a tight deadline.

In hindsight, my ignorance caused me a ton of undue stress and sleep deprivation.

Part of it was overconfidence in my abilities, and another part was a lack of experience using "bread and butter" tools like the pip package manager, virtual environments, and requirements files.

Once I got the hang of Python's dependency management tools and workflows I was able to overcome my "reinventing the wheel disease" relatively quickly.

Mastering those tools and coming up with strategies for identifying high-quality Python packages opened up a whole new world to me:

By leveraging Python's packaging ecosystem I was suddenly coding at a higher level of abstraction.

And it had a MASSIVE impact on my productivity and efficiency.

Saying it allowed me to 10X my output wouldn't be too far off.

If you use Python and you're wondering how to go from "writing scripts" to "building applications"—

Then there's a good chance you could benefit from focusing on your dependency management skills.

You might be ready for a similar "quantum leap" in your productivity.

In Managing Python Dependencies With Pip and Virtual Environments, I give you the exact step-by-step workflows I use every day to work on Python projects small and large.

When you add just one of these tricks to your personal dev workflow you'll *permanently* increase your productivity and efficiency as a developer.

Details here:

realpython.com/products/managing-python-dependencies/

— Dan Bader

Older messages

[Sublime + Python Setup] Don’t build “nag screen muscle memory”

Friday, July 2, 2021

Hey there, Once I worked with a developer who refused to buy a registered copy of Sublime for months on end, even though he *loved* Sublime. He used it as his main code editor every day and was very

[Python Dependency Pitfalls] Artisanal "from-scratch" development

Friday, July 2, 2021

Hey there, The other day I got this question from Newsletter member Newvick in my email inbox: ~~~ I'm trying to get past the beginner's stage in Python and one problem I have is: When do you

[PythonistaCafe] Why PythonistaCafe exists

Friday, July 2, 2021

Hey there, In one of my last emails I talked about how some online communities in the tech space devolve over time and turn into cesspools of negativity. This relates directly to how and why I started

[Python Dependency Pitfalls] What dev managers expect from Python candidates

Thursday, July 1, 2021

Hey there, My friend Og is a senior manager at Red Hat and works with a large team of developers and quality engineers using Python. I got to pick his brain on what he thought were the most important

[Sublime + Python Setup] why Atom can’t replace Sublime

Thursday, July 1, 2021

Hey there, "In a nutshell, Atom is a Sublime Text editor that just got better." When I read this quote I got so worked up I nearly fell off my chair. Because every time I've tried Atom or

[ DuckDuckGo Privacy Weekly ] For Jul 29, 2021

Thursday, July 29, 2021

Inside the Industry That Unmasks People at Scale [vice.com] "Anyone who has a phone and has installed an app that has ads, currently is at risk of being de-anonymized via unscrupulous companies.

Mid-Level Laravel Roadmap, Challenge and 30+ Articles

Thursday, July 29, 2021

Hey hey, Wow, this newsletter is so packed with stuff, I don't really know how you find the time to read/watch all the interesting things. So, without any intro, let's dive in! From my Youtube

[PythonistaCafe] Why PythonistaCafe exists

Thursday, July 29, 2021

Hey there, In one of my last emails I talked about how some online communities in the tech space devolve over time and turn into cesspools of negativity. This relates directly to how and why I started

A quick question...

Thursday, July 29, 2021

Hello there, I was hoping you could spare 15 seconds of your time and let me know why you decided to cancel your Real Python membership? Feel free to just hit reply and fire away. Thanks in advance! —

Slack isn't the best chat software for Linux, macOS, Windows

Thursday, July 29, 2021

Data breach costs hit record high; Delta variant is impacting office reentry plans Subscription | Read Online | Twitter Facebook LinkedIn Top Story of the Day July 28, 2021 Top Story of the Day The

Windows 96 — IPv4 pricing — and Capitol Hill's mystery soda machine

Wednesday, July 28, 2021

Issue #478 — Top 20 stories of July 29, 2021 Issue #478 — July 29, 2021 You receive this email because you are subscribed to Hacker News Digest. You can open it in the browser if you prefer. 1 Windows

Daily Crunch - $150M Series D vaults search-as-a-service provider Algolia to $2.25B valuation

Wednesday, July 28, 2021

TechCrunch Newsletter TechCrunch logo The Daily Crunch logo Wednesday, July 28, 2021 • By Alex Wilhelm Hello and welcome to Daily Crunch for July 28, 2021. What a day. Duolingo went public. Algolia

JSK Weekly - July 28, 2021

Wednesday, July 28, 2021

July is on its way out, officially taking us into the second part of 2021. If you're interested in testing whether any characteristics of your application have changed, check out "Snapshot

JSK Daily for Jul 28, 2021

Wednesday, July 28, 2021

JSK Daily for Jul 28, 2021 View this email in your browser A community curated daily e-mail of JavaScript news Using BLoC Pattern with React Initially, the Business Logic Component (BLoC) pattern was

raywenderlich.com Weekly - Issue 322

Wednesday, July 28, 2021

raywenderlich.com Weekly Newsletter Issue 332 · Jul 28 2021 Hello there 👋 No matter whether you're working with iOS, Android or Flutter, we've got just the content you need. This week, your