This release is a pre-release and may not be stable for production use.
ds-provider-grasp-py-lib
A Python package from the ds-common library collection.
Installation
Install the package using pip:
pip install ds-provider-grasp-py-lib
Or using uv (recommended):
uv pip install ds-provider-grasp-py-lib
Quick Start
from ds_provider_grasp_py_lib import __version__
print(f"ds-provider-grasp-py-lib version: {__version__}")
Features
- GRASP Provider: Provider for the GRASP platform
- AWS Provider: Provider for the AWS platform
Usage
import uuid
import logging
from os import environ
from ds_common_logger_py_lib import Logger
from ds_provider_aws_py_lib.linked_service.aws import AWSLinkedService, AWSLinkedServiceSettings
from ds_provider_grasp_py_lib.dataset.cart import GraspCartDataset, GraspCartDatasetSettings
Logger.configure(level=logging.DEBUG)
logger = Logger.get_logger(__name__)
dataset = GraspCartDataset(
id=uuid.uuid4(),
name="cart-dataset",
version="1.0.0",
linked_service=AWSLinkedService(
id=uuid.uuid4(),
name="aws-linked-service",
version="1.0.0",
settings=AWSLinkedServiceSettings(
access_key_id="****************",
access_key_secret="****************",
region="eu-north-1",
account_id="****************",
),
),
settings=GraspCartDatasetSettings(
owner_id="****************",
product_group_name="****************",
product_name="****************",
version="****************",
include_history=False,
),
)
dataset.linked_service.connect()
environ["TENANT_ID"] = "****************"
dataset.read()
logger.debug(f"Dataset: {dataset.output}")
Requirements
- Python 3.11 or higher
Documentation
Full documentation is available at:
Development
To contribute or set up a development environment:
# Clone the repository
git clone https://github.com/grasp-labs/ds-provider-grasp-py-lib.git
cd ds-provider-grasp-py-lib
# Install development dependencies
uv sync --all-extras --dev
# Run tests
make test
See the README for more information.
License
This package is licensed under the Apache License 2.0. See the LICENSE-APACHE file for details.
Support
- Issues: GitHub Issues
- Releases: GitHub Releases
Metadata
Release files for ds-provider-grasp-py-lib 0.1.0b5
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 |
|---|---|---|---|---|
| ds_provider_grasp_py_lib-0.1.0b5.tar.gz | 15.3 kB | Without provenance | Details for ds_provider_grasp_py_lib-0.1.0b5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ds_provider_grasp_py_lib-0.1.0b5-py3-none-any.whl | Python 3 | none | any | Details for ds_provider_grasp_py_lib-0.1.0b5-py3-none-any.whl |
Total release size: 31.9 kB
Release files / ds_provider_grasp_py_lib-0.1.0b5.tar.gz
| Download URL | ds_provider_grasp_py_lib-0.1.0b5.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8bd2bb7c8e14865d77be42d809294d0974611098c58ada0a81c9f10ffcb42b7
|
|
BLAKE2b-256 checksum How to use checksums |
a490e6b287ff2cb556633f4e4dba7d9a4d7795ad655272a70db897102dd2b6b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / ds_provider_grasp_py_lib-0.1.0b5-py3-none-any.whl
| Download URL | ds_provider_grasp_py_lib-0.1.0b5-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
339140edd52965c8e5fea03948b7b06f56dc2effecd7b06eaebb4a7bf5226aa0
|
|
BLAKE2b-256 checksum How to use checksums |
c49171536a711cecd4e7cb2d5c2f8dd53ab5edfffd43ebeb8af76356009208d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for ds-provider-grasp-py-lib 0.1.0b5
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.