Python Icon

Python

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

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

The Changelog The Changelog #229

Python, Django, and Channels with Andrew Godwin

Django core contributor Andrew Godwin joins the show to tell us all about Python and Django. If you’ve ever wondered why people love Python, what Django’s virtues are as a web framework, or how Django Channels measure up to Phoenix’s Channels and Rails’ Action Cable, this is the show for you. Also: Andrew’s take on funding and sustaining open source efforts.

read more...

Python changelog.com

Prophet: a Python microframework for financial markets

Prophet strives to let the programmer focus on modeling financial strategies, portfolio management, and analyzing backtests. It achieves this by having few functions to learn to hit the ground running, yet being flexible enough to accomodate sophistication. Looks great for anybody dipping their toe in to financial market software. Nice double entendre, too.

read more...

Python changelog.com

CloudTunes: your web-based music player for the cloud

Great idea and execution from Jakub Roztočil: CloudTunes provides a unified interface for music stored in the cloud (YouTube, Dropbox, etc.) and integrates with Last.fm, Facebook, and Musicbrainz for metadata, discovery, and social experience. It is similar to services like Spotify, except instead of local tracks and the fixed Spotify catalog, CloudTunes uses your files stored in Dropbox and music videos on YouTube.

read more...

Python changelog.com

Collect your thoughts and notes without leaving the command line

jrnl is a great little text-based journaling tool with a command line interface. Why plain text files? I love this tidbit from the readme: you can put them into a Dropbox folder for instant syncing and you can be assured that your journal will still be readable in 2050, when all your fancy iPad journal applications will long be forgotten. At first blush, the interface looks really well thought out. I don't journal much, but jrnl just might get me started.

read more...

Python changelog.com

Clean your HTML with Bleach

When developing for the web a time will come when you'll need to sanitize HTML. If you need to do this in Python then you should check out Bleach. Bleach is an HTML sanitizing library that escapes or strips markup and attributes based on a white list. Bleach can also linkify text safely, applying filters that Django's urlize filter cannot, and optionally setting rel attributes, even on links already in the text. Even if all you want to do is apply rel='nofollow' to the links in user generated content, Bleach has you covered. So, check it out the next time you need to clean some HTML.

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