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.6.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.6-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: suraj_ka_package-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 12d852f5550e6c4cabdb00a174d31e5726e24cf1ca9ff203dc83bce522c0e2a8
MD5 23df71ef37d3d66f2863137f97765547
BLAKE2b-256 dc8fee6070f5bbb8d32ae6a8bb0798c62187a135fcc3e6db2e12e04a902f7faf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for suraj_ka_package-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b5814809ae2443ee99d4fc6b472bd26e61c33b4393b1ee63e04a5ad0f306c783
MD5 5b07aea0cfbfb0e814a827aee741dd5e
BLAKE2b-256 cbca1186ebf7e791a680a8a225e3bc65dc776e6122f25469f68c52cfe0cd3fc8

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