Skip to main content

Utlib - Utility Library

utlib is a lightweight and customizable utility library designed to simplify everyday Python programming.
Created by Myroslav Repin, the project is in active development and will continue to grow with new features and improvements.


✨ Current Features

  • digit_sum(n)

    • Returns the sum of all digits in an integer.
    • Example: digit_sum(1234) → 10
  • is_polindrome(text)

    • Checks if a given string is a palindrome (reads the same forwards and backwards).
    • Example: is_polindrome("level") → True
  • word_count(text)

    • Returns the number of words in a given text.
    • Example: word_count("Hello world!") → 2
  • average_value(values, decimal, nearest=False)

    • Returns the average of a list of numbers, rounded to the given decimal places.
    • If nearest=True, returns the value from the list closest to the average.
    • Example:
      average_value([1, 2, 3, 4, 5], 2)        # → 3.00
      average_value([1, 2, 3, 4, 5], 2, True)  # → 3
      

🚧 Planned Features

  • Advanced math helpers
  • Filtering tools
  • AI-based utilities
  • Custom data structures
  • Useful decorators and wrappers
  • Useful function

📦 Installation

To install the latest version from PyPI, use:

pip install utlib

📄 Documentation

Official documentation is coming soon. For now, explore the source code and docstrings to understand available functionality.

If you have any ideas or requests for the documentation, feel free to share!


💌 Feedback & Contact

If you find a bug or want to request a feature:

📧 Email: myroslavrepin@gmail.com 📁 GitHub: github.com/MyroslavRepin/utlib


📌 License

This project is licensed under the MIT License.

Metadata

Release files for utlib 0.1.3

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

Source distribution (sdist)

Source distribution for utlib 0.1.3
File Size Uploaded Provenance Actions
utlib-0.1.3.tar.gz 3.3 kB Without provenance Details for utlib-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for utlib 0.1.3
File Interpreter ABI Platform Actions
utlib-0.1.3-py3-none-any.whl Python 3 none any Details for utlib-0.1.3-py3-none-any.whl

Total release size: 6.8 kB

Release files / utlib-0.1.3.tar.gz

Download URL utlib-0.1.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0a1444e9cb53187118739840959579e6f681631fade0a73983df9c8c0204246b
BLAKE2b-256 checksum
How to use checksums
47e5fe53db04f4dc9554e0008aeaddda52ba3d39089da67fb6cf537bbf913ee9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / utlib-0.1.3-py3-none-any.whl

Download URL utlib-0.1.3-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e30ab37960484dcf982ef6763f86322de0a05d3f968a7466f868a85f008161bf
BLAKE2b-256 checksum
How to use checksums
a588371cd10b2ec0aa344fa94c0d45a5989491bf15d65f3b39168aafb2d3f337
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for utlib 0.1.3

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.

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