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.
Metadata
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 | Provenance | |
|---|---|---|---|---|
| offer-0.2.1.tar.gz | 4.1 kB | Without provenance | 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 |
Security for offer 0.2.1
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.