Python Icon


Python is a dynamically typed programming language.
117 Stories
All Topics

Kenneth Reitz

Reasons to use VS Code for Python development

Kenneth Reitz, well known in the Python community, creator of Requests, and a former Changelogger has been using VS Code for Python development for several months and is giving it the "should use" status. Kenneth writes on his personal blog: I've been using Visual Studio Code daily now (for Python development) for about six months — long enough to give it a thorough review. Before, I was using Sublime Text with a few plugins, which worked very well— but, I am continually shocked at just how good VS Code is, in comparison, and I'd like to share with you my observations / opinions...


Steven Loria

Configuration done right in Python

Steven Loria: Stop using unversioned settings files and start storing configuration in environment variables (see The Twelve-Factor App). environs makes it easy to parse environment variables with built-in type-casting and validation. It will even read .env files, which are handy for local development. 💯% agree with using environment variables for configuration. I used to do the .gitignore a Yaml file thang, but nowadays it's all direnv and/or dotenv.



The Hitchiker's Guide to PyTorch

PyTorch is a flexible deep learning framework that allows automatic differentiation through dynamic neural networks (i.e., networks that utilise dynamic control flow like if statements and while loops). It supports GPU acceleration, distributed training, various optimisations, and plenty more neat features. These are some notes on how I think about using PyTorch, and don't encompass all parts of the library or every best practice, but may be helpful to others.



Guido van Rossum retires as Python's BDFL 😱

We were just discussing this on a recent episode, and now it's a reality!? I'm basically giving myself a permanent vacation from being BDFL, and you all will be on your own. After all that's eventually going to happen regardless -- there's still that bus lurking around the corner, and I'm not getting younger... (I'll spare you the list of medical issues.) He will not appoint a successor. What happens next?! Not even Guido knows: So what are you all going to do? Create a democracy? Anarchy? A dictatorship? A federation? Grab some 🍿 because this is gonna get interesting!


Pēteris Caune

Healthchecks – a watchdog for your cron jobs

I've wanted this for years, but apparently never enough to build it myself: A passive monitoring tool written in Python & Django. Set up your cron jobs, backup scripts, weekly email sending scripts, nightly data import jobs etc. to ping this service when they complete. When they don't send a ping on time, you receive an alert. The service offers a generous 20 free checks before you start paying. And since it's an open source Django app, you can set it up to run on your own infrastructure too.


Sumana Harihareswara

The new PyPI is finally in beta

The Python Package Index (started 15 years ago) has reached beta stage for version 2.0. We predict the full switch will happen in April 2018, so here's a heads-up about why we're switching, what's changed, and what to expect. The team is running Twitter and IRC-based livechat hours for the next few weeks so you can easily report problems you run into. As for what's new in v2: modern design and search, Markdown READMEs, and a way more scalable, sustainable backend.

0:00 / 0:00