r/pythoncoding • • May 30 '22

/r/PythonCoding bi-weekly "What are you working on?" thread

8 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Apr 04 '22

/r/PythonCoding bi-weekly "What are you working on?" thread

8 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Feb 08 '22

Open-source tool to make awesome-looking docs

8 Upvotes

https://mkdocs-magicspace.alnoda.org/

This is a free tool I made with tutorials, that help to make beautiful docs for any coding project and host on GitHub pages.


r/pythoncoding • • Jan 10 '22

/r/PythonCoding bi-weekly "What are you working on?" thread

8 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Dec 26 '21

How do i find all pipenvs i created on my computer? (windows10)

8 Upvotes

how do i find all pipenvs I created on my computer.. last week i created and forgot their exact location


r/pythoncoding • • Nov 29 '21

/r/PythonCoding bi-weekly "What are you working on?" thread

8 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Nov 23 '21

I built this Terminal Based Comp Sci Quiz when I was prepping for my FB interview and I didn’t want to get caught studying at work.

Thumbnail
github.com
8 Upvotes

r/pythoncoding • • Nov 01 '21

/r/PythonCoding bi-weekly "What are you working on?" thread

8 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Aug 14 '21

Introducing the Python Launcher for Unix

Thumbnail
snarky.ca
8 Upvotes

r/pythoncoding • • Jul 12 '21

/r/PythonCoding bi-weekly "What are you working on?" thread

8 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Jun 14 '21

/r/PythonCoding bi-weekly "What are you working on?" thread

8 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Mar 22 '21

/r/PythonCoding bi-weekly "What are you working on?" thread

8 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Feb 17 '21

See how my tool visualizes Python code - and shows bugs in the code base.

8 Upvotes

I am sorry if my post doesn't sound like an innovation to you, but would like you to take a look at our tool as it evolved out of a research project! I thought people in this subreddit might be interested :) Oh and yes! Anyone can use it!

The repository I used is: https://metabob.com/gh/galt2x/sherlock

The program works best on Google Chrome, If you would like to check out the website, I linked it here.


r/pythoncoding • • Dec 29 '20

Program Synthesis is Possible (2018) - An exploration of writing a DSL for the Z3 constraint solver

Thumbnail
cs.cornell.edu
8 Upvotes

r/pythoncoding • • Dec 06 '17

declarative_parser - argparse with declarative syntax, parallel subgroups, and autogeneration

Thumbnail
github.com
8 Upvotes

r/pythoncoding • • Sep 30 '15

The incredibly challenging task of sorting by colour

Thumbnail
alanzucconi.com
8 Upvotes

r/pythoncoding • • Jan 09 '26

[Showcase] Immich AutoTag – New: Instant CLI, Auto-Album Creation, Auto Date Fix, Smart Tagging & More!

7 Upvotes

Hi everyone! I’m excited to share a major new release of Immich AutoTag, the open-source tool for automatic photo and video classification and tagging in Immich.

What’s new and improved in this release?

- 🚀 Instant CLI from PyPI: Run Immich AutoTag instantly with `pipx run immich-autotag` – no manual setup or environment creation required.
- 📝 Quick Start & User-Focused Docs: Clear, user-friendly documentation and a streamlined Quick Start guide.
- 🛠️ Flexible Configuration: Now supports both YAML and Python config files, with self-documented templates for easy customization.
- 🏷️ Advanced Tagging & Album Logic: Automatic classification based on albums, tags, and duplicates.
- 🕒 Automatic Date Repair: Detects and fixes incorrect or missing dates for your assets based on filenames and duplicate analysis.
- ⚠️ Conflict Detection: Instantly highlights assets with conflicting classifications, so you can resolve issues quickly.
- ❓ Unclassified Asset Detection: Easily find which photos or videos remain unorganized or unclassified.
- 🔄 Continuous Tagging Script: New loop script for continuous asset tagging/classification during heavy editing sessions.
- 📊 Detailed Logs & Statistics: Automatic generation of modification reports and statistics for tracking your library’s organization.
- 🗂️ Exclude Assets by Web Link: Easily exclude specific assets from processing.
- 🗃️ Automatic Album Creation from Folders: Now stable and enabled by default!
- 🐳 (Experimental) Docker Support: Early Docker image available for testing (not yet officially documented).

Why use Immich AutoTag?
- Save hours organizing large photo libraries.
- Instantly detect unclassified or conflicting assets.
- Automate repetitive tagging and album management tasks.
- Keep your photo dates accurate and consistent.

