A simple tool to get last/full version of a github repository and committing back to it
Project description
A simple tool to get last/full version of a github repository and committing back to it.
Quick Start
from githubdata import GithubDataRepo
url = 'https://github.com/imahdimir/d-uniq-BaseTickers'
repo = GithubDataRepo(url)
repo.clone_overwrite_last_version()
data_suffix = '.xlsx'
fpns = repo.return_sorted_list_of_fpns_with_the_suffix(data_suffix)
To delete the directory downloaded:
repo.rmdir()
More Details
repo.clone_overwrite_last_version()
- Every time excecuted, it re-downloads last version of data.
repo.return_sorted_list_of_fpns_with_the_suffix('.xlsx')
- Returns a sorted list containing filepaths downloaded with a given suffix (type).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
githubdata-2.1.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for githubdata-2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac3235091de7b8f16ebffa959b91b1dff67ca6313a2bba59377adadd31b260eb |
|
MD5 | 29230c58f6c44f46e05b8fecbfdcc642 |
|
BLAKE2b-256 | 0d3b71a9bf9ccb1cc149cd95946e5e6c91e7bcb5e94b1cbd921865ede720a4fb |