## Scrapy Algolia Exporter
Directly populate a given **Algolia** index from a scrapy spider.
### Usage
:warning: **Your crawled items must contains a unique `ObjectID` key.** :warning:
Add the mandatory scrapy settings to configure the **Algolia** API:
```python
ALGOLIA_API_ID='my_algolia_api_id'
ALGOLIA_API_KEY='my_algolia_api_key'
ALGOLIA_INDEX_NAME='my_algolia_index_name'
```
Add the `AlgoliaItemPipeline` in the `ITEM_PIPELINES` scrapy setting:
```python
ITEM_PIPELINES = {
'scrapy_algolia_exporter.pipelines.AlgoliaItemPipeline': 10
}
```
The `ALGOLIA_ITEM_BULK_NBR` setting control how many items will be send to Algolia at the same time.
If not provided, the items will be send by group of `100`.
### Install
```
pip install scrapy_algolia_exporter
```
Metadata
Release files for scrapy-algolia-exporter 0.0.2
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 |
|---|---|---|---|---|
| scrapy_algolia_exporter-0.0.2.tar.gz | 3.7 kB | Without provenance | Details for scrapy_algolia_exporter-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scrapy_algolia_exporter-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for scrapy_algolia_exporter-0.0.2-py3-none-any.whl |
Total release size: 10.1 kB
Release files / scrapy_algolia_exporter-0.0.2.tar.gz
| Download URL | scrapy_algolia_exporter-0.0.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8853d8649dfb8925da6613eb592d1aca68edea339727ea2e2ae8dd0c0415f68
|
|
BLAKE2b-256 checksum How to use checksums |
d8da507cfcb77325801cd7b6a5520e002f23c26ecc81f2ec4b1c10afe2a30c6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / scrapy_algolia_exporter-0.0.2-py3-none-any.whl
| Download URL | scrapy_algolia_exporter-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc52d1c37510bf772a25f418a22ff2dfb302de047b3ad4a6ee356c8e1a4597ad
|
|
BLAKE2b-256 checksum How to use checksums |
d7545de474ab4e3f24f1d9a32a066a7a8e47b470ff6da3712b7112226734f66a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for scrapy-algolia-exporter 0.0.2
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.