No project description provided
Project description
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
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
Close
Hashes for ckanext-resource_indexer-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53bd49f937399ad9196e84787fa7604677e7b1f06fd8e3cc7f02b66986b6f7bc |
|
MD5 | 1356120da81d83821681d843ffbc2cf8 |
|
BLAKE2b-256 | a568656c5a7232d06ec5dee903dd9d2acda4c26955a657bf82c569cbd7b92cfb |
Close
Hashes for ckanext_resource_indexer-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72aea6ad4a9a7062352ad5425d85ff0f8e67cabd9f12d4b40d028dd274b417be |
|
MD5 | 28756e42d3970ac03a40c7460032741b |
|
BLAKE2b-256 | d8b46d0878506133cafd3f3d6a0a31bf023a6ca47f5d6b615c58c17a5a92e54d |