Skip to main content

A python package to find the files that contain a given string inside a given path

Project description

String Locator

A simple code to find the file containing a given string inside a given path.

At times in the programming world, we might need to change a certain code but don't know which file it is in and might have to go through a huge list of files. The string locator helps the user find the desired file by entering the text and the path to the folder containing all the documents.

Code

from string_locator import locator

text='import tensorflow'
path='C:/Users/admin/Desktop/test_folder

location=locator.locate(text,path)

License

Copyright (c) Srirag Jayakumar

This repository is licensed under the MIT license. See LICENSE for details.

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

string-locator-1.0.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

string_locator-1.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file string-locator-1.0.3.tar.gz.

File metadata

  • Download URL: string-locator-1.0.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for string-locator-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a7cd8ab54082d1825bbbc40ccab92bf2ae408fb93a94c0d5df24c32a2a21fda4
MD5 4b2bc66ee0d3e503f62071f91fd4fa36
BLAKE2b-256 0792129fe462529eb78957e33fca59696b7ed1a9f8cefaa049b6dcac3204c9e2

See more details on using hashes here.

File details

Details for the file string_locator-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: string_locator-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for string_locator-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3896ab190ede5c94b919b2132da5729b269325ee3825809c0a45eaa9cb66525c
MD5 25043f7065b7322ea87d784212f8f53a
BLAKE2b-256 ca36435ce94c661625248867caf3c29beacf3ab45022049f43ddfd48c9b76d29

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