Skip to main content

Tool for grepping through source code

Project description

Introduction: what is pss?

You can think of pss as an enhanced grep designed to search inside source code files. pss is very similar to the Perl ack tool (see https://bitbucket.org/eliben/pss/wiki/PssAndAck).

Pre-requisites

pss needs only Python to run. It works with with Python versions 2.6, 2.7 and 3.2 on Linux and Windows. Some testing was done on on Mac OS X and FreeBSD as well.

Installing

When you unzip the source distribution, run:

> python setup.py install

Alternatively, pss can be installed from PyPi (Python package index):

> pip install pss

Running without installing

pss supports direct invocation even without installing it. This may be useful if you’re on a machine without administrator rights, or want to experiment with a source distribution of pss.

Just unzip the pss distribution into some directory. Let’s assume its full path is /path/to/pss. You can now run:

> /path/to/python /path/to/pss

And this will invoke pss as expected. This command can also be tied to an alias or placed in a shell (or batch) script for convenience.

How to use it?

pss is meant to be executed from the command line. Running it with no arguments or with -h will print a detailed usage message.

For some detailed usage examples, check out the Usage wiki page - https://bitbucket.org/eliben/pss/wiki/Usage.

License

pss is open-source software. Its code is in the public domain. See the LICENSE file for more details.

Project details


Release history Release notifications

History Node

1.41

History Node

1.40

History Node

1.39

History Node

1.38

History Node

1.37

History Node

0.36

History Node

0.35

History Node

0.34

This version
History Node

0.33

History Node

0.32

History Node

0.31

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pss-0.33.tar.gz (19.0 kB) Copy SHA256 hash SHA256 Source None Oct 21, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page