Skip to main content

Links tagged with “python”

  1. Timezones in Python - Benjamin “Zags” Zagorsky (PDF)

    I keep referring to bits of this, so I should save it. Handy examples of right and wrong ways to do times. (via Simon Willison)

  2. Best Practices Around Production Ready Web Apps with Docker Compose — Nick Janetakis

    Such a good, detailed explanation of how and why things are done in Docker, in his several example GitHub repos.

  3. RhetTbull/osxphotos

    “Python app to export pictures and associated metadata from Apple Photos on macOS. Also includes a package to provide programmatic access to the Photos library, pictures, and metadata.” (via Colin Devroe)

  4. Python in GitHub Actions

    More useful tips on getting all this working well.

  5. Switching to GitHub Actions - Random notes from mg

    Some handy practical tips for using GitHub Actions with Python projects.

  6. Homebrew Python Is Not For You // Justin Mayer

    I think I’ve escaped this by using pyenv (and/with pipenv) but it’s such a mess. (via @simonw)

  7. My Python Development Environment, 2020 Edition | Jacob Kaplan-Moss

    As the previous edition, interesting. I’ll stick with pipenv instead of poetry for now, as I’m happy with it. I should use pipx but not sure how to go from my current mess to that. (via Simon Willison)

  8. The best of Python: a collection of my favorite articles from 2017 and 2018 (so far)

    Some useful stuff for me. But also, more generally, a great example of a useful collection of recent articles around one topic. Lovely. (via @simonw)

  9. GitHub - kennethreitz/requests-html: HTML Parsing for Humans™

    Python web requests and page scraping. Looks like it might be a bit easier than BeautifulSoup. (via @simonwillison)

  10. ftfy - fix unicode that’s broken in various ways

    Shows you how to fix “broken” encoded text using python.

  11. Pipenv: Python Dev Workflow for Humans — pipenv 8.1.4 documentation

    I really don’t want to learn yet another way to manage python virtual environment but this does sound like it might finally be The One. (via @simonw)

  12. Cheat Sheet: Writing Python 2-3 compatible code — Python-Future documentation

    Because this is usually where I end up when googling for this stuff.

  13. Test A Reusable Django Application For Support Of Multiple Django Releases With Tox And Travisci | Joe Bergantine

    A clear description of how to do something that pretty much worked. Always a pleasure.

  14. A Modern Python Development Toolchain · Chris Krycho

    Nice clear summary. I’ve never used pyenv but looks like I should. (via Tom Taylor)

  15. Flask Web Development - O’Reilly Media

    This book was really good for helping to structure a slightly larger Flask site than I was previously used to. I’m liking Flask, but it does require piecing together lots of knowledge to sew parts together.

  16. How To Structure Large Flask Applications | DigitalOcean

    Always a pleasure to find useful tutorials that step though things clearly and Just Work.

  17. Host, run, and code Python in the cloud: PythonAnywhere

    Free, and upwards, hosting of Python code/sites, with what sound like great facilities for teachers and their classes.

  18. Gemnasium

    “Parses your project’s dependencies and notifies you when new versions are released or they need to be updated.” For python, ruby, node, php, etc. (via @dracos)

  19. requires.io | Monitor your dependencies

    “Monitors the requirements of your project and notify you whenever a dependency is outdated.” (via @mrchrisadams)

  20. Twython — Twython 3.1.2 documentation

    “Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs” Probably more up to date than whatever I was using before. For future reference.

  21. straup/tiny-letter-tools

    Of course Aaron has made a handy (python command line) tool for making an RSS feed out of a Tiny Letter archive page.

  22. Isso – a commenting server similar to Disqus

    Open source, self-hosted commenting system. Lovely idea, although my heart sank at the thought of installing a python web application. I can’t help thinking PHP would be more useful for people making otherwise-static web sites. (via Brett Terpstra)

  23. jeffknupp/sandman · GitHub

    Python thing that takes an existing database, creates a REST API for it, and provides you with a nice web admin interface. Handy. (via Infovore)

  24. What are the best resources ( sites or books or tutorials ) for learning programming ?

    For future reference when someone asks this question, mainly for the first couple of answers.

  25. Django 1.3 vs Rails 3: A not so final showdown - (think)

    A couple of years old, but a pretty good comparison (from a limited field).

  26. Testing and Django by Carl Meyer — Marc’s PyCon 2012 Notes 1.0 documentation

    Good, useful, notes on a presentation about testing in Django. (Actually, go up to all of Marc’s PyCon 2012 notes for loads more good stuff.)

  27. Sycorax: Bring Fictional Characters to Life on Twitter

    “Sycorax is a Twitter client, written in Python, that choreographs the online behavior of fictional characters.” Very nice. Introduces slight randomness, characters interacting, etc. (via Infovore)

  28. Pinboard/Fandom OTP - Renaming tags

    A way to rename any/all of your tags on Pinboard using Python. (via @pinboard)

  29. Scripting Languages: PHP, Perl, Python, Ruby - Hyperpolyglot

    Handy comparison of features of Perl, PHP, Python and Ruby, for when my brain has trouble switching. (via Kottke)

  30. Html2text: THE ASCIINATOR (aka html2txt)

    Turns a web page into Markdown-formatted ASCII. (via Preoccupations)

  31. Pattern, a Python module for mining web data

    Lovely looking module for grabbing data from a variety of web sources, analysing it, and displaying results in different ways. (via Waxy)

  32. The OS X Spatial Stack :: Drive-by Digressions

    Looks very handy, if my OS X system wasn’t already a complete mess of historic and forgotten installs of various things.

  33. Annotator | Open Knowledge Foundation

    Looks good. jQuery and python (or other backend) for annotating HTML pages. (via Infovore)

  34. Philgyford’s mytweets at master - GitHub

    I updated Simon Willison’s “Script for saving a JSON archive of your tweets”, which Blech and others have added to since, to use OAuth.

  35. Setting Up Twitter Bots with OAuth | maSnun’s logs

    Least baffling description I’ve read. Phew. (via Infovore)

  36. I have tried to be happy with django, I really have. : django

    I’m finding this quite reasoned discussion about what’s good/bad about Django really interesting.

  37. Crowd-sourcing the office stereo, using Twitter and Spotify

    Python script to enable sending Spotify URLs @ a Twitter account which then queue and play, and also scrobble to Last.fm.

  38. Robhudson’s django-debug-toolbar at master - GitHub

    Looks very handy for showing what’s happening under the hood on your Django pages.

  39. Simonw’s mytweets at master - GitHub

    “Script for saving a JSON archive of your tweets.” I’m already archiving mine another way, but a handy thing nonetheless.

  40. Simonw’s geocoders at master - GitHub

    Python “code for accessing various geocoding web services with an ultra simple API”. Sounds good.

  41. Philgyford’s mailman-archive-scraper at master - GitHub

    My first Python code and my first attempt at using GitHub. Suggestions for things I’ve done wrong are welcome, but please be gentle.

The most common tags

  1. webdevelopment (827)
  2. london (398)
  3. uk (355)
  4. music (304)
  5. mac (189)
  6. javascript (187)
  7. lrb (171)
  8. history (161)
  9. maps (159)
  10. css (159)

More…