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

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.5.tar.gz (2.6 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.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for suraj_ka_package-0.0.5.tar.gz
Algorithm Hash digest
SHA256 58faf41993135d9489f3720abb59d40de2eecd5c063af4df56e990889f313f29
MD5 ba9daa54995cf5c4d55fb15f22e4d403
BLAKE2b-256 60ba8b06c4e5fe39d0445f888126e7e3590a8500a26ee717d8a85a3ba7a6f8c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for suraj_ka_package-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ff9c6a42b4c4153d2de2eb0fc7780da49c9b61ca32e063faf26bbf7b4b4d8460
MD5 d3106781184d4a1c708e42a757777ce3
BLAKE2b-256 2c26da91764390c18adafdb40c7429a9e3f3845a4cce8173bd6683297c2bb0d5

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