Skip to main content

Software Heritage search service

Project description

swh-search

Search service for the Software Heritage archive.

It is similar to swh-storage in what it contains, but provides different ways to query it: while swh-storage is mostly a key-value store that returns an object from a primary key, swh-search is focused on reverse indices, to allow finding objects that match some criteria; for example full-text search.

Currently uses ElasticSearch, and provides only origin search (by URL and metadata)

Dependencies

Python tests for this module include tests that cannot be run without a local ElasticSearch instance, so you need the ElasticSearch server executable on your machine (no need to have a running ElasticSearch server).

Debian-like host

The elasticsearch package is required. As it's not part of debian-stable, another debian repository is required to be configured

Non Debian-like host

The tests expect:

  • /usr/share/elasticsearch/jdk/bin/java to exist.
  • org.elasticsearch.bootstrap.Elasticsearch to be in java's classpath.

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

swh.search-0.4.2.tar.gz (38.4 kB view details)

Uploaded Source

Built Distribution

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

swh.search-0.4.2-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

Details for the file swh.search-0.4.2.tar.gz.

File metadata

  • Download URL: swh.search-0.4.2.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for swh.search-0.4.2.tar.gz
Algorithm Hash digest
SHA256 2b30f564975015d02bc35e8a29cd8b60d4804c38d08a2f4daa5c542193aa3484
MD5 5fb9906b98e1305de656c68d85d017e2
BLAKE2b-256 b18656a6ce9a4355e3881a83b5be8d199844d93eac022fb0c16169438a5cbf6f

See more details on using hashes here.

File details

Details for the file swh.search-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: swh.search-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 36.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for swh.search-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e459e3c773c2baeb4f92e9de5526aeaca629726c59c0cd357b884380b56d7b59
MD5 f446990092d90ebb45a8af67368c513d
BLAKE2b-256 9fd08b43def513664608a88b38f3e36b4cb82f0124a1aa92abce60a449c3c006

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