Pre-release
This release is a pre-release and may not be stable for production use.
What is iw.recipe.fetcher ?
Download an url to a local directory.
How to use iw.recipe.fetcher ?
We need some buildout vars:
>>> data_dir = join(test_dir, 'data')
>>> parts_dir = join(data_dir, 'parts')
>>> buildout = {'instance': {'location': test_dir},
... 'buildout': {'directory': test_dir,
... 'install-from-cache': 'false',
... 'download-cache':'false',
... 'parts-directory': parts_dir}}
>>> name = 'utilities'
Now we can fetch some urls:
>>> options = {
... 'urls':'http://garr.dl.sourceforge.net/sourceforge/mingw/MinGW-5.1.3.exe'}
>>> from iw.recipe.fetcher import Recipe
>>> recipe = Recipe(buildout, name, options)
>>> recipe.install()
It works:
>>> ls(os.path.join(parts_dir, name)) MinGW-...exe
Release files for iw.recipe.fetcher 0.1dev-r6543
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iw.recipe.fetcher-0.1dev_r6543-py2.4.egg | Legacy Egg format | - | - | Details |
Release files / iw.recipe.fetcher-0.1dev_r6543-py2.4.egg
| Download URL | iw.recipe.fetcher-0.1dev_r6543-py2.4.egg |
|---|---|
| Size | 9.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
29c4fe09cb4fedefc0356f144f27d358145dc20bfb325b37c25858dbe088f53c
|
|
BLAKE2b-256 checksum How to use checksums |
c2754cf0f19fe5f52b9a713946f28936d5566c901ecf968b01c8a72ec9a2cec3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |