Python-weed

Latest version: v0.8.0

Safety actively analyzes 682532 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.8.0

====================================================
supports python3.7+

0.1.7

- add prefetch volumeids for master to get volumeId more quickly;
- add WeedOperation.exists(fid) to detect fid's existence

0.1.6

add examples to README
bump version to v_0.1.6

0.1.5

=====================================================
changelog:
- change default volume port 8080 to 27000
- change api module operation:
rename:
- create -> crud_create
- read -> crud_read
- update -> crud_update
- delete -> crud_delete
add:
- get_url -> return an accessible volume url of a "fid"
- get_content -> return just file content of a file
return value changed:
- now get/put/delete all return the same structure: WeedOperationResponse(wor)
- check operation's status by checking: wor.status (if ok: 'success' else 'fail' or 'error')

0.1.4

====================================================
changelog:
Modify "method: get" of WeedOperation. Change default Parameter
"just_url" to False and add Parameter "just_content"(defaults to
True).

So,
when you do "get" by default, you will get file content as normally expected;

set "just_url" to True you will get an object of WeedResponse
whose "property: fid_full_url" can serve as a full url for
backend servers like nginx, ...;

set "just_content" to True will just return the file's content
else will return a full object of requests.Response(includes all
info, like content-type, headers, ...)

0.1.0

=====================================================
changelog:
add put/get/rm, create/read/update/delete operations

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.