Skip to main content

Multi-purpose utility package

Project description

ezstools

Ezstools is a Python library that provides a variety of tools and modules to help developers deal with common issues. Whether you need to manipulate JSON files, generate random data, or interact with the console, ezstools has you covered.

Disclaimer: This library is still in development and is not yet ready for production use.

Installation

pip install ezstools

Usage

Here's an example of how to use the convert_num function from the funcs module:

from ezstools.funcs import convert_num

print(convert_num(123456)) # 123K

Here's another example, this time using the string_tools module:

from ezstools.string_tools import most_similar_string, random_string

print(most_similar_string(
    target="Hello Ezstools",
    options=[
        "Hello Ezstools",
        "Hello world",
        "ezstools",
        "hello",
        random_string(length=10)
    ]
)) 

Modules:

itertor

Provides a Iterator clas which servers as a wrapper for iterables, used for better syntax and more powerful operations.

traits

Provides a collection of typing hints, decorators and classes to mimic Rust's traits.

console_utils

contains methods to interact with the console, including methods to display links and pick menus.

funcs

provides a collection of general-purpose functions, such as timeit for timing code snippets and convert_num for converting a string to a number.

json_tools

provides tools to manipulate JSON files, including methods to load and dump JSON data.

random_generator

provides tools to generate random data, such as random names or email addresses.

html_slice

The html_slice module provides a command-line interface (CLI) tool to slice HTML files, allowing you to extract or modify specific parts of the file.

string_tools

provides tools for string manipulation, including find and replace operations, normalization, and more.

custom_iterables

provides a set of methods to make built-in iterables more powerful, such as map, filter, and reduce.

simple_kv

The simple_kv module provides tools to interact and manipulate simple key-value files (.skv), a custom file format.

module_tools

provides tools to create and interact with Python modules, such as methods to import and reload modules.

LICENSE

ezstools is licensed under the MIT License. Please see the LICENSE file for more information.

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

ezstools-3.6.4.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

ezstools-3.6.4-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file ezstools-3.6.4.tar.gz.

File metadata

  • Download URL: ezstools-3.6.4.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for ezstools-3.6.4.tar.gz
Algorithm Hash digest
SHA256 c9653d332a089c542fa3cef046ae7aae57f89998224cff712041760d696f0c44
MD5 5cb12bdaec4da576312454367182efa3
BLAKE2b-256 200ffa30a4ba5066f48f14dacad81b344dfb3988e9b52418319a7bb5410fee96

See more details on using hashes here.

File details

Details for the file ezstools-3.6.4-py3-none-any.whl.

File metadata

  • Download URL: ezstools-3.6.4-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for ezstools-3.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6144935218ffc5fed16fa37f58e6188b14f4a09940cdbdd59fde252f122ecd5a
MD5 cf8cb33bb31afc2445ce04232ab549ce
BLAKE2b-256 8c12522d072b61da8190af10db2fc54b32191964c27f2db1232e60599684415e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page