Aqueduc
Aqueduc is a small script used to move or copy files and folders using preconfigured parameters.
It is usefull to automate recurring file transfers.
Requirement
- Python 3 (tested with python 3.7.2)
How to get
git clone https://github.com/Mozenn/Aqueduc.git
How to use
-
create a JSON configuration file following Configuration-file or by checking the example files in data/ folder
-
From the directory where the script file is located, run :
python aqueduc.py RelativePath/To/ConfigFile
Tips
Configuration file
Configurations files are in JSON format following this structure:
- target (str): Path of the destination folder where source items will be moved to
- sources (array)
- path (str): Path of the file or folder to move
- options
- overwrite (boolean): true to overwrite the file in target destination if it already exists
- removeExisting (boolean): true to remove the file in target destination if it already exists
- move (boolean): true to move, false to copy
- size_limit (number): size limit in bytes. Files having a size above this limit will not be moved/copied to target
- forbidden_extensions(array): file having one of the specified extension will not be moved/copied to target
- last_date_allowed (str): file not modified since the specified date will not be moved/copied to target
Other
- You can put the aqueduc.py file wherever you want and execute it from there, or add it to your PATH.
Metadata
Release files for aqueduc 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aqueduc-1.0.8.tar.gz | 5.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aqueduc-1.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / aqueduc-1.0.8.tar.gz
| Download URL | aqueduc-1.0.8.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9d3f41db44d4fdb95ddcfbcc4f5d9f2b98eb6ec49bb57594e117f1d8cff7e55
|
|
BLAKE2b-256 checksum How to use checksums |
549b096e3ef7895dbbcf94f214736cd09f1d307f9a34ac01b196b15150203336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / aqueduc-1.0.8-py3-none-any.whl
| Download URL | aqueduc-1.0.8-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48424073af07143fee8b999807b2336e8304da9254f460f9bc82f360338ffc4b
|
|
BLAKE2b-256 checksum How to use checksums |
3b343ba1c4d241846851a2c85f55bad969ead28dc98767414443d6b9e99f321d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Security for aqueduc 1.0.8
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.