Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Downloads defined resources

Project Description
Resource downloader based on resource.yml
-----------------------------------------

Usage example: core.py [-f resource.yml] [-o output_directory]

By default resource.yml in a local directory is searched for and files are downloaded to the command's directory.
These options can be overridden as displayed in the usage example.

Reads resource.yml in the following format:

Required fields:

---
- name: <Name of resource>
source: <Filename, directory name, or repository name>

Optional fields added in second example:

---
- name: <Filename, directory name, or repository name>
- name: <Second filename, directory name, or repository name>
protocol: <Defaults based on filename, file extension, and falls back to cURL>
command: <Overrides download procedure. Runs this command directly instead.>
command_args: <Flags for protocol specific command. Note: command setting overrides this.>

Protocols supported:
- bzr
- composer
- curl
- file
- git
- npm
- svn

This version requires Python 3 or later; Python 2 is untested.
Release History

Release History

This version
History Node

0.1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting