Code Monkey home page Code Monkey logo

searchor's Introduction

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'

Take a look at more examples in the examples folder!

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

v2.2.1 Changes

  • [ADDED] Added Instagram, Brave, AlternativeTo, Docker Hub, Unsplash, BBC, Indeed, CountryCode, OpenLibrary, Dell, Wired, Google Maps, Google Images, Audible, Behance, Bugzilla, Dribble, Flipkart, Google Fonts, Imgur, Imgur, MDN, NPM and Steam search engines.
  • [FIXED] Fixed a broken image in the PyPi of Searchor.
  • [REMOVED] Removed an unneeded library in the codebase.

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

searchor's People

Contributors

arjunsharda avatar a-1an avatar williamjaackson avatar m9m avatar rohankaran avatar exersalza avatar anilseervi avatar chairbfbackup avatar anmol-baranwal avatar singhalchinmay avatar peritusdeveloper avatar tanmaypatil105 avatar logic-404 avatar dependabot[bot] avatar ritishbhardwaj avatar akashrchandran avatar raunak-dev-edu avatar linaseervi avatar deepsource-autofix[bot] avatar umesh2202 avatar secondport avatar codemaniac-sahil avatar djazi avatar imgbotapp avatar huyszn avatar deepsourcebot avatar intruder-sec avatar chaitanya-anand avatar ashishjsharda avatar anju-chhetri avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.