Skip to main content

A python package to assist in data and database handling

Project description

Uaine.Pydat

A python package to assist in data and database handling.

License: GPL v3 PyPI Downloads Version 1.5.1

-Daniel Stamer-Squair

Purpose

This contains a few functions that make data handling a little simpler, including a dedicated psv function, hash functions, data table cleaning methods and snippet queries for duckdb.

STABILITY STATUS

Lint Check Packaging Test Import test

DEVELOPMENT:

Lint Check - dev Packaging Test - dev Import test - dev

Description

A Python package that streamlines data handling, processing, and database operations through a collection of utility functions and tools.

Uaine.Pydat provides a comprehensive toolkit for data scientists, analysts, and developers working with structured data. The package simplifies common data manipulation tasks while offering specialized functionality for file operations, data transformation, table cleaning, and database interactions.

Key Features include File I/O Operations for reading/writing various file formats, listing files by extension, and managing system paths; Data Transformation tools for reshaping, converting, and manipulating data structures with minimal code; Data Cleaning methods to sanitize, standardize, and prepare data tables for analysis; DuckDB Integration with helper functions and snippet queries; Cryptographic Hashing for data integrity and anonymization; System Information utilities to gather system metrics and resource usage; Data Generation for testing and development scenarios; and Configuration Handling for XML, INI, and other formats.

Core Modules include dataio.py for data input/output operations and format conversion; fileio.py for file system operations and path management; datatransform.py for data structure transformation and manipulation; dataclean.py for data cleaning and standardization; duckfunc.py for DuckDB database interactions; datahash.py for cryptographic hashing functions; systeminfo.py for system information gathering; datagen.py for random data generation; and bitgen.py for low-level bit generation utilities.

Common Use Cases for this package include simplifying ETL workflows, streamlining data preparation for analysis and machine learning, managing database operations with less boilerplate code, generating test data for development, monitoring system resources during data processing tasks, and securing sensitive data through hashing and anonymization.

This package aims to reduce the complexity of common data handling tasks by providing ready-made solutions that follow best practices while remaining flexible enough to adapt to various data processing requirements.

Getting Started

Follow the documentation here on github: https://uaineteine.github.io/uaine-pydat-docs/

Requirements

  1. Python
  2. requests: This library is used to send HTTP requests.
  3. pyreadstat: This library is used for most read and writing of dataframes.
  4. pandas: This library is used to store and manipulate memory held data.
  5. duckdb: This library is used to create duck db requests and queries from its metadata tables
  6. wheel: This is for making the package yourself
  7. twine: This is for making the package yourself
  8. psutil: This is for checking process availability of the machine
  9. lxml: This for parsing xml files and content
  10. polars: For lazy stream reading and writing of parquets
  11. azure-storage-blob: For listing and downloading from blob containers
  12. tqdm: For progress bars

Changelog

See the full version history in the changelog.

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

uainepydat-1.5.1.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uainepydat-1.5.1-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file uainepydat-1.5.1.tar.gz.

File metadata

  • Download URL: uainepydat-1.5.1.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.6

File hashes

Hashes for uainepydat-1.5.1.tar.gz
Algorithm Hash digest
SHA256 5463899f00f21251904ff5972e7348d72383b0dee44251d1c6cbb67b2773c038
MD5 eb48a5a7ad1cc05ff3d3e9ef4659e7e3
BLAKE2b-256 2d12b491abf771aec3902bc9e341c3dd5c3bad0c1a72ca9114d783d33a98f795

See more details on using hashes here.

File details

Details for the file uainepydat-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: uainepydat-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.6

File hashes

Hashes for uainepydat-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae630429926a7dd3da295bd607412e29e1af26671374281272ae837505b287dd
MD5 050f26c224634e6848aa1a6f1c91d785
BLAKE2b-256 b64266aecbef32bd8de05b91fde4b613167e16402be855178b7252da42d78b65

See more details on using hashes here.

Supported by

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