Skip to main content

Python module to communicate with Weed-FS

Project description

https://travis-ci.org/utek/pyweed.svg?branch=master

PyWeed

Class to simplify communication with WeedFS

Installation

From PyPI

pip install pyweed

Usage

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)

Project details


Download files

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

Source Distribution

pyweed-0.2.0.zip (6.6 kB view details)

Uploaded Source

File details

Details for the file pyweed-0.2.0.zip.

File metadata

  • Download URL: pyweed-0.2.0.zip
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyweed-0.2.0.zip
Algorithm Hash digest
SHA256 0f018e9b4a02ea36f2af91edfdf6603fe1f0ee8bedb60f6c35b484e960f0590a
MD5 c9717161706e6060af45528daf83c42f
BLAKE2b-256 2cf16054aec2267951502c2ced9ba1c65e972ebc2d19cbe10e7cb27ac0e53c11

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page