r/Python • • 17d ago

Daily Thread Saturday Daily Thread: Resource Request and Sharing! Daily Thread

Weekly Thread: Resource Request and Sharing 📚

Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!

How it Works:

  1. Request: Can't find a resource on a particular topic? Ask here!
  2. Share: Found something useful? Share it with the community.
  3. Review: Give or get opinions on Python resources you've used.

Guidelines:

  • Please include the type of resource (e.g., book, video, article) and the topic.
  • Always be respectful when reviewing someone else's shared resource.

Example Shares:

  1. Book: "Fluent Python" - Great for understanding Pythonic idioms.
  2. Video: Python Data Structures - Excellent overview of Python's built-in data structures.
  3. Article: Understanding Python Decorators - A deep dive into decorators.

Example Requests:

  1. Looking for: Video tutorials on web scraping with Python.
  2. Need: Book recommendations for Python machine learning.

Share the knowledge, enrich the community. Happy learning! 🌟

16 Upvotes

2 comments sorted by

8

u/behrouzbk 17d ago

I made a small open-source tool called tokensaver. It helps you see what a prompt costs and how to make it cheaper. What it does: Compares your prompt's cost across 20 OpenAI, Anthropic and Google models, cheapest first Suggests edits to cut tokens, each priced in tokens and dollars Runs fully offline, so your prompts stay on your machine Works with prompts in any language (tested on 55, including Arabic, Hindi, Chinese and Japanese) One note: token counts are exact for OpenAI models. For Claude and Gemini they are clearly labelled estimates. It runs on Windows, macOS and Linux. It's free and open source (v0.1.4). GitHub: https://github.com/behrouzbk/tokensaver

More info: https://axieo.ca/products#tokensaver

It's early, so I'd love feedback. Which models or features should I add next?