Skip to main content

A Python datalake client.

Project description

Ness

A Python datalake client.

Test Coverage Package version

Requirements

Installation

pip install pyarrow ness

Quickstart

import ness

dl = ness.dl(bucket="mybucket", key="mydatalake")
df = dl.read("mytable")

Sync

# Sync all tables
df = dl.sync()

# Sync a single table
df = dl.sync("mytable")

# Sync and read a single table
df = dl.read("mytable", sync=True)

Format

Specify the input data source format, the default format is parquet:

import ness

dl = ness.dl(bucket="mybucket", key="mydatalake", format="csv")

AWS Profile

Files are synced using default AWS profile, you can configure another one:

import ness

dl = ness.dl(bucket="mybucket", key="mydatalake", profile="myprofile")

Command Line

Usage: ness sync [OPTIONS] S3_URI

Options:
  --format TEXT   Data lake source format.
  --profile TEXT  AWS profile.
  --table TEXT    Table name to sync.
  --help          Show this message and exit.
ness sync bucket/key --table mytable

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ness-0.1.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

ness-0.1.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file ness-0.1.3.tar.gz.

File metadata

  • Download URL: ness-0.1.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.10.0 Linux/5.11.0-1020-azure

File hashes

Hashes for ness-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4a41593f583d1f1370a9697fb8beb24cf059a31474694e719ca8c48dc01d6417
MD5 9e9962c9f074e32c507e111fcc038299
BLAKE2b-256 9a75b4bb94b51e817698bcbfb98aa127f75124e9226bc9f887334a8b3005c363

See more details on using hashes here.

File details

Details for the file ness-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ness-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.10.0 Linux/5.11.0-1020-azure

File hashes

Hashes for ness-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e49639d52aa55274328c8c8a17f292e026a1c98e6b90c61c48f7ff8f8e9f48d6
MD5 bfb04045a745cb48457fcca82ed7abd6
BLAKE2b-256 e5e445f7bcaecf35a01983d247fb7af52e9e372f93df7455a87d930160f79087

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page