Skip to main content

This CKAN extension helps users to upload multiple resources at once with drag&drop.

Project description

ckanext-multiuploader

This CKAN extension helps users to upload multiple resources at once with drag&drop.

Requirements

Compatibility with core CKAN versions:

CKAN version Compatible?
2.9 Yes
earlier No

Installation

To install ckanext-multiuploader:

  1. Activate your CKAN virtual environment and install:

      > . /usr/lib/ckan/default/bin/activate
      > pip install ckanext-multiuploader
    

OR, Clone the source and install it on the virtualenv (Suggested location: /usr/lib/ckan/default/src) :

    git clone https://github.com/TIBHannover/ckanext-multiuploader.git
    cd ckanext-multiuploader
    pip install -e .
    pip install -r requirements.txt
  1. Add multiuploader to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  2. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:

     sudo service apache2 reload
    

Usage and Config

Note: you have to set the max resource size in ckan configuration (/etc/ckan/default/ckan.ini)

    ckan.max_resource_size

Tests

To run the tests, do:

pytest --ckan-ini=test.ini  --disable-pytest-warnings  ckanext/multiuploader/tests/

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-multiuploader-1.5.0.tar.gz (25.1 kB view details)

Uploaded Source

File details

Details for the file ckanext-multiuploader-1.5.0.tar.gz.

File metadata

  • Download URL: ckanext-multiuploader-1.5.0.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for ckanext-multiuploader-1.5.0.tar.gz
Algorithm Hash digest
SHA256 55eb0011e9263ce42d792f5971074b315a56fbfd179a4ca1c805da691bcbf4d7
MD5 9b702026d2044c7492d4022e0e000419
BLAKE2b-256 d0e7400b2466f40f40594f72bd5eb74a20d4b98761a98ae6090bd993732a30d1

See more details on using hashes here.

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