Skip to main content

ravi-python-clients

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

Example

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"

create_database(DB_NAME)
delete_database(DB_NAME)
  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_database(DB_NAME)
create_table_with_schema(db=DB_NAME, table=TABLE_NAME,
     schema=[("food_type", "STRING"), ("name", "STRING"), ("price", "FLOAT")],
     partition_cols=["food_type"])

Logging

from utils.logger import logger

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

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

Metadata

Release files for python-prakashravip1 1.0.4

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

Source distribution (sdist)

Source distribution for python-prakashravip1 1.0.4
File Size Uploaded Provenance
python-prakashravip1-1.0.4.tar.gz 8.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for python-prakashravip1 1.0.4
File Interpreter ABI Platform
python_prakashravip1-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 18.1 kB

Release files / python-prakashravip1-1.0.4.tar.gz

Download URL python-prakashravip1-1.0.4.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a6853858a1540945fabc4f48767c21c3079b17152c5491813586efd1d964f67f
BLAKE2b-256 checksum
How to use checksums
ffcdc70cc17058825c98450dbd1148b8345c0985b088e3c45a4918e73b0451ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.7 Linux/5.13.0-44-generic

Release files / python_prakashravip1-1.0.4-py3-none-any.whl

Download URL python_prakashravip1-1.0.4-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4abdacc55618c1159fbae361778901db45ee106b659f1bffd53676ff14ff8c4
BLAKE2b-256 checksum
How to use checksums
ba044ab1b3e67e2697801a95c5c7b704451be41d7bd7b7b1e12165e90a04d01c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.7 Linux/5.13.0-44-generic

Security for python-prakashravip1 1.0.4

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.

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