# My Library
A simple example Python library that provides basic mathematical and string utilities.
## Installation
```bash
pip install my_library
```
## Usage
```python
from my_library import Calculator, StringUtils, fibonacci, factorial
# Calculator usage
calc = Calculator()
print(calc.add(5, 3)) # Output: 8
print(calc.multiply(4, 7)) # Output: 28
# String utilities
utils = StringUtils()
print(utils.reverse("hello")) # Output: "olleh"
print(utils.is_palindrome("racecar")) # Output: True
# Math functions
print(fibonacci(5)) # Output: [0, 1, 1, 2, 3]
print(factorial(5)) # Output: 120
```
## Features
- **Calculator**: Basic arithmetic operations
- **StringUtils**: String manipulation utilities
- **Math Functions**: Fibonacci sequence and factorial calculations
- **Error Handling**: Proper error handling for edge cases
## Development
To build and install locally:
```bash
python setup.py sdist bdist_wheel
pip install -e .
```
## License
MIT License
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/my_library",
"name": "jack-wong-library",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "math string utilities calculator",
"author": "Your Name",
"author_email": "your.email@example.com",
"download_url": "https://files.pythonhosted.org/packages/ab/dd/0e261792665b5ef3b093bf21c3e67f7f9d071d3c50ac229125fcf0ba7cdb/jack_wong_library-1.0.0.tar.gz",
"platform": null,
"description": "# My Library\n\nA simple example Python library that provides basic mathematical and string utilities.\n\n## Installation\n\n```bash\npip install my_library\n```\n\n## Usage\n\n```python\nfrom my_library import Calculator, StringUtils, fibonacci, factorial\n\n# Calculator usage\ncalc = Calculator()\nprint(calc.add(5, 3)) # Output: 8\nprint(calc.multiply(4, 7)) # Output: 28\n\n# String utilities\nutils = StringUtils()\nprint(utils.reverse(\"hello\")) # Output: \"olleh\"\nprint(utils.is_palindrome(\"racecar\")) # Output: True\n\n# Math functions\nprint(fibonacci(5)) # Output: [0, 1, 1, 2, 3]\nprint(factorial(5)) # Output: 120\n```\n\n## Features\n\n- **Calculator**: Basic arithmetic operations\n- **StringUtils**: String manipulation utilities\n- **Math Functions**: Fibonacci sequence and factorial calculations\n- **Error Handling**: Proper error handling for edge cases\n\n## Development\n\nTo build and install locally:\n\n```bash\npython setup.py sdist bdist_wheel\npip install -e .\n```\n\n## License\n\nMIT License\n",
"bugtrack_url": null,
"license": null,
"summary": "A simple Python utility library for mathematical and string operations",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/yourusername/my_library"
},
"split_keywords": [
"math",
"string",
"utilities",
"calculator"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "05e9881c4ef37d2bb26028db0da269908b92faebfca3a350006d5f4266388b5e",
"md5": "4862c4239a6932a793483544a22ad073",
"sha256": "0a3ea3e1dae0ef7056e00c0d3dde0a22fea4bd587428e7862fbf827c1fd14d1b"
},
"downloads": -1,
"filename": "jack_wong_library-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4862c4239a6932a793483544a22ad073",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 1849,
"upload_time": "2025-08-25T06:25:09",
"upload_time_iso_8601": "2025-08-25T06:25:09.828794Z",
"url": "https://files.pythonhosted.org/packages/05/e9/881c4ef37d2bb26028db0da269908b92faebfca3a350006d5f4266388b5e/jack_wong_library-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "abdd0e261792665b5ef3b093bf21c3e67f7f9d071d3c50ac229125fcf0ba7cdb",
"md5": "bb8d44087456d6ad94c15041eea46faf",
"sha256": "d850b794e033766424fae93a21167895a9584df6b3c6a1abde7e4b60bce956d4"
},
"downloads": -1,
"filename": "jack_wong_library-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "bb8d44087456d6ad94c15041eea46faf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 1855,
"upload_time": "2025-08-25T06:25:11",
"upload_time_iso_8601": "2025-08-25T06:25:11.355996Z",
"url": "https://files.pythonhosted.org/packages/ab/dd/0e261792665b5ef3b093bf21c3e67f7f9d071d3c50ac229125fcf0ba7cdb/jack_wong_library-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-25 06:25:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "my_library",
"github_not_found": true,
"lcname": "jack-wong-library"
}