githubdata
Advanced tools
+1
-1
| Metadata-Version: 2.1 | ||
| Name: githubdata | ||
| Version: 12.0.0 | ||
| Version: 12.1.0 | ||
| Summary: A simple tool to get the lastest version of a dataset in a Github repository | ||
@@ -5,0 +5,0 @@ Project-URL: Homepage, https://github.com/imahdimir/githubdata |
+1
-1
@@ -7,3 +7,3 @@ [build-system] | ||
| name = "githubdata" | ||
| version = "12.0.0" | ||
| version = "12.1.0" | ||
| authors = [{ name = "Mahdi Mir", email = "imahdimir@gmail.com" }] | ||
@@ -10,0 +10,0 @@ description = "A simple tool to get the lastest version of a dataset in a Github repository" |
| from .github_data_repo import get_data_from_github | ||
| from .github_data_repo import GithubDataRepo | ||
| from .github_data_repo import GitHubDataRepo |
@@ -18,6 +18,11 @@ """ | ||
| class GithubDataRepo(GitHubRepo) : | ||
| class GitHubDataRepo(GitHubRepo) : | ||
| def __init__(self , repo_url , committing_usr = None , token = None) : | ||
| def __init__(self , | ||
| repo_url , | ||
| local_path = None , | ||
| committing_usr = None , | ||
| token = None) : | ||
| super().__init__(repo_url = repo_url , | ||
| local_path = local_path , | ||
| committing_usr = committing_usr , | ||
@@ -81,5 +86,5 @@ token = token) | ||
| """ | ||
| gd = GithubDataRepo(github_url) | ||
| gd = GitHubDataRepo(github_url) | ||
| df = gd.read_data() | ||
| gd.rmdir() | ||
| return df |
+3
-3
@@ -19,3 +19,3 @@ """ | ||
| u = 'https://github.com/imahdimir/d-TSETMC_ID-2-FirmTicker' | ||
| repo = GithubDataRepo(u) | ||
| repo = GitHubDataRepo(u) | ||
| repo.clone_overwrite() | ||
@@ -28,3 +28,3 @@ | ||
| u = 'https://github.com/imahdimir/test-public' | ||
| repo = GithubDataRepo(u) | ||
| repo = GitHubDataRepo(u) | ||
| repo.clone_overwrite() | ||
@@ -41,3 +41,3 @@ | ||
| ur = 'https://github.com/imahdimir/test-private' | ||
| rp = GithubDataRepo(ur) | ||
| rp = GitHubDataRepo(ur) | ||
| rp.clone_overwrite() | ||
@@ -44,0 +44,0 @@ |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
12496
1.12%101
5.21%