Skip to main content

Common Python Utility and Client Tools

Project description


Assortment of python client for personal or business use

Current Facilities

  1. Logger with unique identifier per session

Windows Installation

py -m venv venv
source venv\Scripts\activate
py -m pip install python-prakashravip1

Linux/ Mac Installation

python -m venv venv
source venv/bin/activate
pip install python-prakashravip1


Delta Lake Write client

  1. Create/Delete Delta Lake Database
from src.delta_lake.delta_lake_spark import create_database, delete_database

DB_NAME = "food_db"

  1. Create Delta Lake Table
from src.delta_lake.delta_lake_spark import create_database, create_table_with_schema

DB_NAME = "food_db"
TABLE_NAME = "indian_food"

create_table_with_schema(db=DB_NAME, table=TABLE_NAME,
     schema=[("food_type", "STRING"), ("name", "STRING"), ("price", "FLOAT")],


from utils.logger import logger"test info log")
from utils.trace_logger import get_trace_logger

test_trace_id = "1234"
logger = get_trace_logger(test_trace_id)"test info log with trace_id. {test_trace_id}")        

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

python-prakashravip1-1.0.4.tar.gz (8.2 kB view hashes)

Uploaded source

Built Distribution

Supported by

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