Skip to main content

A simple Python (and associated cmd/bash) script which allows file directory tab auto-completions.

Project description

TabFilePy

TabFilePy is a Python library that provides file path auto-completion functionality using shell scripts. It allows users to easily select file paths from the command line with tab completion.

Features

  • Cross-platform support: Works on Windows/CMD (.cmd script) and Linux/Bash (.sh script) environments.
  • Dynamic script location handling: Finds and runs the appropriate script from the package directory.
  • Easy integration: Simple API for retrieving file paths with tab completion.

Dependencies

  • Python 3.9 or higher
  • Bash or Command Prompt (depending on OS)

Usage

  1. Install the library
pip install tabfilepy
  1. Import and initialize the handler
# Example code
from tabfilepy import tabfilepy

# Create the instance
t = tabfilepy()

# Run tab completion and retrieve the selected file
filename = t.get_filename()
print(f"Selected file: {filename}")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tabfilepy-1.0.0.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tabfilepy-1.0.0-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file tabfilepy-1.0.0.tar.gz.

File metadata

  • Download URL: tabfilepy-1.0.0.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tabfilepy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 36146c9d1e672911ee92d9178f089c711849922680e343e5b88ed7568ee0c27f
MD5 0d2e748b75eb982dbb74b05f0a905bf5
BLAKE2b-256 de9caa737e1b132c396d20f37c8465e1663683cbcfd8f6d70eabc68faa22c9da

See more details on using hashes here.

Provenance

The following attestation bundles were made for tabfilepy-1.0.0.tar.gz:

Publisher: python-publish.yml on nelideven/tabfilepy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tabfilepy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tabfilepy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tabfilepy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf87fee059d6d13e7199d83cae14b7b5deb8ec5f0e39543e32de7d50004fb422
MD5 8f888065caa4825506a5740932ef02a9
BLAKE2b-256 856d6a29c4d8e9ef7a936afc8d77af4a9e1db627fc89a66caab5fc709c5cc2d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for tabfilepy-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on nelideven/tabfilepy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page