Metadata-Version: 2.4
Name: cc-toolkit
Version: 0.2.1
Summary: A Python toolkit for common tasks, including Redis operations
Author-email: cuibo <yzf@cuibo.com>
Project-URL: Homepage, https://github.com/yourusername/cc-toolkit
Project-URL: Bug Tracker, https://github.com/yourusername/cc-toolkit/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Database
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: redis>=4.0.0
Dynamic: license-file

# cc-toolkit

A Python toolkit for common tasks.

## Installation

You can install cc-toolkit using pip:

```bash
pip install cc-toolkit
```

## Usage

### Greeting Function

```python
from cc_toolkit import greet

# Generate a greeting message
message = greet("World")
print(message)  # Output: Hello, World! Welcome to cc_toolkit.
```

### Calculator Function

```python
from cc_toolkit import calculate

# Addition
result = calculate(5, 3, "add")
print(f"5 + 3 = {result}")  # Output: 5 + 3 = 8

# Subtraction
result = calculate(5, 3, "subtract")
print(f"5 - 3 = {result}")  # Output: 5 - 3 = 2

# Multiplication
result = calculate(5, 3, "multiply")
print(f"5 * 3 = {result}")  # Output: 5 * 3 = 15

# Division
result = calculate(6, 3, "divide")
print(f"6 / 3 = {result}")  # Output: 6 / 3 = 2
```

## Features

- Simple greeting function
- Basic arithmetic operations
- Easy to extend with new functionality

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

MIT
