Skip to main content

dupimport

Find things you imported twice in your python code, when you probably only needed to import once.

Installation

pip install dupimport

Usage

Use on a file: dupimport path/to/file.py

or use on a folder:

  • dupimport .
  • dupimport path/to/folder/

Caveats

Imports in an if statement may be okay

Metadata

Release files for dupimport 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dupimport 1.0.0
File Size Uploaded Provenance Actions
dupimport-1.0.0.tar.gz 2.0 kB Without provenance Details for dupimport-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dupimport 1.0.0
File Interpreter ABI Platform Actions
dupimport-1.0.0-py3-none-any.whl Python 3 none any Details for dupimport-1.0.0-py3-none-any.whl

Total release size: 4.4 kB

Release files / dupimport-1.0.0.tar.gz

Download URL dupimport-1.0.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e26cc2f902fe6d8472185d91f4b8c47684ab8c45e872fdb8916011fe5d83b554
BLAKE2b-256 checksum
How to use checksums
b65174205afbb5edbd13fa83bb1c2ac60e4e08e26e64b36d3e0bd60c620f56b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.5

Release files / dupimport-1.0.0-py3-none-any.whl

Download URL dupimport-1.0.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9424b4e434c80edebdc81a9cdf9fd409de3047e917f58fdca81044368f0d2338
BLAKE2b-256 checksum
How to use checksums
fe57f3d96c6c304dfc8551fee0c8ff85a6dae0f81142d4d12745361713f630bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.5

Security for dupimport 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page