semvec/pypi-packages huggingface dataset:
climailer 0.1
A command Line mailer
Requires Python: >=3.6

# CLI_Mailer
This is a python program that let u send mail in command line interface.
### USAGE 
1. Clone the repository 
```bash
https://github.com/Pratyush-Saxena/CLI_Mailer.git
```
2. Install all the dependencies
```bash
pip install requirements.txt
```
3. Now run main.py script
```bash
python main.py
```
lambda-run 0.0.3
run code or subprocess on aws lambda invoke context

# lambda-run
run python code or shell commands on aws lambda invoke context

### install:
```
# use bare package for production
$ pip install lambda-run

# use to install dev dependencies
# needed to execute commands from cli 
$ pip install lambda-run[cli]
```

#### usage:
wrap your lambda function like this:
```python
import lambda_run

# wrapping will catch 'lambdaRun' events
# otherwise it will pass the event forward
@lambda_run.wrap_handler
def lambda_handler(event, context):
    # your regular lambda handler...
    print(event, context) 
    return 'OK' 
```

execute commands from cli:
```shell
# set AWS env vars for boto3
export AWS_PROFILE=profile AWS_DEFAULT_REGION=eu-west-1

# Usage: lambda-run [OPTIONS] FUNCTION_NAME [PAYLOAD]

# attach payload directly as last argument
lambda-run -m python my-lambda 'import sys; print(sys.path)'

# or by posix pipe/redirect, for example: 
# pipe it
echo 'import sys; print(sys.path)' | lambda-run -m python my-lambda 

# oneliner redirect
lambda-run -m shell my-lambda <<<'python manage.py createsuperuser'

# or multiline
lambda-run -m python my-lambda <<EOF
for i in range(10):
    print(i)
EOF

# or file content
lambda-run -m shell my-lambda <bash-script.sh
```
mnultitool 1.0.6
A multitool for Numerical Methods
Requires Python: >=3.6, <4
Keywords: numerical,math,interpolation

# M(N)ultitool - a multitool for Numerical Methods

## Compatibility & requirements

This module assumes you are using python `3.x` & have the following packages installed:

- `matplotlib`
- `numpy`
- `scipy`

## Installation

To install, run `pip install mnultitool`

## Docs

Docs are available [here](https://artus9033.github.io/MNultitool/index.html) and are automatically compiled after each commit.
sortify 1.2.1
A Python package containing implementation of various sorting algorithms.

# Sortify

## Project Description
---

__sortify__ is a Python package containing implementations of different sorting algorithms. This module is implemented using vanilla Python and does not need any additional dependencies.

## Installation
---

Simply run the following command in the terminal to install sortify:

```
pip install sortify
```

## Usage
---

The following example demonstrates how you can use __sortify__:

```
from sortify import Sort

if __name__ == "__main__":
    arr = [1, 7, 2, 6, 3, 5, 4]
    print(Sort.bubble(arr))
```

This prints the following result:

```
[1, 2, 3, 4, 5, 6, 7]
```

The available sorting methods are:
* Sort.bubble(arr: list, reverse: bool) → Bubble sort
* Sort.insertion(arr: list, reverse: bool) → Insertion sort
* Sort.selection(arr: list, reverse: bool) → Selection sort
* Sort.quick(arr: list, reverse: bool) → Quick sort
* Sort.mergesort(arr: list, reverse: bool) → Merge sort

Here, set the parameter __reverse = True__ to sort the list in descending order. For example:

```
from sortify import Sort

if __name__ == "__main__":
    arr = [1, 7, 2, 6, 3, 5, 4]
    print(Sort.merge(arr, reverse=False))
```

This prints the following result:

```
[7, 6, 5, 4, 3, 2, 1]
```
taghvim 1.0.0
taghvim is a Python(v3.x) library for Calendar and Date Convertor For Persian Date

# taghvim

taghvim is a Python(v3.x) library for Calendar and Date Convertor For Persian Date, Gregorian Date ,Arabian Date with holiday and Events

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install taghvim.

```bash
pip install taghvim
```

## Usage

```python
>>>import taghvim
>>> jalali  = taghvim.Jalali()
>>> jalali.today()
'1399-11-8'
>>> jalali.event(jalali.today())
'سالروز وفات حضرت امالبنین (س) - روز تکریم مادران و همسران شهدا'
>>> jalali.event('2024-3-27') # Gregorian Date
'روز جهانی تئاتر'
>>> jalali.event('1446-5-24') # Hijri Date
'زمین لرزه ی بم- سالروز شهادت آشو زرتشت- جشن کریسمس'
>>> calendar= jalali.find_('2020-1-27',month=True,day=True,rtl=False)
>>> calendar
('سه شنبه', '6', 'آبان', '1399')
>>> calendar[3]
'1399'
>>> jalali.holiday('1402-5-13')
'تعطیل'
>>> hijri = taghvim.Hijri()
>>> hijri.today()
'1442-6-13'
>>> hijri.today(-1)#Change the days of the month 
'1442-6-12'
>>>jalali.range('1402-1-1',6,to_jalali=True,holiday=True,event=False)
[('1402', '1', '1', 'تعطیل'),
 ('1402', '1', '2', 'تعطیل'),
 ('1402', '1', '3', 'تعطیل'),
 ('1402', '1', '4', 'تعطیل'), 
 ('1402', '1', '5', ''),
 ('1402', '1', '6', '')]
>>> miladi = taghvim.Gregorian()
>>> miladi.find_('1403-9-14')
('4', '12', '2024')
>>> miladi.find_('1403-9-14',rtl=True)
('2024', '12', '4')
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License
[Apache License 2.0]( http://www.apache.org/licenses/)