smart-imports VS import-linter

Compare smart-imports vs import-linter and see what are their differences.

import-linter

Import Linter allows you to define and enforce rules for the internal and external imports within your Python project. (by seddonym)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
smart-imports import-linter
1 4
39 623
- -
0.0 7.6
over 2 years ago 2 months ago
Python Python
BSD 3-clause "New" or "Revised" License BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

smart-imports

Posts with mentions or reviews of smart-imports. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-23.

import-linter

Posts with mentions or reviews of import-linter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-15.
  • Kraken Technologies: How we organise our large Python monolith
    1 project | news.ycombinator.com | 18 Jul 2023
    Never heard of https://import-linter.readthedocs.io/ before. Not sure if I like this type of solution, but it's interesting, and certainly the problem is real.
  • Maintain a Clean Architecture in Python with Dependency Rules
    4 projects | news.ycombinator.com | 15 Dec 2022
    Before clicking on this, I expected to see import-linter [0] which achieves something very similar but with, in my opinion, a bit less magic. Another solution in a similar spirit is Pants [1], though this is actually a build system which allows you to constrain dependencies between different artifacts (e.g. which modules are allowed to depend on which modules).

    To Sourcery's credit, their product looks much more in the realm of "developer experience" -- closer to Copilot (or what I understand of it) than to import-linter. Props to them for at least having a page about security [2] and building a solution which doesn't inherently require all of your source code to be shared with a vendor's server.

    [0] https://github.com/seddonym/import-linter

    [1] https://www.pantsbuild.org/

    [2] https://docs.sourcery.ai/Product/Permissions-and-Security/

  • Python 3.11.0 final is now available
    11 projects | news.ycombinator.com | 25 Oct 2022
  • Linter for Python architecture
    2 projects | dev.to | 22 Feb 2021
    import-linter on GitHub

What are some alternatives?

When comparing smart-imports and import-linter you can also consider the following projects:

pyflyby - A set of productivity tools for Python

dephell - :package: :fire: Python project management. Manage packages: convert between formats, lock, install, resolve, isolate, test, build graph, show outdated, audit. Manage venvs, build package, bump version.