Skip to main content

Copyusb

Copy connected USB media device to current script directory. The copy() method will return a list with the path where the USB drive being copied.

DO NOT MISUSE IT FOR STEALING DATA.

The current version can be used only with Python 3. Tested on Windows(10) and Ubuntu(16.04 LTS).

To install (in Ubuntu having both Python2 and Python3 by default):

>>> sudo pip3 install copyusb

To install (in Windows with which has only Python 3 installed):

>>> sudo pip install copyusb

To use (with caution), simply do:

>>> import copyusb
>>> copy_result_list = copyusb.copy()

This will return a list with the destination path where the USB media device data has been copied. No matter how many USB media device is connected, this program will copy all of them.

Metadata

Release files for copyusb 1.1.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 copyusb 1.1.0
File Size Uploaded Provenance Actions
copyusb-1.1.0.tar.gz 3.5 kB Without provenance Details for copyusb-1.1.0.tar.gz

Release files / copyusb-1.1.0.tar.gz

Download URL copyusb-1.1.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0fde3c2522a0ca9bf5bb2b0c818e3e2f3cfe450b146bd7bdd08e9a98fdc2fa8f
BLAKE2b-256 checksum
How to use checksums
a46c72b5fa75c8e3989d52d73e2304df7e102b45c78d309fa6cb6f7addb13bb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for copyusb 1.1.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.1.0 This release

1 release file No provenance

0.0.3

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