Skip to main content

GHS

Storage csv file in github repository.

Installation

pip install pyghs

Usage

from ghs import GHS
import pandas as pd

df = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})

# Create a GHS instance
ghs = GHS("YOUR_GITHUB_REPOSITORY", "YOUR_GITHUB_TOKEN")
# Create a csv file in github repository
ghs.create("test.csv", df)

# Get a csv file from github repository
df = ghs.get("test.csv")
print(df)

This prints:

   a  b
0  1  4
1  2  5
2  3  6

Release files for pyghs 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyghs 0.2.3
File Size Uploaded
pyghs-0.2.3.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyghs 0.2.3
File Interpreter ABI Platform
pyghs-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / pyghs-0.2.3.tar.gz

Download URL pyghs-0.2.3.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ac51cf83321f5f7b3651dbfeb62c663547de6deafbc4288cbb4ab6d567e5a985
BLAKE2b-256 checksum
How to use checksums
6fee2067498270c86f7d135b8f43473d504250b1ce1886ccb7e7c63d31b2a6ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.5.3 CPython/3.9.13

Release files / pyghs-0.2.3-py3-none-any.whl

Download URL pyghs-0.2.3-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7883cd6ed3444df07dc40919c2a3765beee100455cdbbc4e7c26d1f601c2c223
BLAKE2b-256 checksum
How to use checksums
226aab76ebda86f5ecde46bbbfcd2c53ed927de92c9d1203d400bfa930ffc242
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.5.3 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page