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

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.43.tar.gz (5.5 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.43-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: awaish_pkg-1.43.tar.gz
  • Upload date:
  • Size: 5.5 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.43.tar.gz
Algorithm Hash digest
SHA256 2dd39c283ca8119933159b77dd534859a5c15dcfd950177b9fe92aef7db62323
MD5 0b39d71a2e9d221af30cdd89adec5ff3
BLAKE2b-256 8074fd45358851fd6e271ba7dce71f6dc8fce9792bb4fc4a74299cf21e06b44d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awaish_pkg-1.43-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.43-py3-none-any.whl
Algorithm Hash digest
SHA256 cfa4a1310020bd943814889daf8594f0f36bb31cc66ea56f7580c6ca67c79cf2
MD5 1b7812f6524cdcf3567661f17aabca38
BLAKE2b-256 f7ac9d97c48634240823cba0d25cefb2cb082b37ce87ff33939c63e050725def

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