Skip to main content

No project description provided

Project description

https://travis-ci.org/DataShades/ckanext-resource_indexer.svg?branch=master https://codecov.io/gh/DataShades/ckanext-resource_indexer/branch/master/graph/badge.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckanext-resource_indexer-0.0.6.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

ckanext_resource_indexer-0.0.6-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file ckanext-resource_indexer-0.0.6.tar.gz.

File metadata

  • Download URL: ckanext-resource_indexer-0.0.6.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for ckanext-resource_indexer-0.0.6.tar.gz
Algorithm Hash digest
SHA256 4641de05422e0f13c1b013cf41e97b0398572e06a141efe842901c5c27d39dc0
MD5 165753d96d2f29d1442648e3cdd95965
BLAKE2b-256 303f94bcccc027872cc6e8e1009d56c7d125dd2db8dce46bbb136b2c28336b96

See more details on using hashes here.

Provenance

File details

Details for the file ckanext_resource_indexer-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: ckanext_resource_indexer-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for ckanext_resource_indexer-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9a091f7ed25d12057c1860e665fce90a601c5cf7dc4732a2699afe72ba8d2860
MD5 a73932626594198d47096c2644da560d
BLAKE2b-256 c04a3dea3d9918f4c4d19918a13770387a3c229787b301d3f35637dcf4101ab5

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page