Top all-time · #4533
Sourcery blog
Company blog · sourcery.ai/blogprogrammingai
Sourcery blog is the company blog at sourcery.ai, writing about programming and ai. Since 2019, 17 different Hacker News readers have linked it 60 times, most often “Show HN: Sourcery – It's not magic, just powerful instant refactoring for Python”. It is still writing: the last post was on 2025-10-23, and you can follow it by feed.
Too few sampled comments (7) to say how often HN recommends it.?
Why HN links it
HN readers link Sourcery's blog for Python project guidance, such as a best-practices guide for new projects and an article on keeping clean architecture with dependency rules, often alongside discussion of Sourcery's refactoring tool.
Summarised by Claude from a sample of 7 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
AI code review that finds more issues than any other AI reviewer. Demand perfection from your coding agents. Try Sourcery free!
Most-linked posts?
- Show HN: Sourcery – It's not magic, just powerful instant refactoring for Python3 people · 4 mentions · first linked 2021-07-07
- How to set up a perfect Python project3 people · 3 mentions · first linked 2019-08-26
- Code Review: What and What Not to Automate?3 people · 3 mentions · first linked 2023-03-06
- Generating Code Without Generating Technical Debt?3 people · 3 mentions · first linked 2023-06-19
- Show HN: Sourcery – Automated Refactoring for Python2 people · 3 mentions · first linked 2019-12-10
- Working memory: metric for state a programmer needs to keep in their head2 people · 3 mentions · first linked 2023-06-23
- Is your code too complicated?2 people · 2 mentions · first linked 2022-02-03
What Hacker News says?
Totally agree - we’re working on this at https://sourcery.ai
Comment linking /
on “How I program with agents”Submitted How to set up a perfect Python project as a story · 76 points
HN discussionI find myself coming back to this guide whenever I set up a new project: https://sourcery.ai/blog/python-best-practices/
Comment linking /blog/python-best-practices/
on “Structuring Your Project”Submitted Trying out the panel-of-experts prompting strategy for LLMs as a story · 46 points
HN discussionAre the authors aware of Sourcery[^1]? I've been using it for a long time to clean up and modernize my Python codebases, and am wondering how Refurb can either supplant Sourcery or augment my usage of it? --- [^1]: https://sourcery.ai/
Comment linking /
on “Show HN: Refurb – A tool for refurbishing and modernizing Python codebases”Submitted Chatting with Sebastian Witowski: Code Standards, Tooling, and Working in Teams as a story · 37 points
HN discussion> So now I have two different black calls: in the pre-commit hook and in the CI/CD. And they must be of the same version. > Can the framework run off the venv dir? It can, but it means not using the hooks from the tool's repo and writing your own. This blog post [0] shows the pipenv version of some common hooks; mine look the same but s/pipenv/poetry. If there's a way to use the upstream hooks with your local venv,…
Comment linking /blog/python-best-practices/
on “Pre-commit: framework for managing/maintaining multi-language pre-commit hooks”Submitted Zero-Cost Exceptions and Error Interfaces as a story · 36 points
HN discussionTo those that wish to automate a subset of these conventions, there is a tool called Sourcery[1] that I, personally, am a huge fan of! Not only does it have a large set of default rules[2], but it can also allow you to write your own rules that may be specific to your team or organization, and as mentioned it can enable you to follow Google's Python style guide as well[3]. There are some refactorings that Sourcery s…
Comment linking /
on “Google Python Style Guide”Submitted Show HN: Sourcery – It's not magic, just powerful instant refactoring for Python as a story · 15 points
HN discussionIn my experience, the developer tools that really catch on do so via word of mouth. For example, our whole team recently adopted https://sourcery.ai/ (not an ad) because one developer tried it and hyped it up to everyone else who also liked it. Developers are the best kind of customers if you have PMF - they evangelise and actively enjoy debating toolchains. The hard part is usually building the actually valuable to…
Comment linking /
on “Ask HN: How do you get an open-source product noticed by developers?”Submitted Is your code too complicated? as a story · 11 points
HN discussionA follow-up post: https://sourcery.ai/blog/dependency-architecture/
Comment linking /blog/dependency-architecture/
on “Maintain a Clean Architecture in Python with Dependency Rules”Submitted Chatting with Sebastian Witowski – Part II: Python Community and Developer Tools as a story · 5 points
HN discussionThis (plus Law of Demeter) is the right way to handle medium-big size projects, though I'm not completely sold on the tooling. I mostly do it manually (yes, it is still doable with dozens of modules since dependency hierarchy doesn't change often). One recommendation I have is to present the hierarchy as DAG. Existing image ( https://sourcery.ai/static/05300f06cb847360719e2aa31dc5a31b/... ) doesn't make it very obvi…
Comment linking /static/05300f06cb847360719e2aa31dc5a31b/8c857/dependencies.png
on “Maintain a Clean Architecture in Python with Dependency Rules”Submitted 5 Refactoring tips to improve your code – with tea-based Python examples as a story · 5 points
HN discussionSubmitted Is your code too complicated? as a story · 4 points
HN discussionSubmitted Show HN: Sourcery – Automated Refactoring for Python as a story · 4 points
HN discussionSubmitted A code quality battle between 6 AI agents as a story · 3 points
HN discussionSubmitted Avoiding Performance Killers in Python Loops as a story · 3 points
HN discussionSubmitted Making lunch faster with Python concurrency as a story · 3 points
HN discussionSubmitted Six more ways to improve your Python as a story · 3 points
HN discussionSubmitted GitHub Actions for Perfect Python Continuous Integration as a story · 3 points
HN discussionSubmitted A perfect way to Dockerize your Python application as a story · 3 points
HN discussionSubmitted Sourcery: PyCharm AI refactoring plugin entered beta as a story · 3 points
HN discussionSubmitted Does bad quality code bother agents? as a story · 2 points
HN discussionSubmitted Fighting LLMs to get the types of response you want as a story · 2 points
HN discussionSubmitted Rethinking how we approach code reviews as a story · 2 points
HN discussionSubmitted Working memory: metric for state a programmer needs to keep in their head as a story · 2 points
HN discussionSubmitted Chatting with Will McGugan: From Side Project to Startup as a story · 2 points
HN discussion