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.1.0.tar.gz (2.9 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.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: string-locator-1.1.0.tar.gz
  • Upload date:
  • Size: 2.9 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.1.0.tar.gz
Algorithm Hash digest
SHA256 f5c5ca95b11f191c122ece76288d77883739fa96b9617fd2a6618becc6c9066c
MD5 41bbfb8908e21f74fae5029d864cc0e1
BLAKE2b-256 02afd458a59961657333d20c4a706b4d9ef00c0a19818f9360c439fe38a3fa7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: string_locator-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 780b8c6faea717a06152f8f2d63fcbc82c0b6a0d00bf9903a7615e710ff99bd1
MD5 916ec4cca2489f92f97587aef05c7292
BLAKE2b-256 09a3a3d17de4f2c1a89b02110fb686aba38767cefd54882be6116273f6492ad2

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