Skip to main content

Extension to manage CKAN resources in any S3-like object storage.

Project description

CKAN Cloudstorage API

Extension to manage CKAN resources in any S3-like object storage.

Documentation: https://envidat.gitlab-pages.wsl.ch/ckanext-cloudstorage_api/

Source Code: https://gitlabext.wsl.ch/EnviDat/ckanext-cloudstorage_api


This plugin is primarily intended for custom frontends built on the CKAN API.

Supports any S3-like API, e.g. Minio, Ceph Object Gateway.

Full support for all Apache libcloud drivers was dropped, due to primarily relying on S3 multipart and pre-signed URL capabilities.

Install

pip install ckanext-cloudstorage-api

Config

Required variables are set in your ckan.ini:

  • ckanext.cloudstorage_api.host
    • Description: The S3 host URL.
  • ckanext.cloudstorage_api.region
    • Description: The S3 host region.
  • ckanext.cloudstorage_api.access_key
    • Description: Access key for S3.
  • ckanext.cloudstorage_api.secret_key
    • Description: Secret key for S3.
  • ckanext.cloudstorage_api.bucket_name
    • Description: The name of the S3 bucket to store files.
  • ckanext.cloudstorage_api.max_multipart_lifetime
    • Description: (Optional) maximum time a multipart part can exist. Multiparts will be cleaned if older than this by calling the cloudstorage_clean_multiparts endpoint.
  • ckanext.cloudstorage_api.leave_files
    • Description: (Optional) leave files on S3 after resource deletion.

Endpoints

TBC

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-cloudstorage-api-0.0.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

ckanext_cloudstorage_api-0.0.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file ckanext-cloudstorage-api-0.0.0.tar.gz.

File metadata

File hashes

Hashes for ckanext-cloudstorage-api-0.0.0.tar.gz
Algorithm Hash digest
SHA256 7f2d5614fb1f7f21ee7665e7bb96b281f72d2a0f8bb6031746eb1b9d4b032a9d
MD5 1f0e3073505297c38037d194534a0141
BLAKE2b-256 7094e61a5681de6bd6985885ae3f50ab36cb03752e5df4543823d654d5681f5f

See more details on using hashes here.

File details

Details for the file ckanext_cloudstorage_api-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ckanext_cloudstorage_api-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a7ee81a23a1a1489841ba3b87758567e3c562d2553b5ee7a80f790a55b3b20b
MD5 1c4529f74ebde1d1977846d872af9b63
BLAKE2b-256 52296b3e1a0e01f61ad39d12e3f34c4741d1e6e5c2dd01d4700631419a2b5c38

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