This project has been archived by its maintainers, and is no longer receiving any updates.
django-bosssearch
Search the web or a specific domain in your Django project using the Yahoo BOSS API.
Installation
First, add djangobosssearch to INSTALLED_APPS
Using the BOSS API requires a key and a secret. Get them from http://developer.yahoo.com/search/boss/ and add them to your projects settings:
BOSS_API_KEY = '' BOSS_API_SECRET = ''
Then include the views in your projects urlconf:
urlpatterns = patterns('',
url(r'^search/$', include('djangobosssearch.bosssearch_urls')),
)
If you want the search to be limited to a certain domain add the following to the settings:
BOSS_SITE_SEARCH_DOMAIN = 'example.com'
Templates
The templates provided are just an example. Pagination on the results page (bosssearch/results.html) is done using django-pagination.
Configuration
Besides the previously mentioned configuration keys, the following options are also useful if you use the provided urlpatterns and view.
BOSS_SEARCH_MARKET The region (country) to search in (default: ‘en-us’).
BOSS_RESULTS_PER_PAGE The number of results per page (default: 50).
Changes
1.1 (2012-07-02)
Fixed UnicodeEncodeError caused by oauth request to_url
1.0 (2012-05-11)
Initial release
Metadata
Release files for django-bosssearch 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-bosssearch-1.1.zip | 25.5 kB | Without provenance | Details for django-bosssearch-1.1.zip |
Release files / django-bosssearch-1.1.zip
| Download URL | django-bosssearch-1.1.zip |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
451079ee74d4f6751fdb1a2bba6fd6f3395e696b28aa3a93d313fe9f8b4e571f
|
|
BLAKE2b-256 checksum How to use checksums |
1a307889b2f1e455c98ac1d88ef49ac5a1d3dd075ec5d3c088374fd4a99a34ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-bosssearch 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.