Skip to main content

Utilities for Python from Mayuran Visakan

Project description

mayutils

CI PyPI Python License Docs

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-3.2.0.tar.gz (480.7 kB view details)

Uploaded Source

Built Distribution

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

mayutils-3.2.0-py3-none-any.whl (575.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mayutils-3.2.0.tar.gz
  • Upload date:
  • Size: 480.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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-3.2.0.tar.gz
Algorithm Hash digest
SHA256 23a968636122907f1e841aedd39b99c1261000de2f2a74f2a7d1b086248d648b
MD5 9baf64598a88b1152e38ef5ea0ed3dbf
BLAKE2b-256 016a7c2cbc67a4836d1f9ff79a35533a273df0468958674a935b7545f51a9546

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mayutils-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 575.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc5a99a2ed2266c8de169573311fe3abd377f4473a6d2bd58b385895e2fe09f9
MD5 c504445bb5e743ad78ef7a6fc424b4ed
BLAKE2b-256 00c9ce7efee1a0e73c84ab8a60ced160770bf874faef7fe1eb61a31b0ae72c55

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