Skip to main content

Links tagged with “python”

  1. UV with Django

    Very useful, by Anže Pečar.

  2. UV — I am (somewhat) sold – Oliver Andrich

    I’m trying to switch to uv entirely and am eager for examples of real-world usage like this. (via Simon Willison)

  3. astral-sh/uv: An extremely fast Python package installer and resolver, written in Rust.

    Sounds good. Replacement for pip, pip-tools and virtualenv, with plans to replace more like pipx and pyenv. (via @frabcus@mastodon.social)

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

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

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

  7. Python in GitHub Actions

    More useful tips on getting all this working well.

  8. Switching to GitHub Actions - Random notes from mg

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

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

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

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

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

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

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

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

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

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

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

  17. A Modern Python Development Toolchain · Chris Krycho

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

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

  19. How To Structure Large Flask Applications | DigitalOcean

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

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

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

  22. requires.io | Monitor your dependencies

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

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

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

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

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

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

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

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

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

  31. Pinboard/Fandom OTP - Renaming tags

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

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

  33. Html2text: THE ASCIINATOR (aka html2txt)

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

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

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

  36. Annotator | Open Knowledge Foundation

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

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

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

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

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

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

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

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

The most common tags

  1. webdevelopment (833)
  2. london (398)
  3. uk (356)
  4. music (307)
  5. mac (189)
  6. javascript (187)
  7. lrb (176)
  8. history (161)
  9. css (161)
  10. maps (159)

More…