skip to navigation
skip to content

pyweed 0.3.1

Python module to communicate with Weed-FS

Package Documentation

Latest Version: 0.3.3


Class to simplify communication with WeedFS


From PyPI:

pip install pyweed


Install dependencies:

pip install -r test_requirements.txt

Run tests:

python tests

Or using nose:



Functional tests assumes that there is WeedFS master running on localhost:9333 (defaults). If it’s not then there will be errors in tests.


Upload file to weedFS

from pyweed import WeedFS

# File upload
w = WeedFS("localhost", 9333) # weed-fs master address and port
fid = w.upload_file("n.txt") # path to file

# Get file url
file_url = w.get_file_url(fid)

# Delete file
res = w.delete_file(fid)
# res is boolean (True if file was deleted)
File Type Py Version Uploaded on Size (md5) Source 2014-04-28 7KB
  • Downloads (All Versions):
  • 16 downloads in the last day
  • 60 downloads in the last week
  • 341 downloads in the last month