Skip to main content

easy_taks

To not get annoyed by simple recurring tasks I created this small library.

Content

  • Installation

  • Usage

Installation

Usage

  • furthest_value_in_list

    Function returning the closest number of a list to a given value

  • closest_value_in_list

    Function returning the closest number of a list to a given value

  • furthest_value_in_dict

    Function returning the closest number of a dicts values to a given value

  • closest_value_in_dict

    Function returning the closest number of a dicts values to a given value

  • find_dublicates

    Function returning a list of Dubs objects which have the properties: value, number_of_dublicates and indices

  • remove_dublicates

    Function returning a copy of the given list in which only the first occurrence of every value remains

  • get_percentage_as_fitted_string

    Function returning the calculated percentage from the inout count and total fittet to the string lenght of 100.00 %

    args:

    • count: current counting value

    • total: total value

    • round_to: rounding digits, default: 2

    • with_percentage_symbol: boolean, adds ' %' if True

  • progress_printer

    Better use ProgressBar instead

    Call this funciton in a loop with index+1 as count to monitor your progress.

    Will automatically switch to a new line when 100 % is reached.

    Remember to call print once if you break since the cursor will not move to the next line till 100 % are reached.

  • main_and_sub_progress_printer

    Basically the progress_printer with one susbprocess.

  • upper_case_first_letter_of_word

    Function returning a string in which the word begins with an upper case letter.

  • upper_case_first_letter_of_words

    Function returning a string in which every word begins with an upper case letter.

  • unpack_list

    Dissolve inner lists and tuples of nested list and tuples.

  • ProgressBar

    Create progress bar with poossible subprogresses, exception handling, early termination handling, early completion handling and many options for customization.

    Simply use as with ProgressBar(total) as prg: and look at the class parameters and methods.

GitHub | PyPI

Metadata

Release files for easy-tasks 0.0.59

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easy-tasks 0.0.59
File Size Uploaded Provenance Actions
easy_tasks-0.0.59.tar.gz 27.6 kB Without provenance Details for easy_tasks-0.0.59.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for easy-tasks 0.0.59
File Interpreter ABI Platform Actions
easy_tasks-0.0.59-py3-none-any.whl Python 3 none any Details for easy_tasks-0.0.59-py3-none-any.whl

Total release size: 56.5 kB

Release files / easy_tasks-0.0.59.tar.gz

Download URL easy_tasks-0.0.59.tar.gz
Size 27.6 kB
Tags Source
SHA-256 checksum
How to use checksums
44bcee532b6cca75558aba39cabb53b8c73f79c8cf8d316450d767c305e1d136
BLAKE2b-256 checksum
How to use checksums
0761b4d33edbcb28826a433bc3cb50bb2e2f86abbd527ebda72994e0ef4ec628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Release files / easy_tasks-0.0.59-py3-none-any.whl

Download URL easy_tasks-0.0.59-py3-none-any.whl
Size 29.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45fcf244d9767572ef0de8187664b40beb6807990c7246f1e8e3a09ec87a0223
BLAKE2b-256 checksum
How to use checksums
ad0a01216a0f92226d6f11518e657cc800c9eb9fb1e6179a422f99e15ffd2fdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Security for easy-tasks 0.0.59

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.59 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page