HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
dosisod
refurb
Python2022–2022
dosisod / refurb

refurb

A tool for refurbishing and modernizing Python codebases

2Distinct people
4Mentions
0Explicit recommenders
2.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A tool for refurbishing and modernizing Python codebases

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour4 dated mentions

Observed mentions: 2022-09-28 03:27:41 UTC to 2022-09-28 17:54:53 UTC.

0122022-09-28 03:00:00 UTC to 2022-09-28 04:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsSep 28, 03:002022-09-28 04:00:00 UTC to 2022-09-28 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 05:00:00 UTC to 2022-09-28 06:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-09-28 06:00:00 UTC to 2022-09-28 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 07:00:00 UTC to 2022-09-28 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 08:00:00 UTC to 2022-09-28 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 09:00:00 UTC to 2022-09-28 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 10:00:00 UTC to 2022-09-28 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 28, 10:002022-09-28 11:00:00 UTC to 2022-09-28 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 12:00:00 UTC to 2022-09-28 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 13:00:00 UTC to 2022-09-28 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 14:00:00 UTC to 2022-09-28 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 15:00:00 UTC to 2022-09-28 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 16:00:00 UTC to 2022-09-28 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 17:00:00 UTC to 2022-09-28 18:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 28, 17:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 28, 03:002022-09-28 03:00:00 UTC2022-09-28 04:00:00 UTC110
Sep 28, 04:002022-09-28 04:00:00 UTC2022-09-28 05:00:00 UTC000
Sep 28, 05:002022-09-28 05:00:00 UTC2022-09-28 06:00:00 UTC202
Sep 28, 06:002022-09-28 06:00:00 UTC2022-09-28 07:00:00 UTC000
Sep 28, 07:002022-09-28 07:00:00 UTC2022-09-28 08:00:00 UTC000
Sep 28, 08:002022-09-28 08:00:00 UTC2022-09-28 09:00:00 UTC000
Sep 28, 09:002022-09-28 09:00:00 UTC2022-09-28 10:00:00 UTC000
Sep 28, 10:002022-09-28 10:00:00 UTC2022-09-28 11:00:00 UTC000
Sep 28, 11:002022-09-28 11:00:00 UTC2022-09-28 12:00:00 UTC000
Sep 28, 12:002022-09-28 12:00:00 UTC2022-09-28 13:00:00 UTC000
Sep 28, 13:002022-09-28 13:00:00 UTC2022-09-28 14:00:00 UTC000
Sep 28, 14:002022-09-28 14:00:00 UTC2022-09-28 15:00:00 UTC000
Sep 28, 15:002022-09-28 15:00:00 UTC2022-09-28 16:00:00 UTC000
Sep 28, 16:002022-09-28 16:00:00 UTC2022-09-28 17:00:00 UTC000
Sep 28, 17:002022-09-28 17:00:00 UTC2022-09-28 18:00:00 UTC101

What Hacker News says

4 sources
In addition to some of the other answers about the match statement, mCoding has this excellent video[0] explaining the match statement, specifically using it to match complex AST trees, like Refurb does. Note, not all of these checks use the match statement[1], sometimes it is more verbose to use a match statement vs a normal if/else statement. [0]: https://youtu.be/ASRqxDGutpA?t=470 [1]: https://github.com/dosisod/refurb/blob/master/refurb/checks/...
In Show HN: Refurb – A tool for refurbishing and modernizing Python codebases
Thank you! I have found that pattern matching has made this project a whole lot easier. One of the other cool features about this project is how the check() functions are loaded based off the type of the node argument: https://github.com/dosisod/refurb/blob/master/refurb/loader.... This also supports type unions, so you can register your check for binary and unary expressions by typing node as `BinaryExpr | UnaryExpr`.
In Show HN: Refurb – A tool for refurbishing and modernizing Python codebases

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.