Skip to main content

UpStorageClientApi

UpStorage Service Api.

  • Uploading Files
  • Deleting Files
  • Validating Cerdentails
  • Listing Files

Installation

  1. Get a free API Key at https://example.com

  2. Install Library Using pip

    python3 pip install UpStorageApiClient
    
  3. Or Download Files With Git

    git clone https://github.com/user/repo
    
  4. Import Class

    from UpStorageApiClient.api import UpStorageBucket
    
  5. Authenticate with the api

    bucket = UpStorageBucket(auth_token, api_key)
    
  6. Make A Request In This Case upload

    bucket.upload(file='test.txt', is_private=True)
    
    
    Output: {'file': 'https://example/file.txt/'}
    

    file: path of the file or File Object you want to upload. is_private: file types: [public, private] Default: False

  7. Get All File From Bucket

    bucket.get_all_files()
    
    Output: {'url': 'https://example/file.png/', 'is_private': 'True', ...}
    
  8. You can delete File too.But For That You Have to pass the file name.if foldername exists then also that too.This is specificly made for the backend Storage System

    bucket.delete(file_name='myfile.txt')
    

Metadata

Release files for UpStorageApiClient 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for UpStorageApiClient 1.0.1
File Size Uploaded
UpStorageApiClient-1.0.1.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for UpStorageApiClient 1.0.1
File Interpreter ABI Platform
UpStorageApiClient-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / UpStorageApiClient-1.0.1.tar.gz

Download URL UpStorageApiClient-1.0.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0445f133d79cc7ba006e686960c3374d224bc4966461e0d9a1d1cd3e379154e1
BLAKE2b-256 checksum
How to use checksums
74445185239579c298cf9bf4b743613b0c418af39fbe974791a44042fb6866e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / UpStorageApiClient-1.0.1-py3-none-any.whl

Download URL UpStorageApiClient-1.0.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8102a99b407499353c4762c135e32f12c391010e6f8601c06d3c3e977978f651
BLAKE2b-256 checksum
How to use checksums
7d72a611f6c6de7d2f843ec71ee8b445732c1cefefe9d33d428683e6bd76a171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release history Release notifications | RSS feed

1.1

2 release files

This release

1.0.1 This release

2 release files

1.0

2 release files

0.9

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

2 release files

0.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page