Skip to main content

ASIMOV module for data import powered by the SerpApi search data platform.

Project description

ASIMOV SerpApi Module

License Package on Crates.io Package on PyPI Package on RubyGems Package on NPM

ASIMOV module for data import powered by the SerpApi search data platform.

✨ Features

  • Imports structured data from DuckDuckGo, Google, and Bing search results.
  • Collects the raw JSON data via the SerpApi real-time API (requires an API key).
  • Constructs a semantic knowledge graph based on the KNOW ontology.
  • Supports plain JSON output as well as RDF output in the form of JSON-LD.
  • Distributed as a standalone static binary with zero runtime dependencies.

🛠️ Prerequisites

  • Rust 1.85+ (2024 edition) if building from source code

⬇️ Installation

Installation from PyPI

pip install -U asimov-serpapi-module

Installation from RubyGems

gem install asimov-serpapi-module

Installation from NPM

npm install -g asimov-serpapi-module

Installation from Source Code

cargo install asimov-serpapi-module

👉 Examples

export SERPAPI_KEY="..."

Fetching DuckDuckGo Results

asimov-serpapi-fetcher https://duckduckgo.com/?q=Isaac+Asimov   # JSON
asimov-serpapi-importer https://duckduckgo.com/?q=Isaac+Asimov  # JSON-LD

Fetching Google Results

asimov-serpapi-fetcher https://www.google.com/search?q=Isaac+Asimov   # JSON
asimov-serpapi-importer https://www.google.com/search?q=Isaac+Asimov  # JSON-LD

Fetching Bing Results

asimov-serpapi-fetcher https://www.bing.com/search?q=Isaac+Asimov   # JSON
asimov-serpapi-importer https://www.bing.com/search?q=Isaac+Asimov  # JSON-LD

⚙ Configuration

Environment Variables

📚 Reference

Installed Binaries

  • asimov-serpapi-fetcher: collects JSON data from the SerpApi real-time API
  • asimov-serpapi-importer: collects and transforms JSON into JSON-LD

Supported Engines

Engine URL Prefix JSON RDF
Bing https://www.bing.com/search?q=
DuckDuckGo https://duckduckgo.com/?q=
Google https://www.google.com/search?q=

👨‍💻 Development

git clone https://github.com/asimov-modules/asimov-serpapi-module.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

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 Distributions

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

asimov_serpapi_module-0.1.1-py3-none-win_amd64.whl (2.8 MB view details)

Uploaded Python 3Windows x86-64

asimov_serpapi_module-0.1.1-py3-none-musllinux_1_1_x86_64.whl (3.1 MB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

asimov_serpapi_module-0.1.1-py3-none-musllinux_1_1_aarch64.whl (2.9 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

asimov_serpapi_module-0.1.1-py3-none-manylinux_2_28_x86_64.whl (3.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

asimov_serpapi_module-0.1.1-py3-none-manylinux_2_28_aarch64.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

asimov_serpapi_module-0.1.1-py3-none-macosx_12_0_x86_64.whl (3.0 MB view details)

Uploaded Python 3macOS 12.0+ x86-64

asimov_serpapi_module-0.1.1-py3-none-macosx_12_0_arm64.whl (2.9 MB view details)

Uploaded Python 3macOS 12.0+ ARM64

File details

Details for the file asimov_serpapi_module-0.1.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for asimov_serpapi_module-0.1.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4ef3a462b9f73672cd7a333e27527a717ee80bab4709a2d00d11fcc0c083afdd
MD5 455e77edcf10ddb2b8f149a5164e82d8
BLAKE2b-256 ed203fbacf5ee34153141c67f15bd547ebe99a356ef5bfa0a1cc1db899d99e97

See more details on using hashes here.

File details

Details for the file asimov_serpapi_module-0.1.1-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for asimov_serpapi_module-0.1.1-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0529ebd21170b47e6c78d6a2dbe73bede913fd23c4d59d1957b2bf6c55eea4e7
MD5 34fd70a7e197cf51a70f3f35ec57326a
BLAKE2b-256 464ec7d6b98f34d5bafcefe07364c6c9009ef5690268b0846e635181f33e4bd2

See more details on using hashes here.

File details

Details for the file asimov_serpapi_module-0.1.1-py3-none-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for asimov_serpapi_module-0.1.1-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 f9cbe2b5c38d4c9720f3882a8ce1c8dd3dc2f10677a991655908d8954b3a04c7
MD5 4e3027d84af063ad657981d60a6be1eb
BLAKE2b-256 60720a7ca01ade68fe8d07b4830174bf9d9296a2d052876e052ff12b876e1a14

See more details on using hashes here.

File details

Details for the file asimov_serpapi_module-0.1.1-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for asimov_serpapi_module-0.1.1-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c49e3c02cf8d97731d8101c6377675c4223e9f72d642bebe4a93f786b3b5efdf
MD5 05d654f89bcdf189cedf625bb529c579
BLAKE2b-256 5960c9036357b2241390bf12a3ba5ab1f56896de316c2bc96e66591be210ac20

See more details on using hashes here.

File details

Details for the file asimov_serpapi_module-0.1.1-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for asimov_serpapi_module-0.1.1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9d08a141dec7f35d9087556a6a49e6c181b09dcc44398036e98a90be2c13a6d8
MD5 b32439630f3dde7bd953f8a053b18fbf
BLAKE2b-256 7ff8a7f0fd2428e72d060a628b82f2f48f55ed9d45ba5d6c9ed5951e1be880c8

See more details on using hashes here.

File details

Details for the file asimov_serpapi_module-0.1.1-py3-none-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for asimov_serpapi_module-0.1.1-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 a3d888a968bcf84bdf7bffabe4cad3e4afca58168756d2b5a0d3850d15f9f0c9
MD5 048e2b58860f6348b5400b0165f39191
BLAKE2b-256 a4f66bec535a94287bf8b44dd5a285339bd76fd72f64cbbb5f2d2a1519fed9d7

See more details on using hashes here.

File details

Details for the file asimov_serpapi_module-0.1.1-py3-none-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for asimov_serpapi_module-0.1.1-py3-none-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 187a27d90d37f5dc5cf1defe47969fec9acdc5895d090e18f83cd9a6c2b1d16c
MD5 3ab9a7221c6e097c874009b59f069de4
BLAKE2b-256 7f7e27c1950c3fbca7d1a674c5321da6078f4398ce9e2d3bc1460caa51034319

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