Metadata-Version: 2.4
Name: tommyexp
Version: 1.1
Summary: validation package for Indian phone numbers, gmail and SBI IFSC codes
Author: Sandeep Nallamothu
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: description
Dynamic: description-content-type
Dynamic: summary

# tommyexp

A lightweight Python package for validating common Indian data formats using Regular Expressions.

Currently supported validations:

- Indian Phone Numbers
- Gmail Addresses
- SBI IFSC Codes

---

# Features

âœ… Indian Mobile Number Validation  
âœ… Gmail Validation  
âœ… SBI IFSC Validation  
âœ… Beginner Friendly  
âœ… Lightweight & Fast  
âœ… Easy to Integrate  

---

# Installation

```bash
pip install tommyexp
```

---

# Usage

## Import Functions

```python
from tommyexp import phone, gmail, ifsc
```

---

# Validate Indian Phone Number

```python
from tommyexp import phone

print(phone("9876543210"))
```

### Output

```python
True
```

---

# Validate Gmail Address

```python
from tommyexp import gmail

print(gmail("sample@gmail.com"))
```

### Output

```python
True
```

---

# Validate SBI IFSC Code

```python
from tommyexp import ifsc

print(ifsc("SBIN0001234"))
```

### Output

```python
True
```

---

# Example

```python
from tommyexp import phone, gmail, ifsc

print(phone("9876543210"))
print(gmail("test@gmail.com"))
print(ifsc("SBIN0001234"))
```

### Output

```python
True
True
True
```

---



# Validation Rules

## Indian Phone Numbers

Rules:
- Must contain exactly 10 digits
- Must start with:
  - 6
  - 7
  - 8
  - 9

Example:

```python
9876543210
```

---

## Gmail Validation

Supported format:

```python
sample@gmail.com
```

---

## SBI IFSC Validation

Supported SBI IFSC format:

```python
SBIN0001234
```

Rules:
- Must start with `SBIN`
- Followed by `0`
- Last 6 characters must be digits

---

# Package Functions

| Function | Description |
|---|---|
| `phone()` | Validate Indian mobile numbers |
| `gmail()` | Validate Gmail addresses |
| `ifsc()` | Validate SBI IFSC codes |

---

# Requirements

- Python 3.7+



# Future Enhancements

Planned features:

- PAN Validation
- Aadhaar Validation
- GST Validation
- Passport Validation
- UPI Validation
- Vehicle Number Validation

---

# License

This project is licensed under the MIT License.

---

# Author

## Sandeep Nallamothu

Data Scientist | Generative AI Engineer | Python Developer

Interested in:
- Generative AI
- Machine Learning
- NLP
- RAG Applications
- Python Libraries

---

# Connect

LinkedIn: https://www.linkedin.com/in/sandeepnallamothu/

PyPI: https://pypi.org/project/tommyexp/1.0/

Instagram: https://www.instagram.com/sandeep_chowdary_nallamothu/?hl=en


---
