Skip to main content

A simple test package

Project description

pypi-test-first

This is a simple Python package that provides basic mathematical operations.

Installation

pip install pypi-test-first

Usage

import pypi_test_first

result = pypi_test_first.add(2, 3)
print(result)  # Output: 5

result = pypi_test_first.subtract(5, 3)
print(result)  # Output: 2

result = pypi_test_first.multiply(2, 3)
print(result)  # Output: 6

result = pypi_test_first.divide(6, 3)
print(result)  # Output: 2.0

result = pypi_test_first.power(2, 3)
print(result) # Output: 8

Available Functions

  • add(a, b): Returns the sum of a and b.
  • subtract(a, b): Returns the difference between a and b.
  • multiply(a, b): Returns the product of a and b.
  • divide(a, b): Returns the result of dividing a by b. Raises a ValueError if b is zero.
  • power(a, b): Returns the result of a raised to the power of b.

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

pypi_test_first-0.1.4.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

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

pypi_test_first-0.1.4-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file pypi_test_first-0.1.4.tar.gz.

File metadata

  • Download URL: pypi_test_first-0.1.4.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypi_test_first-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ef663b14f93ec0f37f4aa78ccaad6fd2f4cbb312568a958bb8d8fac3890eab01
MD5 c90424e33b156bb94856fad0e4a91c88
BLAKE2b-256 862f06e969f43622032674cf31b3b1bbdce470fbdcffd57bfa895e343bf39178

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypi_test_first-0.1.4.tar.gz:

Publisher: publish.yml on zs856/pypi-test-first

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pypi_test_first-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pypi_test_first-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5dc034166aa1d9d19045c37e0685273a5d2319d0b48ca77c800554fcfe6ee5c2
MD5 9b4ee7d9a80bfdaba18a3436bf0540c5
BLAKE2b-256 5c6107b84b487e7dad1cb4302dc51c53ab34cca67a6ea2b4cb0b51b0f8d1cfa7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypi_test_first-0.1.4-py3-none-any.whl:

Publisher: publish.yml on zs856/pypi-test-first

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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