Skip to main content

No project description provided

Project description

Fun-Things

A Python utility package containing a collection of helpful functions and tools for everyday development tasks.

Installation

# Using pip
pip install fun-things

Features

Fun-Things provides a variety of utility modules:

  • Asynchronous Tools: Convert between sync/async functions and generators
  • Retry Mechanisms: Simple retry patterns for functions and API calls
  • Middleware: A middleware implementation for Python applications
  • Lazy Loading: Utilities for lazy evaluation of objects
  • Network Tools: Functions for network operations like ping
  • Type Utilities: Helper functions for working with Python types
  • Categorizer: Tools for categorizing data
  • CLI Tools: Command-line utilities for package management
  • AdBlocker Filter Parser: Parse and work with ad blocker filter rules
  • Singleton Factory: Implementation of the singleton pattern
  • URL Utilities: Tools for working with URLs
  • Environment Tools: Environment variable handling
  • And more!

Usage

Import specific utilities

from fun_things import lazy, undefined, merge_dict
from fun_things.retry import Retry, AsyncRetry
from fun_things.asynchronous import as_async, as_sync

Use the CLI

# After installation, the 'fun' command is available
$ fun freeze  # Freezes your dependencies
$ fun install  # Installation helper

Requirements

  • Python 3.8 or higher

Documentation

For more detailed usage information, see the docstrings in each module.

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

fun_things-0.48.9.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

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

fun_things-0.48.9-py3-none-any.whl (42.2 kB view details)

Uploaded Python 3

File details

Details for the file fun_things-0.48.9.tar.gz.

File metadata

  • Download URL: fun_things-0.48.9.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.8.10 Linux/5.15.0-134-generic

File hashes

Hashes for fun_things-0.48.9.tar.gz
Algorithm Hash digest
SHA256 2e96fc926909ac03acca745078b278c769c4dd08c49c12571b9dd6a0b29ee4e3
MD5 d06f7e346619dae71b0a032c40a616aa
BLAKE2b-256 e18d834e5bd4e7f516d13bd8b3f35dff5b37a3c9fb9f184a30456460ec7f3b2e

See more details on using hashes here.

File details

Details for the file fun_things-0.48.9-py3-none-any.whl.

File metadata

  • Download URL: fun_things-0.48.9-py3-none-any.whl
  • Upload date:
  • Size: 42.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.8.10 Linux/5.15.0-134-generic

File hashes

Hashes for fun_things-0.48.9-py3-none-any.whl
Algorithm Hash digest
SHA256 54f128469bfb465dcbcced33e943da49f11777171de4b387052ed46882f4d70e
MD5 65ded29a9be0aa05b46d8253b7c9788e
BLAKE2b-256 b8e40fae8bc4d6ad48eb188dff7764b39e6d21037a85716f733b4badac67f2e0

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