Skip to main content

Project Title

This is very simple package that comes with the following functionalities.

  1. multiplication_table() : Prints the multiplication table from 1 to 5 by default.

  2. fahrenheit_to_celsius() : Converts Fahrenheit to Celsius given an integer parameter.

  3. celsius_to_fahrenheit() : Converts Celsius to Fahrenheit given an integer parameter.

  4. finds_the_longest_word() : Returns the longest word from a provided string.

  5. binary_to_decimal() : This function handles user input and output. It prompts the user to input a binary number, processes it through the main() function, and displays the appropriate result based on the validity of the input.

  6. fibonacci_series_generator() : This function generates Fibonacci numbers interactively in groups of 10, allowing the user to proceed by pressing “Enter” or terminate the program with “Ctrl+D”.

Documentation

See the documentation section at:

Author

See the Author of this project at:

Badges

abu-project

https://badge.fury.io/py/abu-project.svg https://img.shields.io/badge/License-MIT-yellow.svg

Installation and Use

To install the package, use pip:

pip install abu-project

To use the package in your Python script:

Usage

To use the package in your Python script, first import the FunnyFuncs class from the abu_project module. Here are some examples:

from abu_project import FunnyFuncs

funcs = FunnyFuncs()

# Generate multiplication tables from 1 to 5
funcs.multiplication_table()

# Convert Fahrenheit to Celsius
print(funcs.fahrenheit_to_celsius(440))  # Output: 440° Fahrenheit -> 226.67° Celsius

# Convert Celsius to Fahrenheit
print(funcs.celsius_to_fahrenheit(40))  # Output: 40° Celsius -> 104.00° Fahrenheit

# Find the longest word in a sentence
print(funcs.finds_the_longest_word("The quick brown fox jumps over the lazy dog"))
# Output: The longest word is : jumps

# Convert a binary number to decimal
funcs.binary_to_decimal()

# Generate Fibonacci numbers
funcs.fibonacci_series_generator()

Features

  1. Multiplication Table: Generate multiplication tables for a range of numbers.

  2. Temperature Conversion: Convert temperatures between Fahrenheit and Celsius.

  3. Longest Word Finder: Identify the longest word in a given sentence.

  4. Binary to Decimal Conversion: Convert a binary number to its decimal equivalent.

  5. Fibonacci Series Generator: Generate an infinite series of Fibonacci numbers.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Change Log

1.46(02/01/2025)

  • Seventh Release (bug fixed)

  • Encapsulating the implementation of the main() function

  • Added Docstring for every function.

  • Added an interactive fibonacci_series_generator function to generate Fibonacci numbers in groups of 10 with user-controlled continuation.

  • Fixed the type annotation in the process_data function argument.

Metadata

Release files for abu-project 1.46

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

Source distribution (sdist)

Source distribution for abu-project 1.46
File Size Uploaded
abu_project-1.46.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for abu-project 1.46
File Interpreter ABI Platform
abu_project-1.46-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / abu_project-1.46.tar.gz

Download URL abu_project-1.46.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a20e01f4ea3a7af8b042eaa4fc4f263beeb10ff3f1bb25f79aa3a64570422f3b
BLAKE2b-256 checksum
How to use checksums
e0453dd345cb5b6b842f2352322ec01539c07567de644844ae9a1f36e8a4b4e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / abu_project-1.46-py3-none-any.whl

Download URL abu_project-1.46-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a3b430081e8ac6c6aaedcb1034accadd78dae856133f43cf721ec33108593b2
BLAKE2b-256 checksum
How to use checksums
34c16c2d75ef0431aea3eed741dbc8f18477c41539d6c7ef1439cf50cbee1581
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.46 This release

2 release files

1.45

2 release files

1.44

2 release files

1.43

2 release files

1.42

2 release files

1.41

2 release files

1.40

2 release files

1.4

2 release files

1.3

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