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')
    

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

UpStorageApiClient-1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

UpStorageApiClient-1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file UpStorageApiClient-1.1.tar.gz.

File metadata

  • Download URL: UpStorageApiClient-1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for UpStorageApiClient-1.1.tar.gz
Algorithm Hash digest
SHA256 059fe9e2281a48ff51edfc355aee61d33ce6e090a46808dabfdbe3a0f2cdec98
MD5 54075bf451aef868ec62c29a3be27236
BLAKE2b-256 eb7fdf24ff4151fc06f697203560837da9090cfe3428784cdbc38aaf1e87832b

See more details on using hashes here.

File details

Details for the file UpStorageApiClient-1.1-py3-none-any.whl.

File metadata

  • Download URL: UpStorageApiClient-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for UpStorageApiClient-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f517135e4ea319c25a0cc4243987194e73fd7c41897a3312b3178f5ed98848f
MD5 d8ff46f45ec31e8b46bcbf47cb8a024f
BLAKE2b-256 6ad4ba1f6e9f40aee0c2c6f75309d548602394087b1ea8963ac634db684bda58

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1 This release

2 files

1.0.1

2 files

1.0

2 files

0.9

2 files

0.8

2 files

0.7

2 files

0.6

2 files

0.4

1 file

0.3

1 file

0.2

1 file

0.1

2 files

0.0.3

1 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