WebFiles
Download files hosted on the internet and parse with python
Core class construct:
import wget
class WebFile:
def __init__(self, http_address, local_path=None):
self.http_address = http_address
if local_path:
self.local_path = local_path
else:
self.local_path = os.path.basename(http_address)
def download(self):
if not os.path.exists(self.local_path):
wget.download(self.http_address, self.local_path, bar=False)
Metadata
Release files for WebFiles 0.0.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 | |
|---|---|---|---|
| WebFiles-0.0.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| WebFiles-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / WebFiles-0.0.1.tar.gz
| Download URL | WebFiles-0.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3ca7342d37c1de3aad6d7ab906466056659f2e6c714ff4241996436d259bfcc
|
|
BLAKE2b-256 checksum How to use checksums |
64511dc52e92afef467485e124fba3a62cd37ee27ab15d859f646a123e8a7961
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / WebFiles-0.0.1-py3-none-any.whl
| Download URL | WebFiles-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f54ba95420002bb6aba90dec94a84b3eb175bbe531fed53324fe5667d4984335
|
|
BLAKE2b-256 checksum How to use checksums |
b342f226bed59aae6e90cec5d5eeb49399c74770adf1c8ac5b82095348b7f744
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|