Skip to main content

lookfor

lookfor is a simple command line tool to find things: files, directories, and files by extension. lookfor consists of only two commands (besides --version and --help), and aims to replace two Unix commands by being simpler to use and return results faster.

Installation

pip install lf-lookfor

Usage

lf <flag> <file/ext>

Commands:

--file, -f file/dir          searches for file/dir and prints all paths. Starts in cwd.
--ext, -e extension          searches for extension and prints all paths. Starts in cwd.
--version, -V                prints version info.
--help, -h                   prints usage
unix command lookfor command what is does
find . | grep file/dir lf -f file/dir prints all paths that match
find . -type f -name "*.ext" lf -e ext prints all paths that have ext

Run tests

run pytest in the root directory of the project.

Release files for lookfor1 1.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 lookfor1 1.0.1
File Size Uploaded
lookfor1-1.0.1.tar.gz 2.7 kB Details

Release files / lookfor1-1.0.1.tar.gz

Download URL lookfor1-1.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
df2a02ff500c23469ffbf03c09dac74040dda6dc9a0826901b1d3b747d79f221
BLAKE2b-256 checksum
How to use checksums
5583e138ddde939e0653e2722ae9c56fc6f8a13744bd6c4cc3046ed630e6d600
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

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