ParData
ParData (homophone of partake) is a Python API that enables data consumers and distributors to easily use and share datasets, and establishes a standard for exchanging data assets. It enables:
a data scientist to have a simpler and more unified way to begin working with a wide range of datasets, and
a data distributor to have a consistent, safe, and open source way to share datasets with interested communities.
Install the Package & its Dependencies
To install the latest version of ParData, run
$ pip install pardata
Alternatively, if you have downloaded the source, switch to the source directory (same directory as this README file, cd /path/to/pardata-source) and run
$ pip install -U .
Quick Start
Import the package and load a dataset. ParData will download WikiText-103 dataset (version 1.0.1) if it’s not already downloaded, and then load it.
import pardata
wikitext103_data = pardata.load_dataset('wikitext103')
View available ParData datasets and their versions.
>>> pardata.list_all_datasets()
{'claim_sentences_search': ('1.0.2',), ..., 'wikitext103': ('1.0.1',)}
To view your globally set configs for ParData, such as your default data directory, use pardata.get_config.
>>> pardata.get_config()
Config(DATADIR=PosixPath('dir/to/download/load/from'), ..., DATASET_SCHEMA_FILE_URL='file/to/load/datasets/from')
By default, pardata.load_dataset downloads to and loads from ~/.pardata/data/<dataset-name>/<dataset-version>/. To change the default data directory, use pardata.init.
pardata.init(DATADIR='new/dir/to/download/load/from')
Load a previously downloaded dataset using pardata.load_dataset. With the new default data dir set, ParData now searches for the Groningen Meaning Bank dataset (version 1.0.2) in new/dir/to/download/load/from/gmb/1.0.2/.
gmb_data = load_dataset('gmb', version='1.0.2', download=False) # assuming GMB dataset was already downloaded
To learn more about ParData, check out the documentation and the tutorial.
Metadata
Release files for pardata 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pardata-0.4.0.tar.gz | 13.2 MB | Without provenance | Details for pardata-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pardata-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for pardata-0.4.0-py3-none-any.whl |
Total release size: 13.3 MB
Release files / pardata-0.4.0.tar.gz
| Download URL | pardata-0.4.0.tar.gz |
|---|---|
| Size | 13.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b310b6e256e56092a8218126eec8021cc4cf204e44a36309054ac2e9dd78b80f
|
|
BLAKE2b-256 checksum How to use checksums |
c8a87b809d0e0048a9cb3d8ea3f5635f9039eb38712f30c8971fff514efa0bd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.6
|
Release files / pardata-0.4.0-py3-none-any.whl
| Download URL | pardata-0.4.0-py3-none-any.whl |
|---|---|
| Size | 45.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc6d8561937fbe3879a3c03dbb062a41b2c214749e5b538193ae849c4267984b
|
|
BLAKE2b-256 checksum How to use checksums |
a0be1fb95324e172cc8e19119e3e5d7a983df402206d61a0a584e1179e894150
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.6
|
Security for pardata 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.