Skip to main content

A package to track your imports

Project description

importsearch

importsearch is a tool for scanning and auditing your Python scripts for all imported modules. It helps you quickly understand your project's dependencies by parsing your source files and listing every module that is imported.

Features

  • Dependency Audit: Provides a clear list of external libraries and modules your project relies on.

installs

PyPI Downloads

Installation

You can install importsearch using pip:

pip install importsearch

Usage

Function Form (preferred)

absolute path to the target file is preferred

import importsearch

target_file = 'path/to/your/file.py'
importsearch.search(target_file)

class Form

import importsearch
target_file = 'path/to/your/file.py'
search = importsearch(target_file, debug=True)
search.search()

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

importsearch-0.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

importsearch-0.1.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file importsearch-0.1.2.tar.gz.

File metadata

  • Download URL: importsearch-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for importsearch-0.1.2.tar.gz
Algorithm Hash digest
SHA256 631b60e86f97b6cb4a1a0f5966600dfd43aa1c142cde0312a338e90e45b58b11
MD5 efba90ad74da1ad75d95a86849487056
BLAKE2b-256 d9b3b58e45af9bcd68201333b40c3c26a45b5b0e2f4e19b533e145552f8bfc3d

See more details on using hashes here.

File details

Details for the file importsearch-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: importsearch-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for importsearch-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d68fcd82a3e5ec5bd761b2e41775b2f0ed6282e0cc41e895728e725bd128fe26
MD5 92673bc2e8822b33c0cad411e0347d3d
BLAKE2b-256 8e605f03607caf5ccdf9adb698abea5e472598cc21517c8f678290d880864983

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