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.2.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.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: string-locator-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 6ef85283f54564a753ab9c11e18e2bc16ad2ca1326689ab25fb9771fe9271b54
MD5 e82e3bc1ca3565c95aa9d5b8218bad50
BLAKE2b-256 c5f2b061355198b3967e40d8915d6e02c6ce484425b878e84bab850284fa368d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: string_locator-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0661c4fdf5879617b2045bef636fae242c2388b00a84056487523c657c0f3a1
MD5 89918176156f08166f9cf9b72eee3aa1
BLAKE2b-256 187413c390b055b8c1364838d10a2b95438a7c7aacfd5b6c26a94152d0957dc0

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