Skip to main content

## Django Bower Cache (the Python/Django edition)

[![Build Status](https://travis-ci.org/Tinche/django-bower-cache.png)](https://travis-ci.org/Tinche/django-bower-cache) [![Coverage Status](https://coveralls.io/repos/Tinche/django-bower-cache/badge.png?branch=master)](https://coveralls.io/r/Tinche/django-bower-cache?branch=master) [![Requirements Status](https://requires.io/github/Tinche/django-bower-cache/requirements.png?branch=master)](https://requires.io/github/Tinche/django-bower-cache/requirements/?branch=master)

Django Bower Cache is a Django app providing two services:

  • act as a registry (a name to URL mapper) for Bower packages.

  • act as a caching proxy for remote Bower packages.

The admin interface is available for both functionalities.

If you just want a simple way to run a local Bower caching proxy, see the [Bower Cache](https://github.com/Tinche/bower-cache) project, which is built around Django Bower Cache.

Django Bower Cache supports Python 2.6, 2.7, 3.3, 3.4 and PyPy.

## Settings

Django Bower Cache uses three additional settings from the Django settings file.

REPO_ROOT - the absolute path to the directory which will contain the cached Bower git repositories. Example: /var/bower-cache.

UPSTREAM_BOWER_REGISTRY - the URL of the Bower index from which to retrieve package data. Currently the global Bower registry is located at [https://bower.herokuapp.com](https://bower.herokuapp.com).

REPO_URL - Optional. The URL hostname and prefix to use when generating git URLs for cloned repositories. If left unspecified, Django Bower Cache will try extracting the hostname from the HTTP request and use the root URL path plus the package name. For example, if Django Bower Cache happens to be queried at http://10.1.10.5/ for the Bootstrap package, and the Bootstrap package has been cached, the generated git URL will be git://10.1.10.5/bootstrap.

## Documentation

The documentation will be linked here once it’s written.

## License

Copyright © 2013 Toran Billups, Tin Tvrtković.

Licensed under the MIT License.

Release files for django-bower-cache 0.5.0

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 django-bower-cache 0.5.0
File Interpreter ABI Platform
django_bower_cache-0.5.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / django_bower_cache-0.5.0-py2.py3-none-any.whl

Download URL django_bower_cache-0.5.0-py2.py3-none-any.whl
Size 14.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
966a1fb80ea454dbf5d0af404ee0e39eb3d560704be23d7582793f33ba0959cf
BLAKE2b-256 checksum
How to use checksums
9e4d16a6dda4b5f88f077eacf5dbee1ed0a4e020c91835260979f98e9072bed9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

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