Skip to main content

A pypi package for personal use. Containing common functions I use.

Project description

Razator Utils

https://img.shields.io/pypi/v/razator_utils.svg https://img.shields.io/travis/razator73/razator_utils.svg Documentation Status

A pypi package for personal use. Containing common functions I use.

Features

  • Easy logging functions

  • batchify - function to easily group iterables

  • camel_to_snake - function to convert camelCase to snake_case

  • flatten_dict - take a nested dictionary and make it a single level dictionary

  • get_chrome_major_version - get the major version of the installed chrome browser

  • discord_message - send a message to a discord webhook

  • send_email - send an email using SMTP

Credits

This package was created with Cookiecutter and my own razator73/cookiecutter-pypackage a fork of audreyr/cookiecutter-pypackage project template.

History

0.7.0 (2026-03-04)

  • Added send_email function.

0.6.0 (2026-02-13)

  • Added redirect_stdout_to_logger context manager.

0.5.0 (2026-02-12)

  • Added cli_or_file_logger function.

0.4.0 (2026-02-11)

  • Added discord_message function.

0.3.1 (2026-02-11)

  • Export get_chrome_major_version in __init__.py.

0.3.0 (2026-02-11)

  • Dropped support for Python 3.6 and 3.7.

  • Added support for Python 3.11, 3.12, 3.13, and 3.14.

  • Added get_chrome_major_version function.

  • Updated development dependencies and tox configuration.

  • Fixed build issues by removing dependency on internal pip APIs.

0.2.0 (2022-10-11)

  • Added flatten_dict function.

0.1.0 (2022-08-10)

  • First release on PyPI.

  • Has easy log functions

  • batchify function

  • camel_to_snake function

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

razator_utils-0.7.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

razator_utils-0.7.0-py2.py3-none-any.whl (7.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file razator_utils-0.7.0.tar.gz.

File metadata

  • Download URL: razator_utils-0.7.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for razator_utils-0.7.0.tar.gz
Algorithm Hash digest
SHA256 5469af89637c57e6d0f509e0c4f06ab8257e48686e08ba174a375009e551a234
MD5 044aa95fdd1f450f98a41714c83394fd
BLAKE2b-256 8f9bad4c3093ba535fa63b869c70293cbb5d4d05d176a152ab828fd1b91c9458

See more details on using hashes here.

File details

Details for the file razator_utils-0.7.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for razator_utils-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5cbee30a4dbd7cb56ca2c9ba93cbc15dfb346de34c7de794c6ec00e103f67dd0
MD5 e03745942b484e8a0a0ac781fa5e0d85
BLAKE2b-256 a2610b472deb2a6d1b1e44d3a68409794498830e75af59648f3353ff04965417

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