Crimson Folder Sync
Crimson Folder Sync is a Python package designed to help you synchronize directories and automate certain system tasks with scripts.
Installation
Install the package using pip:
pip install crimson-folder-sync
Usage
Directory Synchronization
To use the directory synchronization feature, import MoveHandler and start_watching from the package:
from crimson.folder_sync.syncer import MoveHandler, start_watching
# Example usage
source_path = "/path/to/source"
base_source = "/path/to/base_source"
base_destination = "/path/to/base_destination"
start_watching(source_path, base_source, base_destination)
MoveHandler: Handles file creation and modification events, copying the files from the source to the destination directory.start_watching: Watches the specified directory for changes and triggers theMoveHandlerto copy files to the destination.
Scripts
The package also includes utility scripts that can be accessed through the Scripts class.
from crimson.folder_sync.load_script import Scripts
scripts = Scripts()
# Access the content of the linux_link_folders.sh script
print(scripts.linux_link_folders)
linux_link_folders.sh: This script creates a symbolic link between two paths, allowing you to easily reference the target path from the symbolic path.
This package is designed to be a simple and effective tool for directory synchronization and basic system automation tasks.
Metadata
Release files for crimson-folder-sync 0.3.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 | Provenance | Actions |
|---|---|---|---|---|
| crimson_folder_sync-0.3.0.tar.gz | 9.4 kB | Without provenance | Details for crimson_folder_sync-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crimson_folder_sync-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for crimson_folder_sync-0.3.0-py3-none-any.whl |
Total release size: 21.4 kB
Release files / crimson_folder_sync-0.3.0.tar.gz
| Download URL | crimson_folder_sync-0.3.0.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85e332c9775161307eafecd998fd03283a7c7ea8d24e64793e98d1e06ed9ed16
|
|
BLAKE2b-256 checksum How to use checksums |
033c75dfdad1fdb2deaac76e07d7b132e8cbc568f6b88eaba8a26325fbceb9e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / crimson_folder_sync-0.3.0-py3-none-any.whl
| Download URL | crimson_folder_sync-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
593827df1f7d195693d9e377cdca6f34bd9776c4df8da31d8ba3c42f2b4c41fb
|
|
BLAKE2b-256 checksum How to use checksums |
7bc9a16d2ba39b8188ff9a3283e1bc3fdbaf4ec9214221943d238db90cde8a40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for crimson-folder-sync 0.3.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.