Pebbling Club 🐧🪨

  • astral-sh/ty: An extremely fast Python type checker and language server, written in Rust.
    Notes
    An extremely fast Python type checker and language server, written in Rust.
  • Welcome to the django-extensions documentation! — django-extensions 3.2.3 documentation
    Notes
    Django Extensions is a collection of custom extensions for the Django Framework.
    Unfurl
  • Notes on MCP - Tao of Mac
    Notes
    Right now, I’m not overly excited by MCP over “standard” tool calling. I much prefer agents.json and the concepts around endpoint discovery, which feel much more natural if you are working with APIs.
    Feed
    Unfurl
  • cruftbox/goodreads-to-storygraph: A Python script to sync finished books from a Goodreads shelf to a Storygraph journal
    Notes
    A Python script to sync finished books from a Goodreads shelf to a Storygraph journal
    Unfurl
  • huey — huey 2.5.2 documentation
    Notes
    Possible alternative to Celery for background job processing
    Unfurl
  • halcy log - Mastodon.py in the browser!
    Notes
    Today, I learned that PyScript exists. PyScript is, at its core, some rigging to make Pyodide, a WebAssembly port of the CPython Python interpreter, real easy to use as a proper client-side web scripting language. Just include one <script> tag and now <script type="py"> is a valid thing you can have in your website. Put Python code inside of it, interact with the DOM, the works. I think that rules and/or is kind of horrifying, depending. Obviously, for me, the immediate question was: Can this run Mastodon.py? And the answer is: Yes, very competently.
    Feed
    Unfurl
  • The definitive guide to using Django with SQLite in production | alldjango.com
    Notes
    Especially for side projects with limited traffic requirements and scaling concerns, the promise of SQLite is that it can remove a lot of ongoing hassles. Without a separate database, cache, or queue, there is less network traffic (because the SQLite file is local), and less servers to manage, maintain, and backup.
    Unfurl
  • vlachoudis/bCNC: GRBL CNC command sender, autoleveler and g-code editor
    Notes
    GrblHAL (formerly GRBL) CNC command sender, autoleveler, g-code editor, digitizer, CAM and swiss army knife for all your CNC needs.
    Unfurl
  • Playground Wisdom: Threads Beat Async/Await | Armin Ronacher's Thoughts and Writings
    Notes
    It's been a few years since I wrote about my challenges with async/await-based systems and how they just seem to not support back pressure well. A few years later, I do not think that this problem has subsided much, but my thinking and understanding have perhaps evolved a bit. I'm now convinced that async/await is, in fact, a bad abstraction for most languages, and we should be aiming for something better instead and that I believe to be thread.
    Feed
    Unfurl
  • You can now run prompts against images, audio and video in your terminal using LLM
    Notes
    I released LLM 0.17 last night, the latest version of my combined CLI tool and Python library for interacting with hundreds of different Large Language Models such as GPT-4o, Llama, Claude and Gemini.
    Feed
    Unfurl
  • taskforcesh/bullmq: BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis
    Notes
    Highlight:BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis - taskforcesh/bullmq
    Unfurl
  • Overview — Ray 2.34.0
    Unfurl
  • AI-enhanced development makes me more ambitious with my projects
    Notes
    I use ChatGPT a lot, and I want my own archive of conversations I’ve had with it.
    Feed
    Unfurl
  • toot - Mastodon CLI client — toot documentation
    Notes
    Toot is a CLI and TUI tool for interacting with Mastodon instances from the command line.
    Unfurl
  • novelWriter – A markdown-like editor for writing novels
    Notes
    A markdown-like text editor designed for writing novels and larger projects of many smaller plain text documents.
    Unfurl
  • www.automaticromantic.com/static/misc/pytxtelite.txt
    Notes
    Conversion of Ian Bell's txtelite.c 1.2 (and parts of 1.4) to python (2.5, maybe earlier)
    Unfurl
  • Python Twitter + django-social-auth == Hello New User
    Notes
    This will post a new tweet on behalf of the user, telling everyone they joined your website!
    Feed
    Unfurl
  • carljm / postactivate
    Notes
    Yo dawg, I heard you like Ruby...
    Feed
    Unfurl
  • Parallelism in one line — Building Things on the Internet — Medium
    Notes
    Parallel versions of the map function are provided by two libraries: multiprocessing, and also its little known, but equally fantastic step child: multiprocessing.dummy.
    Unfurl
  • PRAW: The Python Reddit Api Wrapper — PRAW 2.1.4 documentation
    Notes
    PRAW, an acronym for “Python Reddit API Wrapper”, is a python package that allows for simple access to reddit’s API. PRAW aims to be as easy to use as possible and is designed to follow all of reddit’s API rules. You have to give a useragent that follows the rules, everything else is handled by PRAW so you needn’t worry about violating them.
    Unfurl
  • 5. Increase Test Coverage — Python Developer's Guide
    Notes
    One of the most popular third-party coverage tools is coverage.py which provides very nice HTML output along with advanced features such as branch coverage. If you prefer to stay with tools only provided by the stdlib then you can by using test.regrtest.
    Unfurl
  • Welcome to pygit2’s documentation! — pygit2 0.18.1 documentation
    Notes
    Pygit2 is a set of Python bindings to the libgit2 shared library, libgit2 implements the core of Git. Pygit2 works with Python 2.6, 2.7, 3.1, 3.2 and 3.3
    Unfurl
  • libgit2/pygit2 · GitHub
    Notes
    lmorchard starred libgit2/pygit2
    Unfurl
  • Python NLTK Demos and Natural Language Text Processing APIs
    Notes
    Welcome to text-processing.com, where you can find natural language processing APIs and Python NLTK demos.
    Unfurl
  • Build your own summary tool! | The Tokenizer
    Notes
    After Yahoo! acquired Summly and Google acquired Wavii, there is no doubt that auto summarization technologies are a hot topic in the industry. So as a NLP freak, I decided to give a quick overview and hands-on experience on how these technologies actually work.
    Feed
    Embed
    Unfurl
  • The IPython Notebook — IPython
    Notes
    The IPython Notebook is a web-based interactive computational environment where you can combine code execution, text, mathematics, plots and rich media into a single document
    Unfurl
  • webiopi - Raspberry Pi REST framework to control GPIO and more - Google Project Hosting
    Notes
    WebIOPi is a REST framework and a webapp which allows you to control your Raspberry Pi's GPIO. Just install it on your Pi, and use any browser from your network. It's useful to start enjoying GPIOs and also to debug some circuits without writing any line of code. It also allows to control your Pi's GPIOs over Internet, so it's a good starting point for home remote control.
    Unfurl
  • Turning the Raspberry Pi Into an FM Transmitter - Imperial College Robotics Society Wiki
    Notes
    Now connect a 20cm or so plain wire to GPIO 4 to act as an antenna, and tune an FM radio to 103.3Mhz
    Unfurl
  • eldarion/django-trust · GitHub
    Notes
    Trust is a Django app for managing the trust levels of your users. All users start out with a default amount of trust, and as they do good things they gain trust, and as they do bad things they lose trust.
    Unfurl
  • Nginx, Django, and X-Accel-Redirects — The Wellfire Blog
    Notes
    Like Apache’s mod_xsendfile, Nginx’s X-Accel module provides for internal redirects. An x-accel-redirct is internal because instead of redirecting the client’s request to another URL, it redirects the location of Nginx’s request to another resource.
    Unfurl
  • Using Travis-CI with Python and Django - David Cramer's Blog
    Notes
    I’ve been using Travis-CI for a while now. Both my personal projects, and even several of the libraries we maintain at DISQUS rely on it for Continuous Integration. I figured it was about time to confess my undenying love for Travis, and throw up some notes about the defaults we use in our projects.
    Unfurl
  • Travis CI: Building a Python Project
    Notes
    This guide covers build environment and configuration topics specific to Python projects. Please make sure to read our Getting Started and general build configuration guides first.
    Unfurl
  • Django Development Server with HTTPS - xster.net - Never relearn twice
    Notes
    Sometimes you can’t avoid using HTTPS right starting from development (such as for developing Facebook canvas applications). You can setup Apache on your local machine and go through a bunch of trouble setting up your domain and setting up the certificate etc but there’s an easy way of using Django’s python manage.py runserver to work with HTTPS.
    Unfurl
  • Simple API Key Generation in Python
    Notes
    Without too much complication or any hardware source of randomness, this seems like a reasonable method for API key generation.
    Unfurl
  • Why Django Sucks, Except When It Doesn’t « Coffee on the Keyboard
    Notes
    If you’re prototyping a new project, or if you’re a start-up and need to ship something, or if you’re just one person working on a little app with a few (even a few tens of thousands) of users, odds are that none of those benefits are worth losing the nice stuff Django gives you, or the time it takes to build APIs (even using existing apps to do it) or abstraction layers between the silos.
    Feed
    Unfurl
  • phalt/DjangoPi · GitHub
    Notes
    A one click Django installation for Raspberry Pi
    Unfurl
  • Localization — Kitsune master documentation
    Notes
    Making strings in templates localizable is exceptionally easy. Making strings in Python localizable is a little more complicated. The short answer, though, is just wrap the string in _().
    Unfurl
  • Custom Admin Views and Reversing Django Admin URLs - Ian Lewis
    Notes
    The key parts are the get_urls function and the admin_update_feeds view. The get_urls method returns the urls for this admin to which we are adding our custom view. The custom view does the updating of the lifestream feeds and returns the user to the Item model's changelist view. We get the url for that view by calling reverse with the pattern "<namespace>:<app>_<model>_changelist" which in our case is "admin:lifestream_item_changelist" since the django admin uses the admin namespace.
    Unfurl
  • dulwich - Python implementation of Git — dulwich 0.8.4 documentation
    Notes
    It aims to give an interface to git repos (both local and remote) that doesn’t call out to git directly but instead uses pure Python.
    Unfurl
  • Run your own Sync Server — Mozilla Services
    Notes
    The easiest way to install a Sync Server is to checkout our repository and run a build in-place. Once this is done, Sync can be run behind and Web Server that supports the WSGI protocol.
    Unfurl
  • Python | Bernstein Bear
    Notes
    Sometimes, just to screw with people, I will rewrite .bashrc to contain only: echo "Python 2.6.6 (r266:84374, Aug 31 2010, 11:00:51) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information." export PS1=">>> " trap bashtrap INT bashtrap() { echo -n " KeyboardInterrupt" }
    Unfurl
  • Pelican — Pelican v2 documentation
    Notes
    Pelican is a simple weblog generator, writen in python.
    Unfurl
  • blockdiag - simple diagram images generator — blockdiag 1.0 documentation
    Notes
    blockdiag and its family generate diagram images from simply text file:
    Unfurl
  • JacobOscarson/py-rfc2397 - GitHub
    Notes
    A Python RFC2397 ("data url") implementation
    Unfurl
  • pyTivo - Wiki
    Notes
    pyTivo is both an HMO and GoBack server. Similar to TiVo Desktop, pyTivo loads many standard video compression codecs and outputs mpeg2 video to the TiVo. However, pyTivo is able to load many more file types than TiVo Desktop.
    Unfurl
  • Pipe: Infix syntax for Python | {Dev Tricks}
    Notes
    Pipe is a Python module enabling infix syntax in Python.
    Unfurl
  • File Conveyor — fileconveyor.org — github.com/wimleers/fileconveyor
    Notes
    File Conveyor is a daemon written in Python to detect, process and sync files. Designed to sync files to CDNs. Amazon S3 & CloudFront and Rackspace Cloud Files, as well as any Origin Pull CDN or FTP Push CDN are supported.
    Unfurl
  • sync-server: Summary
    Notes
    Firefox Sync server in Python
    Unfurl
  • /django/trunk/tests/regressiontests/file_uploads/uploadhandler.py - Django - Trac
    Notes
    This test upload handler terminates the connection if more than a quota (5MB) is uploaded.
    Unfurl
  • Ned Batchelder: Global Django requests
    Notes
    "As my Django sites get larger and larger, there inevitably comes a point where I want access to the current request from deep inside some function that doesn't have the request object. The latest reason was that I wanted a model class helper to have access to the session so it could access some debug flags.<br /> <br /> "
    Feed
    Unfurl