Skip to main content

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

pypi-AgEIcHlwaS5vcmcCJDBmM2Q2OGRkLTA5MGUtNDc4NC1iNmY1LWUxYjc1ZjE3YzM5MwACKlszLCJmZDEzODAzNC01NTdlLTQwN2MtYTg1Yy1hZDgzYWIxM2RhY2YiXQAABiD8SS1dDfbrSjcBWXSKc3pDOz7N43KqVJpPoXRUmQsHgg

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

suraj_ka_package-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

suraj_ka_package-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file suraj_ka_package-0.0.1.tar.gz.

File metadata

  • Download URL: suraj_ka_package-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for suraj_ka_package-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fd2ee5c76d52dca5590ae0217cda2ccee1bf6e58d01db8e6eb27eea665ea3c5d
MD5 5f64ce186ba13a76b8f16bb0e7eea47b
BLAKE2b-256 d2a60bb4fd932c8bb64603083ae1de8879667bc8413e8e31b9f52d03e77bc3d7

See more details on using hashes here.

File details

Details for the file suraj_ka_package-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for suraj_ka_package-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9bea49e6c6c69ab0a396b0c9fea9f1b70a798797345c933fe30800ba4bb2553b
MD5 0015bf13715b5bf4cbf9220aa17088f6
BLAKE2b-256 ef0322cb7a12048158cfab9eb74dc62d9c567c6ae97952c79b973f24c6b3d863

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