Skip to main content

wurf - Web Upload and Receive Files

Rationale

I guess everybody with a laptop has experienced this problem at some point: You plug into a network and just want to exchange files with other participants. It always is a pain until you can exchange files with the person vis-a-vis.

Of course there are a lot of tools to tackle this problem. For large scale communities there are dozens of filesharing networks. However, they don't work for small local networks. Of course you could put your stuff to exchange on a local web server, but who really wants to maintain this? Tools like the ingenious npush/npoll are extremely helpful, provided that both parties have it installed, SAFT also aims to solve this problem, but needs a permanently running daemon...

wurf (Web Upload and Receive Files) tries a different approach. It assumes that everybody has a web-browser or a commandline web-client installed. The wurf command is a small simple webserver that can easily be invoked on a single file. Your partner can access the file with tools he trusts (e.g. wget). No need to enter passwords on keyboards where you don't know about keyboard sniffers, no need to start a huge lot of infrastructure, just do a

     $ wurf filename

and tell the recipient the URL wurf spits out. When he got that file, wurf will quit and everything is done.

And when someone wants to send you a file, wurf has a switch to offer itself, so he can get wurf and offer a file to you.

Prerequisites and usage

wurf needs Python on a unix'ish operating system. Some people have used it successfully on Windows within the cygwin environment.

    Usage: wurf [-i <ip_addr>] [-p <port>] [-c <count>] <file>
           wurf [-i <ip_addr>] [-p <port>] [-c <count>] [-z|-j|-Z|-u] <dir>
           wurf [-i <ip_addr>] [-p <port>] [-c <count>] -s
           wurf [-i <ip_addr>] [-p <port>] [-c <count>] -U
   
           wurf <url>

    Serves a single file <count> times via http on port <port> on IP
    address <ip_addr>.
    When a directory is specified, an tar archive gets served. By default
    it is gzip compressed. You can specify -z for gzip compression, 
    -j for bzip2 compression, -Z for ZIP compression or -u for no compression.
    You can configure your default compression method in the configuration 
    file described below.

    When -s is specified instead of a filename, wurf distributes itself.

    When -U is specified, wurf provides an upload form, allowing file uploads.
   
    defaults: count = 1, port = 8080

    If started with an url as an argument, wurf acts as a client,
    downloading the file and saving it in the current directory.

    You can specify different defaults in two locations: /etc/wurfrc
    and ~/.wurfrc can be INI-style config files containing the default
    port and the default count. The file in the home directory takes
    precedence. The compression methods are "off", "gz", "bz2" or "zip".

    Sample file:

        [main]
        port = 8008
        count = 2
        ip = 127.0.0.1
        compressed = gz

Credits

wurf is a fork of woof by Simon Budig simon@budig.de

Metadata

Release files for wurf 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wurf 1.0.0
File Size Uploaded Provenance
wurf-1.0.0.tar.gz 9.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for wurf 1.0.0
File Interpreter ABI Platform
wurf-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / wurf-1.0.0.tar.gz

Download URL wurf-1.0.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8641e4a09127c5273a90d6098a779fc6248452a7324e05f8b7d993fba592d692
BLAKE2b-256 checksum
How to use checksums
7a842e1a65a0d6bfe60f144ca3cabf7b9ae40e23982095cd98335f5b1c0f41bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release files / wurf-1.0.0-py3-none-any.whl

Download URL wurf-1.0.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
491611b2b5792cafbe0016cd319f8c61c53079e5bb6b0c82850626b10a11604c
BLAKE2b-256 checksum
How to use checksums
6039ce8d3d36093a12daaffbb1abdf2672446e02031020395d980510c5de789f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Security for wurf 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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