Package Repository


This plugin turns Trac into a private package repository.

The plugin provides:

  • New Trac admin panel for managing packages:
    • Upload package files to Trac
    • Delete package files
  • New permissions:
    • PACKAGE_REPOSITORY_VIEW: Required to use the package repository
    • PACKAGE_REPOSITORY_ADMIN: Required to use the admin panel

Python Packages

The plugin implements the Simple Repository API so Trac acts as a private package repository similar to PyPI.

Upload wheel (.whl) package files created by python bdist_wheel. Install them with: pip install --index-url https://<tracurl>/packages/py/ <packagename>

Javascript Packages

The plugin implements a CommonJS Compliant package registry so Trac acts as a private package repository similar to npm.

Upload tarball (.tgz) package files create by npm pack. Install them with npm install <packagename> --registry https://<tracurl>/packages/js/

Bugs/Feature Requests

Existing bugs and feature requests for PackageRepositoryPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


You can check out PackageRepositoryPlugin from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

17301 by psuter on 2018-10-21 16:53:57
PackageRepositoryPlugin: Initial commit.
17299 by psuter on 2018-10-21 16:48:45
New hack PackageRepositoryPlugin, created by psuter


Author: psuter
Maintainer: Peter Suter

Last modified 6 years ago Last modified on Oct 21, 2018, 4:48:45 PM