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

Release files for easy-tasks 0.0.57

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.57
File Size Uploaded
easy_tasks-0.0.57.tar.gz 27.0 kB Details

Built distribution (wheel)

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

Total release size: 55.3 kB

Release files / easy_tasks-0.0.57.tar.gz

Download URL easy_tasks-0.0.57.tar.gz
Size 27.0 kB
Tags Source
SHA-256 checksum
How to use checksums
edd7fe17ec0323a03cb01915483b10a1a5abde7ce77f190e26d767aad8423e07
BLAKE2b-256 checksum
How to use checksums
97bc900ed07993731fbed8ece5ad3f7bb67d0e5103bfaebc088420070846252b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

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

Download URL easy_tasks-0.0.57-py3-none-any.whl
Size 28.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8114bd47844896119092b17ff0fd6c9f7727f1969dcbf5452dd670a1450244e5
BLAKE2b-256 checksum
How to use checksums
bc54e2d8c39acd84a1f843feb848cf4ff64dbbc63ee333902dad75a9626d414d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.0.57 This release

2 release files

0.0.55

2 release files

0.0.54

2 release files

0.0.47

2 release files

0.0.45

2 release files

0.0.40

2 release files

0.0.39

2 release files

0.0.37

2 release files

0.0.36

2 release files

0.0.35

2 release files

0.0.34

2 release files

0.0.33

2 release files

0.0.28

2 release files

0.0.27

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

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