Skip to main content

Nebius AI connector for Apache Spark™

The Managed Service for Apache Spark, a Nebius AI service, offers access to sessions: managed environments that can handle multiple independent ad-hoc computations at the same time.

With this connector, you can connect to your Managed Spark sessions using Spark Connect and process data with Spark APIs from your machine.

Installing

pip install nebius-connect

Example

from pyspark.sql.connect.session import SparkSession
from nebius.spark.connect import create_channel_builder

nebius_spark_cb = create_channel_builder(
    'spsession-example123.nebius.cloud:443',
    password='my-password'
)

spark = SparkSession \
    .builder \
    .channelBuilder(nebius_spark_cb) \
    .getOrCreate()

columns = ["id","name"]
data = [(1,"Sarah"),(2,"Maria")]
df = spark.createDataFrame(data).toDF(*columns)
df.show()
spark.stop()

License

Copyright 2024 Nebius B.V.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Apache and Apache Spark are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

Metadata

Release files for nebius-connect 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 nebius-connect 0.1.0
File Size Uploaded Provenance Actions
nebius_connect-0.1.0.tar.gz 7.0 kB Without provenance Details for nebius_connect-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nebius-connect 0.1.0
File Interpreter ABI Platform Actions
nebius_connect-0.1.0-py3-none-any.whl Python 3 none any Details for nebius_connect-0.1.0-py3-none-any.whl

Total release size: 14.8 kB

Release files / nebius_connect-0.1.0.tar.gz

Download URL nebius_connect-0.1.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
69128e87ffcda0250aeeddc201dada72aab5f996fc9f134abc9e3ac509e3d966
BLAKE2b-256 checksum
How to use checksums
d2ff56be0125de0365fda640eaa3a87c5b8ea1772e7a11ec57574112cfd9a996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

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

Download URL nebius_connect-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a5671084c4eb3e7260024bd72240bfec5504f445812a46cf5a6708a259dd7a1
BLAKE2b-256 checksum
How to use checksums
82f58ea0f2515c4012ac4b6f11eeb0bad63a90113391b30bbfa685c7e5c6c816
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Security for nebius-connect 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 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