Get Started
- See the [README](https://github.com/txemi/immich-autotag#quick-start) for instant setup instructions.
- Full changelog: [CHANGELOG.md](https://github.com/txemi/immich-autotag/blob/main/CHANGELOG.md)

Feedback & Support
- Questions, issues, or feature requests? Open a ticket on [GitHub Issues](https://github.com/txemi/immich-autotag/issues).

Previous Reddit discussion: https://www.reddit.com/r/immich/comments/1pse1qk/comment/nvcmpf0/

For a super simple, non-technical explanation of what Immich AutoTag does, see: [Explain Like I'm 5 (ELI5)](https://github.com/txemi/immich-autotag/blob/main/docs/explain-like-im-5.md)

Thank you for your support and feedback!

Hi everyone! I’m excited to share a major new release of Immich AutoTag, the open-source tool for automatic photo and video classification and tagging in Immich.

What’s new and improved in this release?

- 🚀 Instant CLI from PyPI: Run Immich AutoTag instantly with `pipx run immich-autotag` – no manual setup or environment creation required.
- 📝 Quick Start & User-Focused Docs: Clear, user-friendly documentation and a streamlined Quick Start guide.
- 🛠️ Flexible Configuration: Now supports both YAML and Python config files, with self-documented templates for easy customization.
- 🏷️ Advanced Tagging & Album Logic: Automatic classification based on albums, tags, and duplicates.
- 🕒 Automatic Date Repair: Detects and fixes incorrect or missing dates for your assets based on filenames and duplicate analysis.
- ⚠️ Conflict Detection: Instantly highlights assets with conflicting classifications, so you can resolve issues quickly.
- ❓ Unclassified Asset Detection: Easily find which photos or videos remain unorganized or unclassified.
- 🔄 Continuous Tagging Script: New loop script for continuous asset tagging/classification during heavy editing sessions.
- 📊 Detailed Logs & Statistics: Automatic generation of modification reports and statistics for tracking your library’s organization.
- 🗂️ Exclude Assets by Web Link: Easily exclude specific assets from processing.
- 🗃️ Automatic Album Creation from Folders: Now stable and enabled by default!
- 🐳 (Experimental) Docker Support: Early Docker image available for testing (not yet officially documented).

Why use Immich AutoTag?
- Save hours organizing large photo libraries.
- Instantly detect unclassified or conflicting assets.
- Automate repetitive tagging and album management tasks.
- Keep your photo dates accurate and consistent.

Get Started
- See the [README](https://github.com/txemi/immich-autotag#quick-start) for instant setup instructions.
- Full changelog: [CHANGELOG.md](https://github.com/txemi/immich-autotag/blob/main/CHANGELOG.md)

Feedback & Support
- Questions, issues, or feature requests? Open a ticket on [GitHub Issues](https://github.com/txemi/immich-autotag/issues).

Previous Reddit discussion: https://www.reddit.com/r/immich/comments/1pse1qk/comment/nvcmpf0/

For a super simple, non-technical explanation of what Immich AutoTag does, see: [Explain Like I'm 5 (ELI5)](https://github.com/txemi/immich-autotag/blob/main/docs/explain-like-im-5.md)

Thank you for your support and feedback!


r/pythoncoding • • Jun 04 '25

/r/PythonCoding monthly "What are you working on?" thread

7 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.


r/pythoncoding • • Aug 13 '24

Comments from my professor

7 Upvotes

I have been coding for a long time in Python, but I recently started college to get my bachelor's. My teacher made these comments, and I am not sure how to improve. While I did not get a bad grade, he deducted points, and dont want to make the same mistake.

Cmmments from my teacher:

Your code is clear and easy to understand—great job!

  • Consider adding more comments to explain complex parts of your code.

  • The readability of your code is good, but could be improved with more spacing and indentation

Questions:

How can I add more indentations with Python, as it needs to be indented in a certain way?

What comments can I make about the code, specifically the "complex " parts, as this is a basic example and not complex?

My code: 
class BudgetCalculator:
    def __init__(self):
        self.monthly_income = 0
        self.fixed_expenses = 0
        self.variable_expenses = []

    def gather_user_data(self):
        try:
            self.monthly_income = float(input("Enter your monthly income: "))
            self.fixed_expenses = float(input("Enter your fixed monthly expenses (e.g., rent, utilities): "))
            
            while True:
                var_expense = input("Enter a variable expense (or type 'done' to finish): ")
                if var_expense.lower() == 'done':
                    break
                expense = float(var_expense)
                if expense < 0:
                    print("Expense cannot be negative, please re-enter.")
                else:
                    self.variable_expenses.append(expense)
        except ValueError:
            print("Invalid input. Please enter numeric values.")

    def calculate_total_variable_expenses(self):
        return sum(self.variable_expenses)

    def calculate_remaining_budget(self):
        total_variable_expenses = self.calculate_total_variable_expenses()
        if self.fixed_expenses < 0 or total_variable_expenses < 0:
            raise ValueError("Expenses cannot be negative.")
        if self.monthly_income < (self.fixed_expenses + total_variable_expenses):
            raise ValueError("Expenses exceed income.")
        remaining_budget = self.monthly_income - (self.fixed_expenses + total_variable_expenses)
        return remaining_budget

    def display_result(self):
        try:
            remaining_budget = self.calculate_remaining_budget()
            print(f"Your remaining budget for the month is: ${remaining_budget:.2f}")
        except ValueError as e:
            print(e)

def main():
    budget_calculator = BudgetCalculator()
    budget_calculator.gather_user_data()
    budget_calculator.display_result()

if __name__ == "__main__":
    main()

r/pythoncoding • • Jul 30 '24

Maelstrom 0.11.0 – Clustered Test Runner, Now with Improved UI and Golang Support

Thumbnail
self.python
7 Upvotes

r/pythoncoding • • Jul 12 '24

PySkyWiFi: completely free, unbelievably stupid wi-fi on long-haul flights

Thumbnail
robertheaton.com
7 Upvotes

r/pythoncoding • • May 17 '24

Using Python, Sentiment Analysis and the Twitter API to see who won the Rap Beef with Drake and Kendrick

7 Upvotes

I created a Twitter Sentiment Analysis tool that looked at recent tweets to determine if Kendrick Lamar or Drake won the rap Beef. The package I used was called twitter-roberta-base-sentiment. In conjunction with panadas the sentiment of positive, Negative or Neutral which was seen as the highest from the algorithm was used for the tweet. I also created a word cloud in the video which game some further insight to what people were saying. The tool to interpret the data is pandas: https://pypi.org/project/pandas/

link to the full video is below if you are interested but any tips or ideas to further expand on this piece in the future or to use this on other areas is greatly appreciated :)

Link: https://www.youtube.com/watch?v=5FtfVBpbpG8


r/pythoncoding • • Mar 01 '24

A template to create chatbots or LLM-based web applications using only Python that I made. It's currently trending on GitHub!

Thumbnail
github.com
7 Upvotes