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
13.0.0
to
13.1.0
+1
-1
PKG-INFO
Metadata-Version: 2.1
Name: githubdata
Version: 13.0.0
Version: 13.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 = "13.0.0"
version = "13.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"

@@ -8,2 +8,3 @@ """

import pandas as pd
from persiantools.jdatetime import JalaliDateTime

@@ -13,4 +14,8 @@

def get_data_from_github(github_url) :
def get_data_from_github_without_double_clone(github_url , remove_cache = False
) -> pd.DataFrame :
"""
gets data from a GitHub data repo, without cloning it twice.
if it is already cloned, it will read the data from the local path.
:param: github_url

@@ -21,3 +26,6 @@ :return: pandas.DataFrame

df = gd.read_data()
gd.rmdir()
if remove_cache :
gd.rmdir()
return df

@@ -24,0 +32,0 @@