Library for grouping files into sets of ‘work-on’ and ‘protect’ based on arbitrarily nested directories.
Symlink safe delete and rename/move of files. This library can be used for bulk fs cleanup programs.
You probably want to use the FileHandler or FileHandlerCompare class which provides the file operations. The FileGroups class is quite lowlevel, and just does the split of file into must_protect and may_work_on sets.
Any use of these scripts are completely your own responsibility. The author cannot be made responsible for any loss of data resulting from your use of these scripts.
Metadata
Release files for file-groups 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| file_groups-0.7.0.tar.gz | 43.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| file_groups-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.5 kB
Release files / file_groups-0.7.0.tar.gz
| Download URL | file_groups-0.7.0.tar.gz |
|---|---|
| Size | 43.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4db52d48041ce4348e10c123ba9d117490b184c7c4cc703d6330227d44a4519b
|
|
BLAKE2b-256 checksum How to use checksums |
1cb87480de7daaf1ab1c807bc24f80df71729878cf9b986660e7a07394093e3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Release files / file_groups-0.7.0-py3-none-any.whl
| Download URL | file_groups-0.7.0-py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d05175fc4df9863b0c8a0ce089dc9a863ccc77393f99bc425295b52812ed5c7d
|
|
BLAKE2b-256 checksum How to use checksums |
3373fa672a84ea3f1cc9980a9719072c28d650ff33a3b7e7402fd4a841bd518d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|