Python Snippets

Open-source Python projects categorized as Snippets

Top 8 Python Snippet Projects

  1. wtfpython

    What the f*ck Python? 😱

    Project mention: Ask HN: Is there any programming language that doesn't have WTFs? | news.ycombinator.com | 2025-04-21

    After reading this page:

    https://github.com/satwikkansal/wtfpython?tab=readme-ov-file#-needles-in-a-haystack-

    I wonder if there's any language that thought about all edge cases and avoided exceptions and such gotchas at the design level.

    JS is notorious for such WTFs but even Python—which I've used for over a decade now—has surprised me countless times.

    Is Haskell also like that? How about Lisps (CL, Racket, Clojure, Scheme, etc.)?

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. ultisnips

    UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!

    Project mention: C++ Template Macroprogramming versus Lisp Macros | news.ycombinator.com | 2024-11-15

    Let’s say, you’re writing a web application. In most programming language you’d be using libraries or rely on a framework. With Lisp macros, you can program the archetype of a web application. And then use a simpler language to describe you application. Think of it as programmable snippets. Something like Ultisnips [0], but inherent to the language.

    [0]: https://github.com/SirVer/ultisnips

  4. VSCode-LaTeX-Inkscape

    ✍️ A way to integrate LaTeX, VS Code, and Inkscape in macOS

  5. pytips

    Python Tips contains code snippets that will help you learn Python

  6. demos

    Demonstrative scripts (by acamso)

  7. pythonetc

    Posts about Python stdlib, syntax, and internals

  8. vscode-cloudformation-snippets

    This extension adds snippets for all the AWS CloudFormation resources into Visual Studio Code.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. FAS-3-Application-Factory

    A repo that contains a working example of Flask using the Application Factory pattern.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Snippets discussion

Log in or Post with

Python Snippets related posts

  • Ask HN: Is there any programming language that doesn't have WTFs?

    1 project | news.ycombinator.com | 21 Apr 2025
  • What the Fuck Python

    1 project | news.ycombinator.com | 7 Jan 2025
  • Layman's Guide to Python Built-In Functions ¡ Matt Layman

    1 project | news.ycombinator.com | 4 Sep 2024
  • Looking for tutorials / Hello world projects to create Neovim plugins using Pynvim

    4 projects | /r/neovim | 10 Dec 2023
  • What the Fuck Python?

    1 project | news.ycombinator.com | 27 Aug 2023
  • UltiSnips – Snippet Solution for Vim

    3 projects | news.ycombinator.com | 16 Aug 2023
  • Is LaTeX Required/Recommended in Computer Science Courses?

    1 project | /r/LaTeX | 1 Jul 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 18 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Snippet projects in Python? This list will help you:

# Project Stars
1 wtfpython 36,219
2 ultisnips 7,614
3 VSCode-LaTeX-Inkscape 434
4 pytips 425
5 demos 53
6 pythonetc 39
7 vscode-cloudformation-snippets 28
8 FAS-3-Application-Factory 4

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?