[PR #824] [CLOSED] Add Pycycle Command-Line-Tool #736

Closed
opened 2025-11-06 13:01:32 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/824
Author: @bndr
Created: 1/30/2017
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • 5aad030 Add Pycycle Command-Line-Tool

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

Code with circular imports in python often raises an obscure Exception (ImportError: Cannot import name X) which tells nothing about the cycle.

I have come across this problem several times, and depending on the project size it becomes problematic to identify where the problem is. This tool shows you the chain of the imports that are causing the problem, after that is up to developer to fix it e.g. move the imports to the bottom, or move the imports inside some function.

What's the difference between this Python project and similar ones?

There are none.

--

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/824 **Author:** [@bndr](https://github.com/bndr) **Created:** 1/30/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`5aad030`](https://github.com/vinta/awesome-python/commit/5aad03088e8968dcb23ba799469db05d154525f6) Add Pycycle Command-Line-Tool ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? Code with circular imports in python often raises an obscure Exception (ImportError: Cannot import name X) which tells nothing about the cycle. I have come across this problem several times, and depending on the project size it becomes problematic to identify where the problem is. This tool shows you the chain of the imports that are causing the problem, after that is up to developer to fix it e.g. move the imports to the bottom, or move the imports inside some function. ## What's the difference between this Python project and similar ones? There are none. -- Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:01:32 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#736