Skip to main content

Qore Client

Qore Client is a Python client library for the Qore API.

Prerequisites

First, install uv package installer:

# On macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# On Windows PowerShell
(Invoke-WebRequest -Uri "https://astral.sh/uv/install.ps1" -UseBasicParsing).Content | pwsh -Command -

Installation

For users, simply install using pip:

pip install qore-client

Usage Example

The code below is an example of creating a simple parquet file, uploading it to Qore Drive, and then downloading it again.

access_key = "access_key"
secret_key = "secret_key"
folder_id = "folder_id"
parquet_file = "data.parquet"

from qore_client.client import QoreClient

client = QoreClient(access_key, secret_key)

data = {
    "name": ["Alice", "Bob", "Charlie", "David"],
    "age": [25, 30, 35, 40],
    "city": ["New York", "Los Angeles", "Chicago", "Houston"],
    "salary": [50000, 60000, 70000, 80000],
}

sample_df = pd.DataFrame(data)
sample_df.to_parquet(parquet_file)

create_file_response = client.create_file(folder_id, parquet_file)
get_file_response = client.get_file(response["id"])

df = pd.read_parquet(response2)

print(df)
#       name  age         city  salary
# 0    Alice   25     New York   50000
# 1      Bob   30  Los Angeles   60000
# 2  Charlie   35      Chicago   70000
# 3    David   40      Houston   80000

Development Environment Setup

  1. Clone the repository
git clone <repository-url>
  1. Create a virtual environment and install dependencies
bash dev.sh

Testing Development Versions

# Install the package from TestPyPI
uv pip install -i https://test.pypi.org/simple/ qore-client=={version}

# Install the package from PyPI
uv pip install qore-client=={version}

CI/CD

This project supports automated testing and deployment through GitLab CI/CD.

Metadata

Release files for qore-client 0.1.7

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

Source distribution (sdist)

Source distribution for qore-client 0.1.7
File Size Uploaded Provenance Actions
qore_client-0.1.7.tar.gz 20.1 kB Without provenance Details for qore_client-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qore-client 0.1.7
File Interpreter ABI Platform Actions
qore_client-0.1.7-py3-none-any.whl Python 3 none any Details for qore_client-0.1.7-py3-none-any.whl

Total release size: 45.2 kB

Release files / qore_client-0.1.7.tar.gz

Download URL qore_client-0.1.7.tar.gz
Size 20.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d8f099647f29f4bbc7153976e56a12341a57a85de6a7a1c660a6002284fe9b8c
BLAKE2b-256 checksum
How to use checksums
1e636cc177ac094989878d851e4bbda9e58e4fcfad360d053864ee9472dea80b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / qore_client-0.1.7-py3-none-any.whl

Download URL qore_client-0.1.7-py3-none-any.whl
Size 25.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0632a5737fb95ccf11ef6aed128947b632fdb4ba1e7a620a7a762f5a31bdf431
BLAKE2b-256 checksum
How to use checksums
98462411bda3f0a749d31c399b9395c20743ac36b4cce732803fbefee8fc554d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for qore-client 0.1.7

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.

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files No provenance

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