Skip to main content

Python library and command-line utility for search in publicwww

Project description

PUBLICWWW Python Library

This is a simple package to search https://publicwww.com, you need a valid key to search in publicwww

Installation

pip3 install pypublicwww

Usage as command

publicwww [-h] [-apikey APIKEY] [-query QUERY] [-snippets] [-output [OUTPUT]] action
positional arguments:
action            Set action: init, info, search

SEARCH EXAMPLES

  • Query for all Wordpress in domains .ar getting snippets
publicwww search -query 'site:ar "Wordpress"' -snippets
  • Query for all Wordpress in domains .ar getting url
publicwww search -query 'site:ar "Wordpress"' 

If you add -ouput you will get the results in result.csv or -output /tmp/whatever.csv to get the result in /tmp/whatever.csv

Usage as library

  • Print account information
import pypublicwww
api = PyPublicWWW(apikey)
print(api.info())
  • Search for query and getting an export, you can add or not snippets
import pypublicwww
publicwww. = PyPublicWWW(apikey)
publicwww._search_websites( 'site:ar "Wordpress"', csv=True, snippets=True)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pypublicwww-0.0.8-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file pypublicwww-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: pypublicwww-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for pypublicwww-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 734077531310680e1c255f9726120a77230ae8eb16f6fff30d9d865ccf7420eb
MD5 d9c8c8d60348f7bf07b470af3fcd6e45
BLAKE2b-256 194dc6808033a56202fc8eb62bbb63a533df94d90ddf6f8290ee5626cfbc333b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page