Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 77
  1. Python’s True Superpower

    Python appears to be everywhere nowadays!

  2. Design Pressure

    Ever had this weird gut feeling that something is off in your code, but couldn’t put the finger on why?

  3. Whenever I publish something about my Python Docker workflows, I invariably get challenged about whether it makes sense to use virtual environments in Docker containers.

  4. Starting with 0.3.0, Astral’s uv brought many great features, including support for cross-platform lock files uv.lock.

  5. One of my first TIL entries was about how you can imitate Node’s node_modules semantics in Python on UNIX-like operating systems.

  6. When contributing to other users’ repositories, always start a new branch in your fork.

  7. Two Ways to Turbo-Charge tox

    No, it’s not (just) run-parallel – let’s cut the local tox runtime by 75%!

  8. Ever seen a code base where understanding a simple method meant jumping through tangled class hierarchies?

  9. Why I Like Nox

    Ever since I got involved with open-source Python projects, tox has been vital for testing packages across Python versions (and other factors).

  10. Why does DYLD_LIBRARY_PATH keep disappearing!?

  11. A love letter to tools that changed everything for me.

  12. One of my (slowly evaporating) reasons why I like putting packaging metadata into an executable setup.py is the ability to have optional dependencies that are combinations of others.

  13. A common issue when writing tests for real-world software is how to deal with third-party dependencies.

  14. import attrs

    An attempt at catharsis.

  15. Codecov’s unreliability breaking CI on my open source projects has been a constant source of frustration for me for years.

  16. Announcing a New Section: TIL

    Trying out something new: today I’m launching my own Today I Learned section.

  17. Subclassing in Python Redux

    The conflict between subclassing and composition is as old as object-oriented programming.

  18. Canonical SEO Failure

    This post is less about teaching and more about schadenfreude amusement for you, and catharsis for me.

  19. The widely used Python package cryptography changed their build system to use Rust for low-level code, which caused an emotional GitHub thread.

  20. Lie vs Lay

    Lie and lay are infamously confusing to non-native speakers.

  21. Waiting in asyncio

    One of the main appeals of using Python’s asyncio is being able to fire off many coroutines and run them concurrently.

  22. Classy Abstractions

    Let’s talk about abstractions and Pythonic code.

  23. Some projects have the policy that all tests must have an explanatory comment – including all of mine.

  24. Python in GitHub Actions

    GitHub’s own CI called GitHub Actions has been out of closed beta for a while and offers generous free quotas and a seamless integration with the rest of the site.

  25. Python in Production

    I’m missing a key part from the public Python discourse and I would like to help to change that.

  26. Python Packaging Metadata

    Since this topic keeps coming up, I’d like to briefly share my thoughts on Python package metadata because it’s – as always – more complex than it seems.

  27. Books That Changed My Life

    People always ask for book recommendations, so here’s my list of books that changed my life in one way or another.

  28. Since the acquisition of Travis CI, the future of their free offering is unclear.

  29. The Price of the Hallway Track

    There are many good reasons not to go to every talk possible when attending conferences.

  30. PyPI is a gold mine of great packages but those packages have to be written first.

  31. We have more ways to manage dependencies in Python applications than ever.

  32. The DevOps movement gave us many ways to put Python applications into production.

  33. Python Hashes and Equality

    Most Python programmers don’t spend a lot of time thinking about how equality and hashing works.

  34. Proper cleanup when terminating your application isn’t less important when it’s running inside of a Docker container.

  35. On Conference Speaking

    I’ve seen quite a bit of the world thanks to being invited to speak at conferences.

  36. No matter whether you run a web app, search for gravitational waves, or maintain a backup script: reliability of your systems make the difference between sweet dreams and production nightmares at 4am.

  37. The Python standard library is full of underappreciated gems.

  38. Please Fix Your Decorators

    If your Python decorator unintentionally changes the signatures of my callables or doesn’t work with class methods, it’s broken and should be fixed.

  39. To get real time insight into running applications you need to instrument them and collect metrics: count events, measure times, expose numbers.

  40. Since the inception of wheels that install Python packages without executing arbitrary code, we need a static way to encode conditional dependencies for our packages.

  41. Python 3 in 2016

    My completely anecdotal view on the state of Python 3 in 2016.

  42. Don’t use Python’s hasattr() unless you’re writing Python 3-only code and understand how it works.

  43. Why “Use bcrypt.” is not the best recommendation (anymore).

  44. Testing & Packaging

    How to ensure that your tests run code that you think they are running, and how to measure your coverage over multiple tox runs (in parallel!).

  45. Your Python applications are running but you’re wondering what they are doing?

  46. virtualenv Lives!

    Setting up Python to the point to be able install packages from PyPI can be annoying and time-intensive.

  47. The Sorry State Of SSL

    TLS is the best technology we have for securing our communications.

  48. Apple ships a patched version of OpenSSL with macOS.

  49. A completely incomplete guide to packaging a Python module and sharing it with the world on PyPI.

  50. Life after Google Reader

    Google killed its Reader and my beloved Reeder for Mac and iPad officially won’t get updated in time.