No project description provided
Project description
# star-archiver
Current version: 0.0.9
## 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stararchiver-0.0.9.tar.gz.
File metadata
- Download URL: stararchiver-0.0.9.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50bbc4ee5f9ce7608b2cb325ed7dd7440952c314c4e17de4317c7dc35dd8f663
|
|
| MD5 |
6c008a288cd55f19648ee8eee93acee3
|
|
| BLAKE2b-256 |
380deb2caa9e31703ff38169d6b60ba4a1aae9841bd9d6165d6358c18c67abae
|
File details
Details for the file stararchiver-0.0.9-py2.7.egg.
File metadata
- Download URL: stararchiver-0.0.9-py2.7.egg
- Upload date:
- Size: 5.1 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c208d1b65a91cf579cf04ad8a521959ca7c6adb211e61c1d208a7d685417969
|
|
| MD5 |
8e883a47a6ddc15b56f90a3ff372702a
|
|
| BLAKE2b-256 |
997436155328742ea90dff689dced7dd1868e3262c0af0e5afd853339c486243
|