Skip to main content

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)

Source distribution for linkshot 0.0.1
File Size Uploaded
linkshot-0.0.1.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for linkshot 0.0.1
File Interpreter ABI Platform
linkshot-0.0.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page