awaish-pkg


Nameawaish-pkg JSON
Version 1.2 PyPI version JSON
download
home_pagehttps://github.com/abuawaish/awaish_pkg
SummaryA simple package offering a collection of useful functions for enhanced productivity.
upload_time2024-09-24 11:18:59
maintainerNone
docs_urlNone
authorabuawaish
requires_pythonNone
licenseMIT
keywords funny
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Project Title
=============

This package comes with some useful functions that make your work easier. Here are the function names with their functionalities:

1. ``add_list_index_element()``
   - Takes a list of integers as input, computes the sum of the digits of each integer, and creates a new list containing these sums.

2. ``stack()``
   - Implements a simple stack data structure with a fixed size limit. Provides interactive operations for pushing and popping elements, allowing users to choose between pushing an element onto the stack, popping an element from the stack, or exiting the program.

3. ``find_positive_and_negative()``
   - Reads a list of integers from the user.
   - Separates the positive and negative numbers into two different lists.
   - Calculates the sum of the positive numbers and the sum of the negative numbers.
   - Displays the original list, the lists of positive and negative numbers, and their respective sums.

4. ``factor_finder()``
   - Finds all the factors of a given integer.
   - Prints each factor.
   - Calculates and prints the sum of all these factors.

5. ``count_vowel_and_spaces()``
   - Counts the number of vowels and spaces in a given input text.
   - Identifies and lists all the vowels present in the text.
   - Displays the original text, the count and list of vowels, and the count of spaces.

6. ``prime_finder()``
   - Determines whether a given number is prime.
   - Informs the user whether the number is prime or not through printed messages.

7. ``even_and_odd()``
   - Reads a list of integers from the user.
   - Separates the integers into two lists: one for even numbers and one for odd numbers.
   - Displays the lists of even and odd numbers, or informs the user if no even or odd numbers were provided.

8. ``fibonacci_series()``
   - Generates and prints the first n terms of the Fibonacci series, where n is provided by the user.

9. ``selection_sort()``
   - This function sorts a list of integers in ascending order using the selection sort algorithm.
   - This algorithm works by iteratively selecting the smallest element from the unsorted portion of the list and swapping it with the first element of the unsorted portion.
   - After each iteration, the boundary between the sorted and unsorted portions of the list shifts, expanding the sorted section by one element.

10. ``palindrome_number_pattern()``
    - This function generates a number pyramid pattern resembling a palindrome structure.
    - It prints a symmetrical pattern of numbers where each row contains numbers that first descend from a given number and then ascend back to the same value, creating a mirrored effect.
    - The function also adds leading spaces to center the numbers, producing a pyramid-like shape.

Documentation
-------------

For detailed documentation, see:
`GitHub <https://github.com/abuawaish/awaish_pkg>`__

Author
------

Created by:
`abuawaish7 <https://www.github.com/abuawaish>`__

Badges
------

.. image:: https://badge.fury.io/py/awaish_pkg.svg
   :target: https://pypi.org/project/awaish_pkg/

.. image:: https://img.shields.io/badge/License-MIT-yellow.svg
   :target: https://opensource.org/licenses/MIT

Installation and Use
--------------------

To install the package, use pip:

.. code-block:: sh

   pip install awaish_pkg

To use the package in your Python script:

.. code-block:: python

   import awaish_pkg
   help(awaish_pkg)


Change Log
==========

