Latest / Developer tools

Refurb

github.com · Package · Active

Tool that modernizes Python codebases

Visit github.com ↗Share

Stars
2.5k
Forks
63
Open issues
31
Last commit
Releases
37
Found
4 years ago

GitHub figures as of . They are context, not a ranking.

Refurb is a Python tool for refurbishing and modernizing Python codebases, flagging code that can be updated to newer idioms. It suits developers who want to bring older Python projects up to date.

Repository description on GitHub: “A tool for refurbishing and modernizing Python codebases”

What it does

  • Flags Python code that can use newer idioms
  • Reports fixes with error codes such as FURB101
  • Explains each check with the --explain option

Good for

  • Modernize an older Python project to newer idioms
  • Check a file or folder for outdated Python patterns
  • Look up why a check flags a line with --explain

Suits: Python developers who want to update older projects.

Worth knowing: Must run on Python 3.10 or newer, though it can check Python 3.7+ code

What you can try

Read the README on GitHub and install from source.

Install

pip install refurb
pipx install refurb

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Refurb on , when dosisod posted it to Show HN. The oldest published release on GitHub is v1.1.0, dated . Its first tagged release landed the same day it was found. 37 releases have been published in total; the latest is v2.3.1 ().

Day-7 and day-30 updates

Day 7 2 releases shipped

  • 2 releases in the first 7 days: v1.1.0 (28 Sep 2022), v1.2.0 (1 Oct 2022)
  • Show HN discussion at check time: 123 points, 105 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 4 releases shipped

  • 4 releases in the first 30 days: v1.1.0 (28 Sep 2022), v1.2.0 (1 Oct 2022), v1.3.0 (6 Oct 2022), v1.4.0 (17 Oct 2022)
  • Show HN discussion at check time: 123 points, 105 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (4 in total, busiest month 1). Based on the most recent releases on record.
  1. Repository created on GitHub: dosisod/refurb
  2. Found: dosisod posted it to Show HN. Show HN
  3. Release v1.1.0
  4. Release v1.28.0
  5. Release v2.0.0
  6. Release v2.1.0
  7. Release v2.2.0
  8. Release v2.3.0
  9. Release v2.3.1
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 37 releases. All releases on GitHub

Quick answers

When was Refurb released?
Its first tagged release on GitHub is dated 28 Sep 2022. Kip found it on Show HN on 28 Sep 2022.
Is Refurb open source?
Its source is public on GitHub at dosisod/refurb under the GPL-3.0 licence.
What does Refurb run on?
Command line.
Is Refurb free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Refurb still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorydosisod/refurb
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-33003929. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.