Skip to main content

ngdataenginterface

Installation

To install the ngdataenginterface package from PyPI, you can use pip:

pip install ngdataenginterface

installing a Specific Version

If you need to install a specific version of the package, you can specify it using the == operator:

pip install ngdataenginterface==1.0.0

Replace 1.0.0 with the desired version number.

Development Guide for ngdataenginterface

This guide provides step-by-step instructions for setting up a development environment using Docker for the ngdataenginterface project on macOS, Linux, and Windows machines.

Prerequisites

Development Setup

  1. Clone the ngdataenginterface repository with ssh:
git clone git@gitlab.com:ng-cash/data/ngdataenginterface.git
  1. Change into the project directory:
cd ngdataenginterface
  1. Build the docker image
docker build -t my-pyspark-app .

Running the Development Environment

macOS / Linux

  1. Start a Docker container and mount the project directory for iterative development:
    docker run -it --rm -v "$(pwd)":/app my-pyspark-app
    

This command starts the Docker container interactively (-it flag), removes it after it exits (--rm flag), and mounts the current directory ($(pwd)) to the /app directory inside the container. You will have an interactive bash shell within the container.

  1. Inside the container, you can run tests, execute scripts, and make changes to the code using your preferred editor or IDE on your host machine. The changes will be immediately available inside the container.

Windows

  1. Start a Docker container and mount the project directory for iterative development:
    docker run -it --rm -v "%cd%:/app" my-pyspark-app bash
    

This command starts the Docker container interactively z(-it flag), removes it after it exits (--rm flag), and mounts the current directory (%cd%) to the /app directory inside the container. You will have an interactive bash shell within the container. Run python command to access python shell.

  1. Inside the container, you can run tests, execute scripts, and make changes to the code using your preferred editor or IDE on your host machine. The changes will be immediately available inside the container.

Run the tests to verify if the configurations are correct:

ENV=dev AWS_ACCESS_KEY_ID=<aws-access-key-id> AWS_SECRET_ACCESS_KEY=<aws-secret-access-key> pytest -vv

Don't forget to change aws-access-key-id and aws-secret-access-key.

After that, run python command to access python shell, and tou are ready to go!

Metadata

Release files for ngdataenginterface 0.1.8

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

Source distribution (sdist)

Source distribution for ngdataenginterface 0.1.8
File Size Uploaded
ngdataenginterface-0.1.8.tar.gz 12.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ngdataenginterface 0.1.8
File Interpreter ABI Platform
ngdataenginterface-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 27.9 kB

Release files / ngdataenginterface-0.1.8.tar.gz

Download URL ngdataenginterface-0.1.8.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
951e13b1f6f3aff9bb06dcc7626b102b26b1718513b11266e186cc9547ce04e4
BLAKE2b-256 checksum
How to use checksums
b439f1d5f94f1c18e0210c1cce75e05277e3bfeeaa0896fc39ec24e51799e732
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.9.18 Linux/5.4.109+

Release files / ngdataenginterface-0.1.8-py3-none-any.whl

Download URL ngdataenginterface-0.1.8-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
906f5b86235db7c1b819cc772cfcab4bab4ea5ba8e95aa39df4f677012bd3cb6
BLAKE2b-256 checksum
How to use checksums
9201961932342b312ab70992eb60ccb84ae0ec8554ff1e212e8e3236ef6b1d9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.9.18 Linux/5.4.109+

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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