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

Uploaded Python 3

File details

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

File metadata

  • Download URL: suraj_ka_package-0.0.4.tar.gz
  • Upload date:
  • Size: 2.5 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.4.tar.gz
Algorithm Hash digest
SHA256 5bcda3c2829406384ef6ce1a77f1518714614c6df3f5a6ea0ddb996d341b7259
MD5 6034f08ab22bbc56d65bc60e543d8f11
BLAKE2b-256 6b2e52ae7f88994fdd32fb4490d76638572013b2eceb09aa1d7510f6f92c78f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for suraj_ka_package-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d308ca683a1a3b3423ef4017840b11fad8e03455fcb70e3d071c36054afad8b3
MD5 e4ce2031a69fae22c7d4ef231aa1dfeb
BLAKE2b-256 eead5f1e153c6f45094c6a6802f4184d57ef02b4e479c7b58cf734b0460bbdad

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