Skip to main content

⚡️ Quick and easy search engine queries.

Project description

Searchor

GitHub repo size Json-Generator

 forks

PyPI Discord

Installation

Python 3.7+ is required

# MacOS / Linux (via Terminal)
python3 -m pip install -U searchor

# Windows (via CMD Prompt)
py -3 -m pip install -U searchor

Quick Start

>>> from searchor import Engine
>>> Engine.Google.search("Hello, World!")
'https://www.google.com/search?q=Hello%2C%20World%21'

Searchor CLI Quick Start

$ searchor Google "Hello World!" --copy

Take a look at more examples in the examples folder!

Note:  Engine names follow the UpperCamelCase convention.(eg: ChromeWebStore).

v2.3.1 Changes

  • [PATCHED] Patched a bug with AOL and BBC being duplicates

Migration

Instead of different functions for each engine, Searchor v2.2.0 uses a single function with an Engine enum. This makes it easier to use and maintain. If you're migrating from v2.0.0, compare the differences between the following snippets:

# Searchor 2.0.0
from searchor import search, Engine
search("Hello, World!", Engine.Google)
# Searchor v2.2.0
from searchor import Engine
Engine.Google.search("Hello, World!")

Want to contribute?

Take a look at the contributing guidelines!


© Arjun Sharda 2022
All Rights Reserved

Project details


Download files

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

Source Distribution

searchor-2.3.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

searchor-2.3.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file searchor-2.3.1.tar.gz.

File metadata

  • Download URL: searchor-2.3.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for searchor-2.3.1.tar.gz
Algorithm Hash digest
SHA256 32ed45891b28db23528ba382b67a4fe386052d1e15a60f4bc86267ca350e9c60
MD5 fe424d2576912fab7ebb4fa92f396366
BLAKE2b-256 0af626d691f208a302e8e05e143b15989238603f2f5929bb2dbc0b338bdb3e79

See more details on using hashes here.

File details

Details for the file searchor-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: searchor-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for searchor-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53822f5f7d2097a26f7d004ec0b836f4c04dd549258e2bfecf182f20173b3d9b
MD5 58b19c1cf9a8bba3d2a54d0d9ed9cc52
BLAKE2b-256 848967387eee207e77706ac789e35f8c1a518730b8a4bf75c599d078b3f93041

See more details on using hashes here.

Supported by

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