Storage csv file in github repository.
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyghs-0.2.3.tar.gz
(3.9 kB
view details)
Built Distribution
pyghs-0.2.3-py3-none-any.whl
(4.7 kB
view details)
File details
Details for the file pyghs-0.2.3.tar.gz
.
File metadata
- Download URL: pyghs-0.2.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.5.3 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac51cf83321f5f7b3651dbfeb62c663547de6deafbc4288cbb4ab6d567e5a985 |
|
MD5 | 0dbf5abc23b30d35d843b7cdcd0ab2af |
|
BLAKE2b-256 | 6fee2067498270c86f7d135b8f43473d504250b1ce1886ccb7e7c63d31b2a6ce |
File details
Details for the file pyghs-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: pyghs-0.2.3-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.5.3 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7883cd6ed3444df07dc40919c2a3765beee100455cdbbc4e7c26d1f601c2c223 |
|
MD5 | 27eab08a2941ca123d1b5ca118091463 |
|
BLAKE2b-256 | 226aab76ebda86f5ecde46bbbfcd2c53ed927de92c9d1203d400bfa930ffc242 |