Skip to content

pysparklyr

0.2.2Package record

Provides a 'PySpark' Back-End for the 'sparklyr' Package

0packages depend
24Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

It enables 'sparklyr' to integrate with 'Spark Connect', and 'Databricks Connect' by providing a wrapper over the 'PySpark' 'python' library.

Changes in 0.2.2

New

  • Adds support for tune_grid_spark(). It enables running a Tidymodels tune

grid inside Spark Connect clusters.

  • Snowflake connections now support all native authenticators via the Snowflake Python SDK, which also picks up on default credentials from Snowflake connections.toml files. Viewer-based credentials on Posit Connect are now supported, too (#181 - @atheriel).

Improvements

  • Databricks Connect now auto-detects the latest library version from PyPI when

no version parameter is specified. When the auto-detected version differs from

the cluster's DBR version, a warning is displayed with suggestions for ensuring

version compatibility.

Show all changes in 0.2.2Hide the rest of the changes in 0.2.2
  • Adds profile argument support to the Databricks SDK connection call.
  • When no cluster version is provided, uses the latest available main library

version from PyPI.

Fixes

  • Restores compatibility with sparklyr 1.9.5 / dbplyr 2.6.0, which restructured the tbl source slot. Operations on a tbl (e.g. printing, collect()) no longer fail with "no applicable method for 'invoke' applied to an object of class 'c('spark_connection', 'DBIConnection')'". Two-table verbs such as left_join() no longer error with "x and y must share the same source", and the deprecated dbplyr::as.sql() call was replaced with as_table_path() (#185). This raises the minimum requirements to sparklyr >= 1.9.5 and dbplyr >= 2.6.0.
  • No longer emits spurious reticulate "After Python has initialized, only action = 'add' ..." warnings when opening additional connections in a session that uses an ephemeral (uv) Python environment.
  • Fixes conversion of Pandas NULL columns and date types (#178 - @tobiasdut)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-17
  • WARNING9 OK, 4 WARNING2026-06-09
  • ERROR8 OK, 4 WARNING, 1 ERROR2026-06-08
Show 1 earlier changeHide 1 earlier change
  • WARNING9 OK, 5 WARNING2026-03-10
Advisories

none known

Documentation

In release 0.2.2
READMEYes · 95 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
9 (2 internal)includes a package overview page
Examples that run
no examples
Exported functions with examples
0%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

24K
CRAN downloads in the past year
Rank #3,945 · ~66/day · ~2K/mo
Daily download trend is not available in this view yet.
84830 days
2.3K90 days
24K1 year
Compare downloads with other packages →
Also on201 r2u8 autocran

Repository

18Stars
10Forks
15Open issues
4Open PRs
12Releases
1,305Commits
9Commit identities
databrickspysparkrsparkspark-connect
1,305 commits · Last activity 2026-10-02 · +5.9% stars, 30d · Default branch at 0.2.2.9000, ahead of CRAN 0.2.2 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
99%
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-04-23 · 162026-10-08 · 18
PracticesBeta

10 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/mlverse/pysparklyr on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
34 external dependencies (excludes base and recommended)

Installing pysparklyr adds 53 packages (32 with compiled code, 35 MB of source tarballs). Heaviest: stringi 11 MB, arrow 4.2 MB, sparklyr 2.5 MB.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2023)
Copyright holder, Funder
Releases (13)

Pick two releases to compare their code metrics.

Show 1 earlier eventHide 1 earlier event
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-10-04
Total releases
13 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Download size
147 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("pysparklyr")
Ruiz, E., & Posit Software, PBC. (2026). pysparklyr: Provides a 'PySpark' Back-End for the 'sparklyr' Package (Version 0.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.pysparklyr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for pysparklyr version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy