Skip to main content
https://github.com/eliben/pss/workflows/pss-tests/badge.svg

Introduction: what is pss?

pss is a power-tool for searching inside source code files. pss searches recursively within a directory tree, knows which extensions and file names to search and which to ignore, automatically skips directories you wouldn’t want to search in (for example .git or .svn), colors its output in a helpful way, and does much more.

If you’re familiar with the ack tool, then you will find pss very similar (see https://github.com/eliben/pss/wiki/pss-and-ack).

Pre-requisites

pss needs only Python to run. It’s being tested with Python versions 2.7 and 3.6+ on Linux, Mac OS and Windows. Earlier versions of Python 3.x may work as well, but this isn’t guaranteed.

Installing

pss can be installed from PyPI (Python Package Index):

> pip install pss

Alternatively, you can download the source distribution either from PyPI or from the main Github project page. When you unzip the source distribution, run:

> python setup.py install

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://github.com/eliben/pss/wiki/Usage-samples

License

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

Metadata

Release files for pss 1.43

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pss 1.43
File Size Uploaded
pss-1.43.tar.gz 26.6 kB Details

Release files / pss-1.43.tar.gz

Download URL pss-1.43.tar.gz
Size 26.6 kB
Tags Source
SHA-256 checksum
How to use checksums
dd52df9487ac02e689d004e3244f19931a03453fc0090c0889ae32aa2af82d2d
BLAKE2b-256 checksum
How to use checksums
429525a15e0c9acc7c1f165152a46cc623e67d9d413a9bbe0ccf31947451fd32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release history Release notifications | RSS feed

1.45

1 release file

1.44

1 release file

This release

1.43 This release

1 release file

1.42

1 release file

1.41

1 release file

1.40

1 release file

1.39

1 release file

1.38

1 release file

1.37

1 release file

0.36

1 release file

0.35

1 release file

0.34

1 release file

0.33

1 release file

0.32

1 release file

0.31

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page