Skip to main content

Command line interface for searching a given pattern in the given directory/file paths

Project description

******
finder
******

|travis| |coveralls|


Links
=====

- Project: https://github.com/bharadwajyarlagadda/finder
- Documentation: Wiki_
- Pypi: `TBD`
- TravisCI: https://travis-ci.org/bharadwajyarlagadda/finder


Features
========

- Supported on Python 3.3+.



.. |travis| image:: https://img.shields.io/travis/bharadwajyarlagadda/finder/master.svg?style=flat-square
:target: https://travis-ci.org/bharadwajyarlagadda/finder

.. |coveralls| image:: https://img.shields.io/coveralls/bharadwajyarlagadda/finder/master.svg?style=flat-square
:target: https://coveralls.io/r/bharadwajyarlagadda/finder


.. _Wiki: https://github.com/bharadwajyarlagadda/finder/wiki


Changelog
=========


v1.0.0 (2017-05-07)
-------------------

- Add ``search`` method to search for a given pattern in the text provided.
- Add ``iterfiles` method to yield all the file paths in a given folder path.
- Add ``is_executable`` method to validate whether the given file is a executable or not.
- Add ``read`` method to read a given file line by line.
- Add wrapper method ``find`` to iterate through the given list of files/directories and find the given pattern in the files.
- Add ``FileReader`` class to searching all the files concurrently.
- Add schemas for serializing the data to a JSON-encoded string.
- Add command line wrapper around the API. User can now use the command line interface to get all the search results.


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

finder-1.0.0.tar.gz (10.3 kB view hashes)

Uploaded source

Built Distribution

finder-1.0.0-py2.py3-none-any.whl (9.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page