Skip to main content

A python import util for traversing directories

Project description

pyfind

A simple python import that will allow you to traverse local directories and sub-folders returning lists of files in folders.

pyfind is under semi-active development as I am a student but this project should be maintained into the foreseeable future.

Commands currently available: import pyfind as pf

Method Documentation
find(location, extension, keepExtension) Searches the current working directory (unless otherwise specified) for any files with the matching extension property and return them in array format.
Still Under Development Documentation
findsub(location, extension, keepExtension) Searches the chosen directory and all contained sub folders for any files with the matching extension property and return them in array format.

These will be added whenever I get round to it

To-do list

  • find() method
  • findsub() method
  • recursive rewrite of methods
  • customisation of the output and saving this custom output format to a settings file (e.g. splitting using a csv, outputting as a new-line string instead of a list, etc.)
  • saving search results to an output log
  • allowing the instantiation of classes that can deal with:
    • scheduled searches (based on time)
    • searches that run when a method is called
    • saving these settings and schedules and loading them from files

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyfind-0.3.23-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

pyfind-0.3.22-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file pyfind-0.3.23-py3-none-any.whl.

File metadata

  • Download URL: pyfind-0.3.23-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for pyfind-0.3.23-py3-none-any.whl
Algorithm Hash digest
SHA256 e50d43c6f06250a73c934184712b26c17686bec3cbef475420da9bacd484b78d
MD5 5ad78f575a1483571cda3b5f12fdb7e0
BLAKE2b-256 df91feab1982b12c695219727ebd28527348e3f00716292524681f9e813232e6

See more details on using hashes here.

File details

Details for the file pyfind-0.3.22-py3-none-any.whl.

File metadata

  • Download URL: pyfind-0.3.22-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pyfind-0.3.22-py3-none-any.whl
Algorithm Hash digest
SHA256 389b36d669ea61b3734a37ea59a90c8115be7e5ed6bcb711de37d0f56b16f354
MD5 a7c6415757709015416c63f6260d48e1
BLAKE2b-256 68c845b6ffa464c394484315c4a2a4999758c3338cfad7837b3b5167164e9d1c

See more details on using hashes here.

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