SaaSHub helps you find the best software and product alternatives Learn more →
Top 7 Python Snippet Projects
-
-
ultisnips
UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
I always like people's LaTeX-based note taking setups. I'm a mathematician, so I write a lot of LaTeX too. (And I use vim, so I really like vim+Latex workflows).
It's interesting that this post (or rather, the later post that discusses this) talks about the advantages of UltiSnips. The well-known vim-LaTeX posts written by Gilles Castel (RIP) relied pivotally on UltiSnips.
It's not just that UltiSnips is a snippet engine. There are many of those (including LuaSnip, the other snippet engine mentioned in the OP series of articles). It's that UltiSnips can dispatch arbitrary expressions to short python code sections, and python has a great scientific library. For example, it's trivial to write a `sympy` snippet that will simplify or compute a given expression and write the output in latex for you.
But UltiSnips works *terribly* with neovim [1] [2]. Why? Because UltiSnips uses python, and neovim's python interface is 100x slower than vim's python interface. There are design decisions for this and I'm not trying to say that neovim is bad. I use both vim and neovim. But I use vim+UltiSnips+vimtex for writing LaTeX.
LuaSnip has interpolation too. I suppose it would be possible to write more code that calls from LuaSnip to a system like sympy (or other). But that's work. On the other hand, I think it takes a true power user to actually want or use the fancy interpolation functions.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
I would also recommend only really using the nVim setup from your links if you really like Vim. IMO VSCode is much easier and feature-rich for LaTeX, not to mention the deep language support for everything else. Here is a setup in VSCode that contains some other tools that you may not need, but it works very well for the needs of myself and some of my collaborators.
-
Project mention: Just found out that you can send SMS texts for free | news.ycombinator.com | 2023-12-17
I came across this python script (https://github.com/acamso/demos/blob/master/_email/send_txt_msg.py) line and saw that you can send SMS texts programmatically just by sending an email to your mobile carrier.
-
-
FAS-3-Application-Factory
A repo that contains a working example of Flask using the Application Factory pattern.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Python Snippets related posts
- Looking for tutorials / Hello world projects to create Neovim plugins using Pynvim
- What the Fuck Python?
- UltiSnips – Snippet Solution for Vim
- Is LaTeX Required/Recommended in Computer Science Courses?
- Valid Python syntax – by Nobody has time for Python
- Multidimensional lists creation, why the weird behavior
- Minimalistic neovim/vim with batteries included ?
-
A note from our sponsor - SaaSHub
www.saashub.com | 18 Apr 2024
Index
What are some of the best open-source Snippet projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | wtfpython | 35,015 |
2 | ultisnips | 7,419 |
3 | pytips | 421 |
4 | VSCode-LaTeX-Inkscape | 271 |
5 | demos | 49 |
6 | pythonetc | 36 |
7 | FAS-3-Application-Factory | 3 |