Bookmark
Argh: The Natural CLI
https://pythonhosted.org/argh/, posted 2 Sep by peter in development free opensource python reference
Argh provides a wrapper for argparse. Argparse is a very powerful tool; Argh just makes it easy to use.
Bookmark
ollama_email_summariser
https://github.com/nicklansley/ollama_email_summariser, posted 31 Aug by peter in ai email free nlp opensource python
The Email Summariser is a Python script designed to automatically retrieve, process, categorize, and summarize emails using AI models. It leverages Gmail for email fetching and ollama for AI-powered categorization and summarization.
Bookmark
Python Practical Package Packing 2024
https://matt.sh/python-project-structure-2024, posted Jul '24 by peter in development howto python reference toread
requirements.txt
(or “requirements insetup()
call”) is not a valid way to manage dependencies — and it hasn’t been for the past 5+ years. If you are still usingrequirements.txt
it shows you need professional help. luckily, i’m a professional.Let’s go over some bad / good / example practices for living your best python life in 2024.
Bookmark
Python API - LLM
https://llm.datasette.io/en/stable/python-api.html, posted 2023 by peter in ai development free python software
LLM provides a Python API for executing prompts, in addition to the command-line interface.
[...]
To run a prompt against the
gpt-3.5-turbo
model, run this:import llm model = llm.get_model("gpt-3.5-turbo") model.key = 'YOUR_API_KEY_HERE' response = model.prompt("Five surprising names for a pet pelican") print(response.text())
Bookmark
lucidrains/deep-daze: Simple command line tool for text to image generation
https://github.com/lucidrains/deep-daze, posted 2021 by peter in ai free graphics opensource python software
Bookmark
GitHub - mistio/mist.io: mist.io is an open platform for managing heterogeneous infrastructures
https://github.com/mistio/mist.io, posted 2016 by peter in development free management opensource python software virtualization
Mist.io helps you manage and monitor your virtual machines, across different clouds, using any device that can access the web.
Bookmark
Locust - A modern load testing framework
locust.io/, posted 2015 by peter in free opensource performance python software testing
Define user behaviour with Python code, and swarm your system with millions of simultaneous users.
Bookmark
Rewriting Reddit (Aaron Swartz's Raw Thought)
www.aaronsw.com/weblog/rewritingreddit, posted 2014 by peter in development framework opinion python toread
Python, on the other hand, has problems of its own. The biggest is that it has dozens of web application frameworks, but none of them are any good. Pythonists are well aware of the first part but apparently not of the second, since when I tell them that I’m using my own library, the universal response is “I don’t think Python needs another web application framework”. Yes, Python needs fewer web application frameworks. But it also needs one that doesn’t suck.
Bookmark
wooorm/franc
https://github.com/wooorm/franc, posted 2014 by peter in development free language nlp opensource python software
Detect the language of text.
Bookmark
Who has the best package manager? Part one
perltricks.com/article/110/2014/8/21/Who-has-the-best-package-manager--Part-one, posted 2014 by peter in development javascript perl php python review ruby
Every major language has thousands of libraries which enable programmers to reach higher, further and faster than before. Package managers (the online systems for sharing code) are key to a language's success; Perl, PHP, Python, Ruby and Node.js all have strong offerings. But which one is the best and what can we learn from each of them? This article is the first in a two-part series where I review each package manager. Part one focuses on searching and using packages and part two will look at how easy it is to upload and share packages.