You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

githubdata

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

githubdata - pypi Package Compare versions

Comparing version
12.0.0
to
12.1.0
+1
-1
PKG-INFO
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

@@ -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

@@ -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 @@