Skip to main content

CLI tool to list and classify Python imports in a project.

Project description

importscanner

A lightweight CLI tool to list and classify Python imports: standard library, pip-installed (third-party), and local modules.

📦 Features

  • Detects and lists:
    • ✅ Standard Library imports
    • ✅ Third-Party (pip-installed) packages
    • ✅ Local custom modules
  • Optionally generates requirements.txt
  • Works on any Python project
  • Clean logging to console and file (importscanner.log)
  • Handles syntax errors, broken files, and missing packages gracefully

🚀 Installation

# From PyPI (once published)
pip install importscanner

# Or clone and install locally
git clone https://github.com/harshmeet-1029/importscanner.git.git
cd importscanner
pip install .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_import_scanner-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_import_scanner-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file py_import_scanner-0.1.0.tar.gz.

File metadata

  • Download URL: py_import_scanner-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for py_import_scanner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2cf04cbbc39474d850ae9b8c31e1a416e3bab6af0f2f56e387651c0a428fee4d
MD5 38a213aa95b7888820325e1ec2869eb8
BLAKE2b-256 670d2ab2b752d5507d1bd98d82ba3a63e6b14ce8206b00e787de185bde6fed96

See more details on using hashes here.

File details

Details for the file py_import_scanner-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for py_import_scanner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cae0c18a4baaa2070ae96296a69348598d459fba888847f00251dc65df5474ec
MD5 b6f0f57383fb09cfa1f3b8dcb4dd945f
BLAKE2b-256 a6b269a49509f56ca24efaf48ea2589fafa90bf5570e2c51bd91715ce9225cd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page