No project description provided
Project description
ckanext-resource_indexer
Index content of resources in addition to metadata.
Important
master branch of this repository is unstable. Always install ckanext-resource-indexer using pip(pip install ckanext-resource-indexer) unless you are going to change extension’s source code for your need.
Config Settings
# The size treshold(MB) for remote resources # (optional, default: 4). ckanext.resource_indexer.max_remote_size = 4 # Make an attempt to index remote files(fetch into tmp folder # using URL) # (optional, default: false). ckanext.resource_indexer.allow_remote = 1 # List of lowercased resource formats that should be # indexed. Currently only `pdf` and `txt` supported # (optional, default: None) ckanext.resource_indexer.indexable_formats = txt pdf
Development Installation
To install ckanext-resource_indexer for development, activate your CKAN virtualenv and do:
git clone https://github.com/DataShades/ckanext-resource_indexer.git cd ckanext-resource_indexer python setup.py develop
Add resource_indexer (and optionaly pdf_resource_indexer or plain_resource_indexer) to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).
Running the Tests
To run the tests, do:
pytest --ckan-ini test.ini
AWS Linux
sudo yum install -y pulseaudio-libs-devel python-devel libxml2-devel libxslt-devel poppler poppler-utils
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ckanext-resource_indexer-0.0.5.tar.gz
.
File metadata
- Download URL: ckanext-resource_indexer-0.0.5.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50e1f17f593b3dc3ae99438549f04361b8bfbb46b899826e1bee9a6943aec254 |
|
MD5 | daba2dab601f20bc815a0ff83c4e6da4 |
|
BLAKE2b-256 | afe05d4638a38ad26a97b8002a88a06f2926820a526d85343afd09e1a7a375d8 |
Provenance
File details
Details for the file ckanext_resource_indexer-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: ckanext_resource_indexer-0.0.5-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8461beeb044bd600489dff4a319986d178fbc1ecf1b0a11ed982af3b3edec74 |
|
MD5 | b9e8742f8b4312a8e1ba4827c817e67f |
|
BLAKE2b-256 | ef9d540b52bb4d06a22f42b38c0a376adbf0eb54773661136cefe3738bda60ba |