Skip to main content

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.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

pyghs-0.2.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file pyghs-0.2.2.tar.gz.

File metadata

  • Download URL: pyghs-0.2.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.5.3 CPython/3.9.13

File hashes

Hashes for pyghs-0.2.2.tar.gz
Algorithm Hash digest
SHA256 302746af404741e78b782f1a203e65f65de572ea3576ae3ad024735b459961bc
MD5 d418f58684310ebb4af882095c3e0733
BLAKE2b-256 2c77d7d1fb2d615d651e1a8d54593eb6b27bdb8d97b1acda6c11ce5b5357660f

See more details on using hashes here.

File details

Details for the file pyghs-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: pyghs-0.2.2-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

Hashes for pyghs-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f5ebba0685d3a06add3b401430966ea45491552601e211d64d7afb2f0b746a29
MD5 1061a28b8c3794e5c06cf16775d65c1f
BLAKE2b-256 9f0d12bc98143e0165e8d9f0f87821bd035dd87decad0af60fd248f9eeca56a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page