Simple Python function
Project description
suraj_ka_package
suraj_ka_package is a simple Python package providing basic utility functions and a class for mathematical and general operations. This package includes two modules: main (functions) and cmain (class-based methods) for performing basic operations such as addition, checking even numbers, greeting users, finding the maximum in a list, and calculating the area of a circle.
Features
Functions (from main module)
- add_numbers: Adds two integers and returns the result.
- is_even: Checks if a given integer is even.
- greet_user: Returns a greeting message for a specified user.
- find_max: Finds the maximum number in a list of integers.
- calculate_area: Calculates the area of a circle given its radius.
Class (from cmain module)
- SimpleOperations: Contains the same methods as above as static methods in a class structure.
Installation
You can install this package locally by using pip install suraj_ka_package
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file suraj_ka_package-0.0.3.tar.gz.
File metadata
- Download URL: suraj_ka_package-0.0.3.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ce5a89c072b9d5d0a6a3befe976285b98d4d5716207a823745f0206c175528e
|
|
| MD5 |
10902ede615a53830d9897f56fa1533e
|
|
| BLAKE2b-256 |
f38bf13b3aaa3094c1b9bf1c24e5ab55c3f62400b706435e2d67f5fc0d3e4d64
|
File details
Details for the file suraj_ka_package-0.0.3-py3-none-any.whl.
File metadata
- Download URL: suraj_ka_package-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8397c7569682a652d6f675014128cbaf72b59d81261856e92344f8ab522d8203
|
|
| MD5 |
d6713a9f9cdbf3d2fafc19d418ceefd3
|
|
| BLAKE2b-256 |
1f19ed7d85862d1991630b6230b3c32e802b5530ce277ca4c9d58d931027f58e
|