Skip to main content

ShareGPT dataset package

This package bundles ShareGPT_V3_unfiltered_cleaned_split.json so it can be installed with pip and accessed via importlib.resources.

Prepare the data file

Place the dataset here before building/installing:

sharegpt_dataset/src/sharegpt_dataset/data/ShareGPT_V3_unfiltered_cleaned_split.json

Build a wheel

cd sharegpt_dataset
python -m pip install --upgrade build
python -m build --wheel

Install

pip install sharegpt_dataset/dist/sharegpt_dataset-0.1.0-py3-none-any.whl

Use

from sharegpt_dataset import dataset_path, open_dataset

with dataset_path() as path:
    print(path)

with open_dataset("rb") as f:
    first_bytes = f.read(64)

Metadata

Release files for sharegpt-dataset 0.1.0

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

Source distribution (sdist)

Source distribution for sharegpt-dataset 0.1.0
File Size Uploaded
sharegpt_dataset-0.1.0.tar.gz 27.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for sharegpt-dataset 0.1.0
File Interpreter ABI Platform
sharegpt_dataset-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 54.0 MB

Release files / sharegpt_dataset-0.1.0.tar.gz

Download URL sharegpt_dataset-0.1.0.tar.gz
Size 27.0 MB
Tags Source
SHA-256 checksum
How to use checksums
c892fd61ae8793cb8e9932e9c89cc832500427fb2e47f0f16ceaf9dd48a221fb
BLAKE2b-256 checksum
How to use checksums
596a5ed4dabb328f9e740fbf94c8b42b4a395effcc8e0c03b378a8db9d0e1de2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Release files / sharegpt_dataset-0.1.0-py3-none-any.whl

Download URL sharegpt_dataset-0.1.0-py3-none-any.whl
Size 27.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
813092959a9282c28c8bac1bf449c5baba1adcd2b4a19ededae2c96e96c4760a
BLAKE2b-256 checksum
How to use checksums
fbe1997716a7a8ef5a62e49e1cfb0af19a5bc3c37637bafb4ccd6de9fab4d421
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

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