Skip to main content

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.43 - Sixth Release

  • Fixed the output of the palindrome_number_pattern function to ensure it prints a correct and visually balanced number pyramid.

  • 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.

Metadata

Release files for awaish-pkg 1.43

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

Source distribution (sdist)

Source distribution for awaish-pkg 1.43
File Size Uploaded
awaish_pkg-1.43.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awaish-pkg 1.43
File Interpreter ABI Platform
awaish_pkg-1.43-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / awaish_pkg-1.43.tar.gz

Download URL awaish_pkg-1.43.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2dd39c283ca8119933159b77dd534859a5c15dcfd950177b9fe92aef7db62323
BLAKE2b-256 checksum
How to use checksums
8074fd45358851fd6e271ba7dce71f6dc8fce9792bb4fc4a74299cf21e06b44d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / awaish_pkg-1.43-py3-none-any.whl

Download URL awaish_pkg-1.43-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cfa4a1310020bd943814889daf8594f0f36bb31cc66ea56f7580c6ca67c79cf2
BLAKE2b-256 checksum
How to use checksums
f7ac9d97c48634240823cba0d25cefb2cb082b37ce87ff33939c63e050725def
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release history Release notifications | RSS feed

This release

1.43 This release

2 release files

1.42

2 release files

1.41

2 release files

1.4

2 release files

1.2

2 release files

1.1

2 release files

1.0

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