Skip to main content


Project description

To install:

easy_install belt
pip install belt

Create a config file setting local_packages to wherever you want to store your locally cached packages:

cat << EOF > production.ini

use = egg:belt

pyramid.reload_templates = false
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes =

jinja2.directories = belt:templates
jinja2.filters =
    route_url = pyramid_jinja2.filters:route_url_filter

local_packages = /vagrant/pypi

use = egg:waitress#main
host =
port = 6543

keys = root, belt

keys = console

keys = generic

level = WARN
handlers = console

level = WARN
handlers =
qualname = belt

class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic

format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s

Then run with pserve:

pserve production.ini

You can now install packages via your local proxy:

pip install -i http://localhost:6543/simple/ zest.releaser

Any packages that exist locally will be installed direct from disk, non-existent packages will be installed from PyPI and stored locally for future use.

0.2 (2013-04-01)

  • Nothing changed yet.

0.1 (2013-04-01)

  • Initial version

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for belt, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size (23.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page