Skip to main content

A utility to recursively locate files by name.

Project description

""" Find file by name recursively from a starting directory.

Args: nome_arquivo (str): File name to search for. pasta_base (str, optional): Directory to start search. Defaults to current working dir. retornar_todos (bool): If True, returns a list of all matches. If False, returns first match.

Returns: str or List[str]: Full path(s) to the file(s).

Raises: FileNotFoundError: If no matching file is found. """

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

mp_locate-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

mp_locate-0.1.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file mp_locate-0.1.1.tar.gz.

File metadata

  • Download URL: mp_locate-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for mp_locate-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3a8fc2ed7bf82ca3d4288fcdb5faf1670f09bf730de622de67e54a9d4df3307b
MD5 7d5950d260e40432f1c2887ea747442f
BLAKE2b-256 33590b7d998dff7bffd83dd9c81e555d5f7fbec65fad539a57be60af6c4db724

See more details on using hashes here.

File details

Details for the file mp_locate-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mp_locate-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for mp_locate-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60320576c5a7cf06986456dbdd3a4ccd928e5cbe3f7b192971efe6bfd3e71f9d
MD5 bf1ee58f1280fa148c2d7ef0b0a5bf72
BLAKE2b-256 252a7037107795b79250b90a9ef15cfe2c3a615b52073c0cd1b2cd2baf756ba1

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