piprepo creates PEP-503 compliant package repositories.
Project description
piprepo
piprepo is a tool for building and synchronizing PEP-503 compliant package repositories.
It currently supports synchronization to a local directory as well as AWS S3.
Installation
pip install piprepo
Usage
Build:
usage: piprepo build [-h] directory positional arguments: directory Local directory to build optional arguments: -h, --help show this help message and exit
Sync:
usage: piprepo sync [-h] source destination positional arguments: source Repository source destination Repository destination optional arguments: -h, --help show this help message and exit
Building a local package repo
The piprepo build command builds a simple package index from packages contained in the specified directory.
Download some source tarballs or wheels:
pip download -d /tmp/localrepo pyyaml pip wheel -w /tmp/localrepo pip
Build a simple package repository from downloaded packages:
piprepo build /tmp/localrepo
Build and sychronize to a destination repo
The piprepo sync command builds a simple package index from packages contained in the local source directory, and syncs packages and index files to the specified destination.
Download some source tarballs or wheels:
pip download -d /tmp/syncrepo pyyaml pip wheel -w /tmp/syncrepo pip
Synchronize to local directory:
piprepo sync /tmp/syncrepo /tmp/newrepo
Synchronize to an S3 bucket:
piprepo sync /tmp/syncrepo s3://my-bucket/piprepo
Development
Installing development requirements:
pip install -e .[dev]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for piprepo-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5628d691191f4a20aec55af38f8ef44ca3df4628622c5d8d68778593a89a4769 |
|
MD5 | 7dccea25da83af9137258fe4b51a86b9 |
|
BLAKE2b-256 | 5bee2630bde854b4c1e75d758410ff8788f8cb84e2e15cedebed8bd0988b553f |