Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

iw.recipe.fetcher package

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')
>>> buildout = {'instance': {'location': test_dir},
...             'buildout': {'directory': test_dir,
...             'install-from-cache': 'false',
...             'download-cache':'false',
...            }}
>>> name = 'utilities'

Now we can fetch some urls:

>>> options = {
...   'urls':'http://garr.dl.sourceforge.net/sourceforge/mingw/MinGW-5.1.3.exe',
...   'base_url':'http://switch.dl.sourceforge.net/sourceforge',
...   'files':'''
...             pyodbc/pyodbc-2.0.39.win32-py2.4.zip
... '''}
>>> from iw.recipe.fetcher import Recipe
>>> recipe = Recipe(buildout, name, options)
>>> recipe.install()

It works:

>>> ls(os.path.join(test_dir, name))
MinGW-5.1.3.exe
pyodbc-2.0.39.win32-py2.4.zip

Metadata

Release files for iw.recipe.fetcher 0.1dev-r6547

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

Built distribution (wheel)

Table of built distributions (wheels) for iw.recipe.fetcher 0.1dev-r6547
File Interpreter ABI Platform Actions
iw.recipe.fetcher-0.1dev_r6547-py2.4.egg Legacy Egg format - - Details for iw.recipe.fetcher-0.1dev_r6547-py2.4.egg

Release files / iw.recipe.fetcher-0.1dev_r6547-py2.4.egg

Download URL iw.recipe.fetcher-0.1dev_r6547-py2.4.egg
Size 9.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
89b7b470ca33ae3de9dc2869ce6d183786fabbe6d09f1d052c0b30386a25fbbd
BLAKE2b-256 checksum
How to use checksums
582ad777a23f0c31655ad814ba6890fcf1689da0c52808a2a74538c9566e83bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for iw.recipe.fetcher 0.1dev-r6547

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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