Skip to main content

Yeah! This is a Funn Libs

Project description

PyFunLibs Ultimate Complete Overview SuperLib Ultimate Complete is a self-contained Python library that provides a wide range of functionalities without relying on external packages (except for a few built-in modules). It is designed for educational and demonstration purposes, offering various algorithms, system utilities, and an interactive command-line interface.

Features Random Number Generation: Uses a Linear Congruential Generator (LCG) to produce pseudo-random numbers. Supports generating both floating-point numbers (between 0 and 1) and random integers within a specified range.

Length Check: Provides a simple function to determine the length of strings, lists, and any object that supports Python’s built-in len function.

Mathematical Operations: Implements basic arithmetic operations (addition, subtraction, multiplication, division) as well as advanced operations such as exponentiation, square roots, factorials, and trigonometric functions (sine and cosine via Taylor series).

String Similarity Comparison: Includes an implementation of the Levenshtein distance algorithm to compare two strings and calculates a similarity ratio based on the edit distance.

Sorting Algorithms: Offers a variety of sorting methods, including:

Bubble Sort, Quick Sort, Insertion Sort, Selection Sort, Merge Sort, Heap Sort, Shell Sort, Counting Sort, Radix Sort, Gnome Sort, and Comb Sort. Swap/Reverse Algorithm: Reverses the order of elements in a list (e.g., transforms [1,2,3,4,5,6,7] into [7,6,5,4,3,2,1]). Colorful Output: Uses ANSI escape codes to print colored text in the terminal.

System Information Retrieval:

Generates a simple hardware identifier (HWID) based on the current working directory, system platform, and Python version. Simulates cookie retrieval by returning a fixed string. Delay Function: Provides a busy-waiting delay function for simple timing purposes (note that its precision is limited).

Command-Line Interface (CMD): An interactive menu that allows users to test and demonstrate all of the library’s functionalities.

Extended Features & Macro Support:

Supports special markers in strings for dynamic content replacement: \nt converts to a newline followed by a space. %winver displays the Windows version. %verx shows the Windows architecture (32-bit or 64-bit). %getc: (e.g., %getc:C:) returns the free disk space (in gigabytes) for the specified drive. %getfps: displays a placeholder FPS value. An enhanced printf() function processes these markers before printing. Allows defining custom macros using the $ prefix (e.g., $name), which can be updated with the define_macro() function. Installation To install the library, first package it and upload it to PyPI. Once published, you can install it using pip:

pip install SuperLibUltimateComplete

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

pyfunlibs-1.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyFunLibs-1.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file pyfunlibs-1.0.1.tar.gz.

File metadata

  • Download URL: pyfunlibs-1.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyfunlibs-1.0.1.tar.gz
Algorithm Hash digest
SHA256 337cd737007ffc7a917ea4e5db7636a4b620c138d9341bf978cd1bd04e7fb4fb
MD5 409e5e5d09eb171082f75ef759daf662
BLAKE2b-256 409a14babbe0373296bbce6b4127ac256ae635615112bb5612018eba54fc66cc

See more details on using hashes here.

File details

Details for the file PyFunLibs-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: PyFunLibs-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for PyFunLibs-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa94d112fd74de56a139d93ee8aa101e1defc478c99cadefa086fb566ac306bf
MD5 8738765d8fde76902e6bf8f06a667970
BLAKE2b-256 a3da8bc6f54cde8370e598cf7062aec723653e6ebed1cd046858fad84771a5e3

See more details on using hashes here.

Supported by

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