Metadata-Version: 2.4
Name: alogithms
Version: 1.0.1
Summary: A simple Python library
Home-page: https://github.com/wsc33332f/reply
Author: Kirik
Author-email: Your Name <email@example.com>
License-Expression: MIT
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# alogithms


`alogithms` is a small Python package for studying basic library design and
common Python tasks:

- arithmetic helpers

## Requirements

- Python 3.9 or newer


Install the package from the repository root:

```bash
python -m pip install .
```


## Public API

The package exports these helpers:

```python
import alogithms

alogithms.add(2, 3)
alogithms.subtract(7, 4)

```


```python
import alogithms

print(alogithms.add(2, 3))       # 5
print(alogithms.subtract(7, 4))  # 3
```

## File transfer CLI

Download a URL to a local path:

```bash
python3 -m alogithms.devide --download https://example.com/file.bin --output file.bin
```

Upload a local file to a URL:

```bash
python3 -m alogithms.devide --upload https://example.com/upload --file file.bin
```

Downloads refuse to overwrite an existing file unless `--overwrite` is given.
Uploads send the file as the raw request body using HTTP POST.


Run the unit tests:

```bash
python -m unittest discover -s tests -v
```
