This is the Python package py-simple-search.
Project description
Welcome
This is the Python package py-simple-search. This package provides a simple search functionality for Python. It also provides a CLI tool to search things (TBD).
Usage
from py_simple_search import breadth_first_search
from itertools import product
import string
SEARCH_CHARS = string.ascii_uppercase + string.ascii_lowercase + string.digits + '+_.'
def validate(x):
return get('https://www.__some_example_website__.com/?q=' + x).status_code == 200
def expand_search_space(x, validate_result):
if not validate_result:
yield from product([x], SEARCH_CHARS)
for result in breadth_first_search(validate, expand_search_space, multithreaded_workers=10):
print(result)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_simple_search-0.0.1a0.tar.gz.
File metadata
- Download URL: py_simple_search-0.0.1a0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05caed9b681f1360f749f6ae3ce44b5963a4f886fbec6f052ffab17c8bcb9d0c
|
|
| MD5 |
a9e58eb87519ad14a38bbcd86608bb52
|
|
| BLAKE2b-256 |
dda36e2e38d461b0631a9faf82f9ea62891ec4db97c688a9dbf2e6ee10c87aa5
|
Provenance
The following attestation bundles were made for py_simple_search-0.0.1a0.tar.gz:
Publisher:
deploy-to-pypi.yml on hktonylee/py-simple-search
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_simple_search-0.0.1a0.tar.gz -
Subject digest:
05caed9b681f1360f749f6ae3ce44b5963a4f886fbec6f052ffab17c8bcb9d0c - Sigstore transparency entry: 774670358
- Sigstore integration time:
-
Permalink:
hktonylee/py-simple-search@364836c42057eca4687735e5efbfa39a851befa3 -
Branch / Tag:
refs/tags/v0.0.1-alpha - Owner: https://github.com/hktonylee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-to-pypi.yml@364836c42057eca4687735e5efbfa39a851befa3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file py_simple_search-0.0.1a0-py3-none-any.whl.
File metadata
- Download URL: py_simple_search-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3be25d6d16581bbbdb645c70fa02244ee31f62724cc1390ddf5b62b0d58f5116
|
|
| MD5 |
0f048eb693feda7b5401d1aa662e342c
|
|
| BLAKE2b-256 |
db7fc720f2d8a8e2f69f71c9507f94b5c57d05094b5f4e8338bf087dab05a1a3
|
Provenance
The following attestation bundles were made for py_simple_search-0.0.1a0-py3-none-any.whl:
Publisher:
deploy-to-pypi.yml on hktonylee/py-simple-search
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_simple_search-0.0.1a0-py3-none-any.whl -
Subject digest:
3be25d6d16581bbbdb645c70fa02244ee31f62724cc1390ddf5b62b0d58f5116 - Sigstore transparency entry: 774670364
- Sigstore integration time:
-
Permalink:
hktonylee/py-simple-search@364836c42057eca4687735e5efbfa39a851befa3 -
Branch / Tag:
refs/tags/v0.0.1-alpha - Owner: https://github.com/hktonylee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-to-pypi.yml@364836c42057eca4687735e5efbfa39a851befa3 -
Trigger Event:
release
-
Statement type: