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.1.0.tar.gz (478.4 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.1.0-py3-none-any.whl (571.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mayutils-3.1.0.tar.gz
  • Upload date:
  • Size: 478.4 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.1.0.tar.gz
Algorithm Hash digest
SHA256 27b0ec1d2fd81cf05be791a41463c4edc436453eade399fac149c2f5eaf0fe87
MD5 c626bfdae8054f4583451bb20eac9756
BLAKE2b-256 7ab42be78044be8ecb62fcccd95a8a3877b9d1c44ff6691763f19964db920682

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mayutils-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 571.5 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6dc8b07bdaa9ca0e16d44f0ceb688cabbdf15f02fd9be6ab4900f49e7286e3f
MD5 d4b83010d99ad64be2ee1afc8d360e8b
BLAKE2b-256 9beb85087ba7f5e589b56fab0c2918bfb1a3ebb71efda72c78231cb1daf7c477

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