1.2(24/09/2024)
--------------------
- Second Release
- Added Docstring for every function

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/abuawaish/awaish_pkg",
    "name": "awaish-pkg",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "funny",
    "author": "abuawaish",
    "author_email": "abuawaish7@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/51/5a/b35b1529c19c398d334f7f6773a737bab1bc90eaf79a47c1bee559aea7c2/awaish_pkg-1.2.tar.gz",
    "platform": null,
    "description": "Project Title\r\n=============\r\n\r\nThis package comes with some useful functions that make your work easier. Here are the function names with their functionalities:\r\n\r\n1. ``add_list_index_element()``\r\n   - Takes a list of integers as input, computes the sum of the digits of each integer, and creates a new list containing these sums.\r\n\r\n2. ``stack()``\r\n   - Implements a simple stack data structure with a fixed size limit. Provides interactive operations for pushing and popping elements, allowing users to choose between pushing an element onto the stack, popping an element from the stack, or exiting the program.\r\n\r\n3. ``find_positive_and_negative()``\r\n   - Reads a list of integers from the user.\r\n   - Separates the positive and negative numbers into two different lists.\r\n   - Calculates the sum of the positive numbers and the sum of the negative numbers.\r\n   - Displays the original list, the lists of positive and negative numbers, and their respective sums.\r\n\r\n4. ``factor_finder()``\r\n   - Finds all the factors of a given integer.\r\n   - Prints each factor.\r\n   - Calculates and prints the sum of all these factors.\r\n\r\n5. ``count_vowel_and_spaces()``\r\n   - Counts the number of vowels and spaces in a given input text.\r\n   - Identifies and lists all the vowels present in the text.\r\n   - Displays the original text, the count and list of vowels, and the count of spaces.\r\n\r\n6. ``prime_finder()``\r\n   - Determines whether a given number is prime.\r\n   - Informs the user whether the number is prime or not through printed messages.\r\n\r\n7. ``even_and_odd()``\r\n   - Reads a list of integers from the user.\r\n   - Separates the integers into two lists: one for even numbers and one for odd numbers.\r\n   - Displays the lists of even and odd numbers, or informs the user if no even or odd numbers were provided.\r\n\r\n8. ``fibonacci_series()``\r\n   - Generates and prints the first n terms of the Fibonacci series, where n is provided by the user.\r\n\r\n9. ``selection_sort()``\r\n   - This function sorts a list of integers in ascending order using the selection sort algorithm.\r\n   - This algorithm works by iteratively selecting the smallest element from the unsorted portion of the list and swapping it with the first element of the unsorted portion.\r\n   - After each iteration, the boundary between the sorted and unsorted portions of the list shifts, expanding the sorted section by one element.\r\n\r\n10. ``palindrome_number_pattern()``\r\n    - This function generates a number pyramid pattern resembling a palindrome structure.\r\n    - It prints a symmetrical pattern of numbers where each row contains numbers that first descend from a given number and then ascend back to the same value, creating a mirrored effect.\r\n    - The function also adds leading spaces to center the numbers, producing a pyramid-like shape.\r\n\r\nDocumentation\r\n-------------\r\n\r\nFor detailed documentation, see:\r\n`GitHub <https://github.com/abuawaish/awaish_pkg>`__\r\n\r\nAuthor\r\n------\r\n\r\nCreated by:\r\n`abuawaish7 <https://www.github.com/abuawaish>`__\r\n\r\nBadges\r\n------\r\n\r\n.. image:: https://badge.fury.io/py/awaish_pkg.svg\r\n   :target: https://pypi.org/project/awaish_pkg/\r\n\r\n.. image:: https://img.shields.io/badge/License-MIT-yellow.svg\r\n   :target: https://opensource.org/licenses/MIT\r\n\r\nInstallation and Use\r\n--------------------\r\n\r\nTo install the package, use pip:\r\n\r\n.. code-block:: sh\r\n\r\n   pip install awaish_pkg\r\n\r\nTo use the package in your Python script:\r\n\r\n.. code-block:: python\r\n\r\n   import awaish_pkg\r\n   help(awaish_pkg)\r\n\r\n\r\nChange Log\r\n==========\r\n\r\n1.2(24/09/2024)\r\n--------------------\r\n- Second Release\r\n- Added Docstring for every function\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple package offering a collection of useful functions for enhanced productivity.",
    "version": "1.2",
    "project_urls": {
        "Homepage": "https://github.com/abuawaish/awaish_pkg"
    },
    "split_keywords": [
        "funny"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a71105392829663983107644d8238f1b5b43e57c806a54a7d05b1d2ce0732a84",
                "md5": "79f570be0dc337f63c33a7d221c4da03",
                "sha256": "67323701c559991f93a60ebe82179b374286fb6259ab79f12b23e80016f3a945"
            },
            "downloads": -1,
            "filename": "awaish_pkg-1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "79f570be0dc337f63c33a7d221c4da03",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6013,
            "upload_time": "2024-09-24T11:18:57",
            "upload_time_iso_8601": "2024-09-24T11:18:57.247261Z",
            "url": "https://files.pythonhosted.org/packages/a7/11/05392829663983107644d8238f1b5b43e57c806a54a7d05b1d2ce0732a84/awaish_pkg-1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "515ab35b1529c19c398d334f7f6773a737bab1bc90eaf79a47c1bee559aea7c2",
                "md5": "3b219c515be4c78d6abab2a9e2b75212",
                "sha256": "23b3993bc2a9f94c640cede21a37abeec5fab2ae889db762a78d9200e7c63eaa"
            },
            "downloads": -1,
            "filename": "awaish_pkg-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "3b219c515be4c78d6abab2a9e2b75212",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6000,
            "upload_time": "2024-09-24T11:18:59",
            "upload_time_iso_8601": "2024-09-24T11:18:59.516307Z",
            "url": "https://files.pythonhosted.org/packages/51/5a/b35b1529c19c398d334f7f6773a737bab1bc90eaf79a47c1bee559aea7c2/awaish_pkg-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-24 11:18:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "abuawaish",
    "github_project": "awaish_pkg",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "awaish-pkg"
}
        
Elapsed time: 0.58354s