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.2.tar.gz (2.3 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.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: suraj_ka_package-0.0.2.tar.gz
  • Upload date:
  • Size: 2.3 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.2.tar.gz
Algorithm Hash digest
SHA256 f3fae76b785ee33b1f3bc75b1e802b37b0f455f33ba63e0dc1772529af51f806
MD5 ef1d43118093b0d47b43d04bdf03d843
BLAKE2b-256 8f8671e8f4a3ad241e41c9b012f1136c9566c41819d64bd1a2fd8727251ea078

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for suraj_ka_package-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7c92078d2d071dffbab7035960ac72e9911e15b3c37e66fc9f8e076ad24aafc1
MD5 8a9f42ce6a6316cd20e0dd629ef848db
BLAKE2b-256 8c97498a8b1faafc24f3a827ec3bf8cd3c201f7af218e673b8ffad06f1fa600d

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