Metadata-Version: 2.4
Name: n_sum
Version: 0.1.1
Summary: A simple Python package to compute sums of numbers, lists, and series like arithmetic and geometric series
Author-email: Hemanth Kumar Sirasapalli <sirasapalli1238@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/shkumar5-india/n_sum
Project-URL: Repository, https://github.com/shkumar5-india/n_sum
Project-URL: Bug_Tracker, https://github.com/shkumar5-india/n_sum/issues
Keywords: sum,numbers,series,arithmetic,geometric,math,python
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# n_sum

[![PyPI Version](https://img.shields.io/pypi/v/n_sum.svg)](https://pypi.org/project/n_sum/)
[![Python Version](https://img.shields.io/pypi/pyversions/n_sum.svg)](https://pypi.org/project/n_sum/)
[![License](https://img.shields.io/pypi/l/n_sum.svg)](https://github.com/shkumar5-india/n_sum/blob/main/LICENSE)
[![Downloads](https://img.shields.io/pypi/dm/n_sum.svg)](https://pypi.org/project/n_sum/)
[![Build Status](https://img.shields.io/github/actions/workflow/status/shkumar5-india/n_sum/python-package.yml?branch=main)](https://github.com/shkumar5-india/n_sum/actions)

A Python package for calculating sums of numbers and series.  
Provides functions for summing natural numbers, lists, squares, cubes, and arithmetic/geometric series.

---

## Features

- `sum_n(n)` – Sum of first `n` natural numbers  
- `sum_list(numbers)` – Sum of a list of numbers  
- `sum_squares(n)` – Sum of squares of first `n` natural numbers  
- `sum_cubes(n)` – Sum of cubes of first `n` natural numbers  
- `arithmetic_series(a, d, n)` – Sum of first `n` terms of an arithmetic series  
- `geometric_series(a, r, n)` – Sum of first `n` terms of a geometric series

---

## Installation

**From PyPI:**

```bash
pip install n_sum


