Skip to main content

No project description provided

Project description

# star-archiver

Current version: 0.0.8

## What does it do?

Given a GitHub username, this script will look up the user’s starred respositories, clone each repository and (optionally) compress them into a single zip file with the filename format {username}_{repo-owner}-{repo-name}_{timestamp}.zip.

## Dependencies

### Required

git

### Optional

zip

## Install

pip install stararchiver

## Usage

stararchiver <github-username>

#### Compress repositories into a single zip file

stararchiver <github-username> -c

#### Specify the output directory

stararchiver <github-username> -o ~/starred_repos

#### (optional) Specify a GitHub user token

There is an optional parameter -t/–token that can be used to specify a GitHub user API token. Doing this will allow you to perform more successive API calls, allowing for the archive of longer GitHub user star lists.

stararchiver <github-username> -t <github-api-token>

## pip packaging

View the stararchiver package on [PyPi](https://pypi.org/project/stararchiver/).

#### Build a new pip package

./build.sh

#### Upload a new package to PyPi

./update-pip.sh

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

stararchiver-0.0.8.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

stararchiver-0.0.8-py2.7.egg (5.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page