Skip to main content

Files uploader to custom storages

Project description

pbx-lv2-records-uploader

Simple selectel upload

    from pbx_component_files_uploader.uploader import Uploader

    api = Uploader(Uploader.SERVICE_SELECTEL, {
        'username': 'user',
        'password': 'pass',
        'container': 'container_name'
    }, {
        'token_cache_dir': '/path/to/cache/dir'
    })

    uploadedFileUrl = api.upload(
        '/path/to/src/file', 'dst_folder/dst_filename')

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

pbx_component_files_uploader-0.0.4.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

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