shadowcopy
shadowcopy is a module for performing file copies from 'shadows' on Windows. Shadow copies are typically used to copy files that are locked for usage by other processes.
More info on shadow copies in Windows can be found here
Creating/Deleting shadow copies requires admin access.
Installing
pip install shadowcopy
Example
from shadowcopy import shadow_copy
# Internally this creates a shadow copy instance via WMI, copies the file, then deletes the shadow copy.
shadow_copy("source.txt", "destination.txt")
Metadata
Release files for shadowcopy 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shadowcopy-0.0.4.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shadowcopy-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / shadowcopy-0.0.4.tar.gz
| Download URL | shadowcopy-0.0.4.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed89817dda065f893607a04c0b7d6b3b34c3507a4711f441111a4bcb1b1826c0
|
|
BLAKE2b-256 checksum How to use checksums |
1244c00420a3b7bcdf830529b933392b566c876a4944a24f31e126eb6fd28647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / shadowcopy-0.0.4-py3-none-any.whl
| Download URL | shadowcopy-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc51e59a639dc6a5a3a7a9b4e3ecadc71989e339f2d995d90aaa491acd4ba4eb
|
|
BLAKE2b-256 checksum How to use checksums |
ad32fdea8e7f7b2b8bae13ee6ab7df1a10d28a24dbeb03a62ff033563f95d77c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|