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

Uploaded Python 3

File details

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

File metadata

  • Download URL: awaish_pkg-1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 c70605ad0378e67be5e0c58e3c3ae5376ca46b8e20b48b50dde57a964bd09d7d
MD5 d6da3ca056342ad26cc069eae4902c53
BLAKE2b-256 0027617af12f9821e3f044e3250e5d32d3bfd98c331c48e86f1e1d75f12d3a1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awaish_pkg-1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f2e7f1830a98023b21420e7e5f02a4a233de2d8f968d5edf3b89c60a640a45b8
MD5 c411f6ee5863466fa6e6b7ba82ae3c9c
BLAKE2b-256 627cb524abae18694120ed688604f4658a8831996d5eee463b6404048426cd16

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