[HN Gopher] Show HN: Strict interfaces and dep management for Py...
       ___________________________________________________________________
        
       Show HN: Strict interfaces and dep management for Python, written
       in Rust
        
       Tach is a pip package that lets you define module boundaries,
       automatically detect all cross-module dependencies, and then
       validate and enforce those dependencies.  It also supports strict
       interfaces for modules by overloading `__all__`.  The core static
       analysis is done in Rust, so all Tach commands run quickly.  The
       goal of Tach is to help eng teams maintain velocity while scaling
       quickly, something we've seen break down a number of times. Give it
       a try!
        
       Author : the1024
       Score  : 17 points
       Date   : 2024-08-26 16:58 UTC (6 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | claytonjy wrote:
       | Looks interesting, but I'm having a hard time understanding what
       | this does that isn't covered by the ruff rules checking for uses
       | of private functions or classes.
       | 
       | It seems you can define an extra level of who's allowed to import
       | what...but why would I want to add that on top rather than using
       | standard conventions? Why would I want to let foo import baz, but
       | not let bar import baz?
        
       ___________________________________________________________________
       (page generated 2024-08-26 23:00 UTC)