Python Icon

Python

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

The Changelog The Changelog #318

A call for kindness in open source

Adam and Jerod talk to Brett Cannon, core contributor to Python and a fantastic representative of the Python community. They talked through various details surrounding a talk and blog post he wrote titled "Setting expectations for open source participation" and covered questions like: What is the the purpose of open source? How do you sustain open source? And what's the goal? They even talked through typical scenarios in open source and how kindness and recognizing that there's a human on the other end of every action can really go a long way.

read more...

 Itamar Turner-Trauring codewithoutrules.com

Stabbing yourself with a fork() in a multiprocessing.Pool full of sharks

I really dig Itamar's writing style: It’s time for another deep-dive into Python brokenness and the pain that is POSIX system programming, this time with exciting and not very convincing shark-themed metaphors! There's a lot to learn here, and it's not all Python specific. Hop in, the water's warm (but filled with sharks)!

read more...

Kenneth Reitz kennethreitz.org

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...

read more...

Steven Loria github.com

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.

read more...

Python github.com

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.

read more...

Python mail.python.org

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!

read more...

Pēteris Caune healthchecks.io

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.

read more...

Sumana Harihareswara pyfound.blogspot.com

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.

read more...
0:00 / 0:00