Metadata-Version: 2.4
Name: lb-lazy-num
Version: 0.0.1
Summary: Simple convert library for lazy developers
Home-page: https://github.com/logic-break/logic-break/tree/main/libraries/lb_lazy_num
Author: logic-break
Author-email: abibasqabiba@gmail.com
License: Non-Commercial
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary


# lb_lazy_input
© Copyright logic-break 2026

https://github.com/logic-break/logic-break/tree/main/libraries/lb_lazy_input

> lib made for lazy, by lazy  

installation:

    pip install lb-lazy-num

**NOTE: in code, you must import lb_lazy_num**


# Usage

 - .format_num(value, precision=2) : converts from 1000000 to 1M, supports up to Qi, if more than Qi, returns unchanged value
 - .convert_size(value_str, target_unit) : returns converted size, for example .convert_size("1024MB", "GB") wil return 1GB, this supports up to PB, if more idk :)
 
 # Example:

    import lb_lazy_input
     
    z = input("Enter value:\n")
    x = input("Convert this value from: (B, KB, MB, GB, TB, PB)\n")
    c = input("Convert this value to: \n")
    
    v = z + x
    result = lb_lazy_input.convert_size(v, c)
    print(result)
