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

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.2.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

ckanext_resource_indexer-0.0.2-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ckanext-resource_indexer-0.0.2.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for ckanext-resource_indexer-0.0.2.tar.gz
Algorithm Hash digest
SHA256 53bd49f937399ad9196e84787fa7604677e7b1f06fd8e3cc7f02b66986b6f7bc
MD5 1356120da81d83821681d843ffbc2cf8
BLAKE2b-256 a568656c5a7232d06ec5dee903dd9d2acda4c26955a657bf82c569cbd7b92cfb

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ckanext_resource_indexer-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for ckanext_resource_indexer-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72aea6ad4a9a7062352ad5425d85ff0f8e67cabd9f12d4b40d028dd274b417be
MD5 28756e42d3970ac03a40c7460032741b
BLAKE2b-256 d8b46d0878506133cafd3f3d6a0a31bf023a6ca47f5d6b615c58c17a5a92e54d

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