Skip to main content

Find all third-party packages imported into your python project.

Project description

python-third-party-imports

This is a Python CLI tool built with Rust that finds all third-party packages imported into your Python project.

Install

You can install this package via pip.

pip install third-party-imports

Usage

Run:

third-party-imports path/to/project/dir

Help:

third-party-imports --help

Find all third-party packages imported into your python project.

Usage: third-party-imports <PROJECT_ROOT>

Arguments:
  <PROJECT_ROOT>  Path to the project's root directory

Options:
  -h, --help     Print help
  -V, --version  Print version

Example

third-party-imports examples/

Output:

Found '4' third-party package imports in '5' files. (Took 920.50µs)

celery
django
pandas
requests

Development

Run using Cargo

cargo +nightly run -- path/to/project/dir

Code Format

cargo +nightly fmt

Run Tests

cargo +nightly test

Install Package in current virtualenv

maturin develop

License

The code in this project is released under the MIT License.

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

third_party_imports-0.0.6.tar.gz (16.8 kB view hashes)

Uploaded Source

Built Distributions

third_party_imports-0.0.6-py3-none-win_amd64.whl (995.3 kB view hashes)

Uploaded Python 3 Windows x86-64

third_party_imports-0.0.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

third_party_imports-0.0.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ i686

third_party_imports-0.0.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.0 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

third_party_imports-0.0.6-py3-none-macosx_10_7_x86_64.whl (1.1 MB view hashes)

Uploaded Python 3 macOS 10.7+ x86-64

Supported by

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