Quickly offer a file for download on LAN.
Usage
pip install offer
Then you can use it from the CLI:
offer ~/path/file.ext
It’ll try to host the file on port 80 by default and will fall back on port 8000 silently if it is not run with the correct permissions. You can provide a custom port via the --port argument.
Then from another computer/tablet/phone, you can either point the browser at the IP address printed out or use curl.
Note about cURL
Remember to use the -L flag with cURL to follow redirects.
Release files for offer 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| offer-0.2.1.tar.gz | 4.1 kB | Details |
Release files / offer-0.2.1.tar.gz
| Download URL | offer-0.2.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ee0908c83f4f35ce5e5061987a70a6349649229be2cd3754c0a19c9ee5d5910
|
|
BLAKE2b-256 checksum How to use checksums |
fe9498929c0c83c3978d6162087ef8f5eba64aae5b8f5c24f0601eea54150ae7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |