Skip to main content

Utilities for Python from Mayuran Visakan

Project description

mayutils

CI Documentation License: MIT

Utilities for Python — plotting helpers, dataframe adapters, Snowflake/SQL glue, PowerPoint/PDF export, notebook display tweaks, OAuth helpers, and a fistful of miscellaneous object helpers. Heavy dependencies are grouped behind extras so the core install stays small.

Quick Start

uv add mayutils                   # core only
uv add "mayutils[plotting]"       # + plotly/kaleido/matplotlib/scipy
uv add "mayutils[recommended]"    # curated data-analysis set (console+pandas+datetime+notebook+plotting+secrets)
uv add "mayutils[all]"            # everything
import mayutils
from mayutils.objects.numbers import prettify

mayutils.setup()
print(prettify(num=1_234_567))  # "1.23M"

Dependency Groups

Group Use it for
plotting plotly, kaleido, matplotlib, scipy, great-tables
notebook jupyter, ipykernel, nbconvert, itables, jupysql, quarto-cli
pandas pandas, pyarrow
dataframes polars, modin, dask (+ pandas)
mathematics sympy, numba
statistics scikit-learn, scipy, statsmodels
financials numpy-financial
google Google Drive / Sheets / Cloud Storage + auth
microsoft python-pptx, openpyxl
sql sqlalchemy
snowflake snowflake-connector-python, snowflake-sqlalchemy (+ sql)
streamlit streamlit
web selenium, playwright, chromedriver-autoinstaller
pdf pymupdf, pillow
datetime pendulum
cli typer, cookiecutter
filesystem gitpython, watchdog
secrets python-dotenv, keyring
recommended meta: console + pandas + datetime + notebook + plotting + secrets
all Every runtime extra

Full details: docs/guides/dependency-groups.md.

Documentation

Contributing

See the contributing guide for setup, commit conventions (Conventional Commits), and release flow.

License

MIT — see LICENSE.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mayutils-2.0.0.tar.gz (459.2 kB view details)

Uploaded Source

Built Distribution

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

mayutils-2.0.0-py3-none-any.whl (548.1 kB view details)

Uploaded Python 3

File details

Details for the file mayutils-2.0.0.tar.gz.

File metadata

  • Download URL: mayutils-2.0.0.tar.gz
  • Upload date:
  • Size: 459.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","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 mayutils-2.0.0.tar.gz
Algorithm Hash digest
SHA256 3ba739d8af8d5cf6b5df9cfc2144cc420b874fc9ecc27c7fe85eb9b3d01eaca0
MD5 41b59259e6a02803c72891626be590e3
BLAKE2b-256 46ecae58d09c739fa9ce5a28fc107e0acfe9af9eca7fc8d1535ec86af3790fbd

See more details on using hashes here.

File details

Details for the file mayutils-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: mayutils-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 548.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","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 mayutils-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de073c15a22abdcc296cc3732f96ba7b0171737d044af540d67019738b46b220
MD5 05f5e2ba0a3e7aa87a4ac868babda00f
BLAKE2b-256 9f1071ce0efb0978853b81b5ac4ecaa6e9e8455e583a62bbf7d88f26ee7558cb

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