Skip to content

easytopic-project/files-ms-client-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

files-ms-client-python

Python client for Node Files Microservice

Instalation

Install with pip:

pip3 install git+https://github.com/maxjf1/files-ms-client-python#egg=files-ms-client-python

Usage

For better usage, FILES_URL enviroment should be set. If not, an url argument for the files server URL should be used.

from files_ms_client.client import download, upload, delete

# Upload a file
response = upload('../path/to/file.txt')

# Download a file
download('file_name', '../path/to/new_file.txt')

# Delete a file
delete('file_name')

About

Python client for Node Files Microservice

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages