Skip to main content

A simple package offering a collection of useful functions for enhanced productivity.

Project description

Project title

awaish_pkg is a Python package that contains a collection of utility functions and a stack data structure. It is designed to assist with various operations, including mathematical calculations, sorting algorithms, and text processing.

Features

  1. Utility Functions:

    • List manipulation (sum of digits, separating positive and negative numbers, etc.)

    • Fibonacci series generator

    • Prime number checker

    • Number patterns (palindrome pyramid)

    • Sorting algorithms

  2. Stack Data Structure:

    • Implement stack operations: push, pop, peek, check if empty/full, and display.

Installation

To install the package, simply run:

pip install awaish_pkg

Documentation

For detailed documentation, see: GitHub

Author

Created by: abuawaish7

Badges

https://badge.fury.io/py/awaish_pkg.svg https://img.shields.io/badge/License-MIT-yellow.svg

Usage

To use the package in your Python script:

from awaish_pkg import Stack, UtilityFunctions

# Example usage of stack
stack = Stack()
stack.run_stack()

# Example usage of utility functions
UtilityFunctions.add_list_index_element()

CHANGELOG for awaish_pkg

Version 1.42 - Fourth Release

  • Created the Stack class with methods for basic stack operations (push, pop, peek, etc.).

  • Added utility functions in UtilityFunctions class including:

    • add_list_index_element: Sums the digits of each integer in a list.

    • find_positive_and_negative: Separates positive and negative numbers in a list.

    • factor_finder: Finds factors of a given number and calculates their sum.

    • count_vowel_and_spaces: Counts vowels and spaces in a text input.

    • prime_finder: Determines if a given number is prime.

    • even_and_odd: Separates even and odd numbers from a list.

    • fibonacci_series: Generates a Fibonacci series.

    • selection_sort: Sorts a list using the selection sort algorithm.

    • palindrome_number_pattern: Prints a palindrome-style number pyramid.

  • Developed a user-friendly interactive system for stack operations.

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

awaish_pkg-1.42.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

awaish_pkg-1.42-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file awaish_pkg-1.42.tar.gz.

File metadata

  • Download URL: awaish_pkg-1.42.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for awaish_pkg-1.42.tar.gz
Algorithm Hash digest
SHA256 cab3ef1572c8028c30272b2333a83c326e9238d8183e5ff3bb92ea0316ada667
MD5 aeaccfc85e700d48c42d073ef6e107da
BLAKE2b-256 4d4b8e869616456bc47e0c1a84f7d8594c8a714426452b932c2aa8bef51f5877

See more details on using hashes here.

File details

Details for the file awaish_pkg-1.42-py3-none-any.whl.

File metadata

  • Download URL: awaish_pkg-1.42-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for awaish_pkg-1.42-py3-none-any.whl
Algorithm Hash digest
SHA256 ee06e59d223b762aa7f2999dbb57bb4742c46a788d7aae88784a7e71b454d56b
MD5 1ce6f8ec93dd739fa9f453c474778ff3
BLAKE2b-256 4942ea34d4c9446d403dd79f01c59b98a1c279db5f0b504f8ae3634c5efa6ef4

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