Skip to main content

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 .svn or .git), 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://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

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

> pip install pss

Alternatively, you can download the source distribution either from PyPi or go to the Downloads tab on the pss project page and pick the version you’re interested in from Tags. 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://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.

Metadata

Release files for pss 0.36

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 0.36
File Size Uploaded Provenance Actions
pss-0.36.tar.gz 22.8 kB Without provenance Details for pss-0.36.tar.gz

Release files / pss-0.36.tar.gz

Download URL pss-0.36.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a692f0b28a9d75f49fcf9c58d4a62659c94c0d363181f8e919e44bfdc58684a6
BLAKE2b-256 checksum
How to use checksums
5559383b4ad789c261f86a1962c7b2b695ed34b016d4f3c8ec7569dcf64f4ad0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pss 0.36

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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