Skip to main content

snipsearch

Python package to search multiple strings within Python snippets.

Install

pip install snipsearch

Usage

snipsearch [-h] [-n N] searchdir searchterm1 searchterm2 ...

Find code snippets which are most related to search keywords.

positional arguments:\

  • searchdir\
    • Directory containing Python (.py) files to search through\
  • searchterms\
    • List as many strings as you would like to search for (all equally weighted)

optional arguments:\

  • -h, --help\
    • show this help message and exit\
  • -n N, -number N\
    • Number of code snippet results to print

Read The Docs

Download "docs" folder or check preview.

Contributing

Message me on Github.

License

GNU GPLv3

(c) 2023, Jason Krist

Metadata

Release files for snipsearch 0.0.2

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

Source distribution (sdist)

Source distribution for snipsearch 0.0.2
File Size Uploaded Provenance Actions
snipsearch-0.0.2.tar.gz 18.1 kB Without provenance Details for snipsearch-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for snipsearch 0.0.2
File Interpreter ABI Platform Actions
snipsearch-0.0.2-py3-none-any.whl Python 3 none any Details for snipsearch-0.0.2-py3-none-any.whl

Total release size: 36.4 kB

Release files / snipsearch-0.0.2.tar.gz

Download URL snipsearch-0.0.2.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
75d459abdd58be3f59aad2e691001a82cc11166b40dccfb950f90f39cf74de18
BLAKE2b-256 checksum
How to use checksums
7024688aeb4a6751ddc71ec7888f9877bc60962766a00d5ddcd6b30c216de7e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / snipsearch-0.0.2-py3-none-any.whl

Download URL snipsearch-0.0.2-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b70e96c432ef7f64da0271a7f3fce861c2a2d625d27801f5e66269542c9c76fa
BLAKE2b-256 checksum
How to use checksums
c8fbf5eaecac88272774b02444d9ea111d34670ab1705d5ed44ef689c3a72d08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for snipsearch 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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