Navigation

Meta

Maintainers

Overview

pkgsync is a tool used to move python packages from one repository to another.
Say, for example you use a pypi-clone application such as chishop and you want to synchronise some packages
from pypi to it, or you have multiple pypi clone applications, etc.

This makes sure that all the versions of some package on repository A are
copied to repository B if they don’t already exist on B.

Benefits

pkgsync is particularly useful because it uses
pkginfo to introspect packages so you
don’t have to:

which is flawed for being slow and often showing up issues where people have
packaged their software incorrectly, with missing MANIFEST.in files, etc., plus
dates change, md5sums change… in short it’s messy. Using pkgsync is less-so.

Password-Protected Repositories

Supports upload and download authentication just in case you have a password-
protected private repository to copy from/to.

Old-Style Packages

Very naively support for old-style packages - packages without any setuptools
metadata in them. For these packages, we attempt to use the filename to
determine the package name and release, then register the package using
the value ‘UNKNOWN’ for all the other setuptools metadata (as per the spec).