Skip to main content

A utils Python package for data scientists.

Project description

AI/ML Utils | @GitHub | @PyPI

This is a Python pacakage that contains misc utils for AI/ML.

  1. Misc enhancement of Python's built-in functionalities.
    • string
    • collections
    • pandas DataFrame
    • datetime
  2. Misc other tools
    • aiutil.filesystem: misc tools for querying and manipulating filesystems; convenient tools for manipulating text files.
    • aiutil.url: URL formatting for HTML, Excel, etc.
    • aiutil.sql: SQL formatting
    • aiutil.cv: some more tools (in addition to OpenCV) for image processing
    • aiutil.shell: parse command-line output to a pandas DataFrame
    • aiutil.shebang: auto correct SheBang of scripts
    • aiutil.pydev: tools for making it even easier to manage Python project
    • aiutil.pdf: easy and flexible extracting of PDF pages
    • aiutil.memory: query and consume memory to a specified range
    • aiutil.notebook: Jupyter/Lab notebook related tools
    • aiutil.dockerhub: managing Docker images on DockerHub in batch mode using Python
    • aiutil.hadoop:
      • A Spark application log analyzing tool for identify root causes of failed Spark applications.
      • Pythonic wrappers to the hdfs command.
      • A auto authentication tool for Kerberos.
      • An improved version of spark_submit.
      • Other misc PySpark functions.

Installation

pip3 install --user -U aiutil

Use the following commands if you want to install all components of aiutil. Available additional components are cv, docker, pdf, jupyter, admin and all.

pip3 install --user -U aiutil[all]

Executable Scripts

  • snb: Search for content in Jupyter notebooks.
  • logf: A Spark application log analyzing tool for identify root causes of failed Spark applications.
  • pyspark_submit: Makes it easy to run Scala/Python Spark job.
  • pykinit: Make it easier to authenticate users' personal accounts on Hadoop.
  • match_memory: Query and consume memory.

You can run those executable scripts using uv (so that you don't have to manually install this Python package) . For example,

uvx --from aiutil snb -h

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

aiutil-0.95.0.tar.gz (178.4 kB view details)

Uploaded Source

Built Distribution

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

aiutil-0.95.0-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

Details for the file aiutil-0.95.0.tar.gz.

File metadata

  • Download URL: aiutil-0.95.0.tar.gz
  • Upload date:
  • Size: 178.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aiutil-0.95.0.tar.gz
Algorithm Hash digest
SHA256 ac824a416487a06e41d39710bcc7956e62d15e53e43047bc67ed4fbfe8ac9088
MD5 d2a8da029617f26c5ca52bcde9f5034f
BLAKE2b-256 6dc34a6a41d0d1d6fb6dde01ab43a6a2db85a70242963953f97cd74eb92e45f6

See more details on using hashes here.

File details

Details for the file aiutil-0.95.0-py3-none-any.whl.

File metadata

  • Download URL: aiutil-0.95.0-py3-none-any.whl
  • Upload date:
  • Size: 54.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aiutil-0.95.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4646104369d8a77d09f10135895c34adb1cebd2b5d2e3bcd4fe866ddc2875a6
MD5 470a13457534fa76445de40d7c0475f5
BLAKE2b-256 7e23e065e3d3e8559974cd37a984be5c2aac8d688d5ffe4f280b2adf49a9f970

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