LinkShot
LinkShot is a Python library designed to facilitate the management of linked files within a directory structure. It allows for easy review of files by copying them into a linked directory, and provides functionality to remove original files that are no longer linked.
Note: this library is just a utility designed to be used in other projects.
Features
- Create Linked Files: Copies files from a source folder structure to a linked folder structure, allowing for easy review or access.
- Flexible Extension Filtering: Specify file extensions to include when creating links or deleting original files.
- Hard Link or Symbolic Link: Choose between creating hard links or symbolic links for the linked files.
Installation
pip install linkshot
Usage
import linkshot
# Create linked files
linkshot.create(input_folder='source_folder', output_folder='linked_folder', extensions=['.txt', '.pdf'])
# Delete original files not linked anymore
linkshot.delete(source_folder='source_folder', links_folder='linked_folder', extensions=['.txt', '.pdf'])
License
LinkShot is licensed under the Apache License 2.0. See LICENSE for more details.
Metadata
Release files for linkshot 0.0.1
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 |
|---|---|---|---|---|
| linkshot-0.0.1.tar.gz | 6.2 kB | Without provenance | Details for linkshot-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| linkshot-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for linkshot-0.0.1-py3-none-any.whl |
Total release size: 12.6 kB
Release files / linkshot-0.0.1.tar.gz
| Download URL | linkshot-0.0.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
298ff085673980e53301e0219d775b24bf4ace407682eb392fb538db41aeadaa
|
|
BLAKE2b-256 checksum How to use checksums |
9400a24bd4d9a5a4a9d1e15c428a5a2d401fcd9481a7127dde88271523232e3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / linkshot-0.0.1-py3-none-any.whl
| Download URL | linkshot-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0b54d78969486098ef3144d765545f7cdb5acc28b72478b40b6f0e097a11008
|
|
BLAKE2b-256 checksum How to use checksums |
2ebc8a38d6e806a554d999d3c26d3a788e9594da7a4cd7d1e5d9e7cd4a751016
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for linkshot 0.0.1
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.