import-linter
emerge
import-linter | emerge | |
---|---|---|
4 | 5 | |
623 | 735 | |
- | - | |
7.6 | 5.9 | |
2 months ago | 2 months ago | |
Python | Python | |
BSD 2-clause "Simplified" License | MIT License |
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.
import-linter
-
Kraken Technologies: How we organise our large Python monolith
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
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
-
Linter for Python architecture
import-linter on GitHub
emerge
- Preporuka alata za vizuelizaciju koda
-
Codegraph – static code analyzator / code diagramer
Emerge-viz seems to have multiple languages and cool visuals.
https://github.com/glato/emerge
-
Ask HN: In-editor visual mind map/graph tool for code?
Slightly off topic & very resource intensive diy approach without using an IDE:
Take advantage of an editor's use of on disk file as a buffer[0]. Monitor the editor file buffer for changes[1]. Trigger regeneration of a map/graph update & redisplay changes[2] in different window.
[0] : https://stackoverflow.com/questions/71822798/what-exactly-ar...
[1] : watchdog : https://pypi.org/project/watchdog/
[2] : emerge-vis : https://github.com/glato/emerge
-
what is your opinion on the absolute minimum that needs to exist for a system to be considered “documented”.
Module inter-dependencies diagram(s).
-
Is it possible to generate a flow diagram from Javascript code?
There's no VS Code extension for it AFAIK, but it's the best (and almost only) tool that I know which can do it for JavaScript code. There's also madge and emerge, in case the first one doesn't fit your needs.
What are some alternatives?
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.
dependency-cruiser - Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
smart-imports - smart imports for Python
vermin - Concurrently detect the minimum Python versions needed to run code
tern - Tern is a software composition analysis tool and Python library that generates a Software Bill of Materials for container images and Dockerfiles. The SBOM that Tern generates will give you a layer-by-layer view of what's inside your container in a variety of formats including human-readable, JSON, HTML, SPDX and more.
madge - Create graphs from your CommonJS, AMD or ES6 module dependencies
python-feedstock - A conda-smithy repository for python.
civ6-graph - Dependency graph for entities in Civ VI game.
Django-Styleguide - Django styleguide used in HackSoft projects
mcap - MCAP is a modular, performant, and serialization-agnostic container file format, useful for pub/sub and robotics applications.
sigstore-website - Codebase for sigstore.dev