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.41 - 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.41.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.41-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: awaish_pkg-1.41.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.41.tar.gz
Algorithm Hash digest
SHA256 9c6962c2e28ca5d5333617e15ce0b6a66e7eecd939ebb9b37eb5e56fe23e8962
MD5 7dddc6f3a2a04d38ae5e741ed14d9a25
BLAKE2b-256 944debbbdbdf35b19ef6c7fc45b0ec8a7a956b5b6ad827430d652e1e907247cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awaish_pkg-1.41-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.41-py3-none-any.whl
Algorithm Hash digest
SHA256 7556af2c4e4b28c35fd7f42b5a4a267510c370defd10752a66b520d362df4271
MD5 0a471895a6531032dfe4b1d15a389c05
BLAKE2b-256 f4744491f91236d57fe30ac35553d27f40eb2ecabb3921f3d59f9e133eb6b044

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