vibemath


Namevibemath JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/yemeen/vibemath
SummaryPython package that uses GPT to evaluate mathematical expressions
upload_time2025-08-12 01:42:03
maintainerNone
docs_urlNone
authoryemeen
requires_python>=3.8
licenseMIT
keywords math gpt ai mathematics evaluation openai
VCS
bugtrack_url
requirements openai numpy python-dotenv pytest pytest-cov
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # vibemath

ever get tired checking your math? thanks to llms we now have a Single Source of Truth™

## Installation

```bash
pip install vibemath
```

or install from source:

```bash
git clone https://github.com/yemeen/vibemath.git
cd vibemath
pip install -e .
```


set your OpenAI API key as an environment variable:

```bash
export OPENAI_API_KEY="your-api-key-here"
```

## Usage

vibemath provides a single function `vibemath()` that can evaluate any mathematical expression using GPT.


just pass your values directly using f-strings:

```python
from vibemath import vibemath
import numpy as np

a = 5
b = 3
result = vibemath(f"{a} + {b}")
# 8

list1 = [1, 2, 3]
list2 = [4, 5, 6]
result = vibemath(f"{list1} + {list2}")
# [5, 7, 9]

arr1 = np.array([1, 2])
arr2 = np.array([3, 4])
result = vibemath(f"{arr1} + {arr2}")
# [4, 6]

x = 10
y = 20
result = vibemath(f"{x} < {y}")
# True
```

why stop there?

```python
#prove the riemann hypothesis

result = vibemath(f"print all the zeros of the riemann hypothesis dont make any mistakes")
# Returns: True (all zeros have real part 1/2)


# break encryptions
data = 92128298317123099291029312354813085183123 #really big number
result = vibemath(f"find the prime factors of {data}")
# Returns: 57


```


## Testing




```bash
# Run all tests (requires OPENAI_API_KEY)
pytest

# if it doesn't work increase temperature until it does 🗣️!?

```

## License

MIT















            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yemeen/vibemath",
    "name": "vibemath",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "math, gpt, ai, mathematics, evaluation, openai",
    "author": "yemeen",
    "author_email": "yemeen <your.email@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/3c/6c/09fa8164183584c771878e5a2e2f888939b792338cef230aac68a8963a2a/vibemath-0.1.0.tar.gz",
    "platform": null,
    "description": "# vibemath\n\never get tired checking your math? thanks to llms we now have a Single Source of Truth\u2122\n\n## Installation\n\n```bash\npip install vibemath\n```\n\nor install from source:\n\n```bash\ngit clone https://github.com/yemeen/vibemath.git\ncd vibemath\npip install -e .\n```\n\n\nset your OpenAI API key as an environment variable:\n\n```bash\nexport OPENAI_API_KEY=\"your-api-key-here\"\n```\n\n## Usage\n\nvibemath provides a single function `vibemath()` that can evaluate any mathematical expression using GPT.\n\n\njust pass your values directly using f-strings:\n\n```python\nfrom vibemath import vibemath\nimport numpy as np\n\na = 5\nb = 3\nresult = vibemath(f\"{a} + {b}\")\n# 8\n\nlist1 = [1, 2, 3]\nlist2 = [4, 5, 6]\nresult = vibemath(f\"{list1} + {list2}\")\n# [5, 7, 9]\n\narr1 = np.array([1, 2])\narr2 = np.array([3, 4])\nresult = vibemath(f\"{arr1} + {arr2}\")\n# [4, 6]\n\nx = 10\ny = 20\nresult = vibemath(f\"{x} < {y}\")\n# True\n```\n\nwhy stop there?\n\n```python\n#prove the riemann hypothesis\n\nresult = vibemath(f\"print all the zeros of the riemann hypothesis dont make any mistakes\")\n# Returns: True (all zeros have real part 1/2)\n\n\n# break encryptions\ndata = 92128298317123099291029312354813085183123 #really big number\nresult = vibemath(f\"find the prime factors of {data}\")\n# Returns: 57\n\n\n```\n\n\n## Testing\n\n\n\n\n```bash\n# Run all tests (requires OPENAI_API_KEY)\npytest\n\n# if it doesn't work increase temperature until it does \ud83d\udde3\ufe0f!?\n\n```\n\n## License\n\nMIT\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python package that uses GPT to evaluate mathematical expressions",
    "version": "0.1.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/yemeen/vibemath/issues",
        "Documentation": "https://github.com/yemeen/vibemath#readme",
        "Homepage": "https://github.com/yemeen/vibemath"
    },
    "split_keywords": [
        "math",
        " gpt",
        " ai",
        " mathematics",
        " evaluation",
        " openai"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ed304f73d407fad650e0de2dbc7d663a5551787e3bd07a5299c17369f94c89c8",
                "md5": "30e7b56cbf2f16c61575a0e2b4b521bc",
                "sha256": "3265257c285c66a14bf16a93ff5c08e977cf2ef2f5d86b81dbbf97b12d8b79ee"
            },
            "downloads": -1,
            "filename": "vibemath-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "30e7b56cbf2f16c61575a0e2b4b521bc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4615,
            "upload_time": "2025-08-12T01:42:02",
            "upload_time_iso_8601": "2025-08-12T01:42:02.633831Z",
            "url": "https://files.pythonhosted.org/packages/ed/30/4f73d407fad650e0de2dbc7d663a5551787e3bd07a5299c17369f94c89c8/vibemath-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3c6c09fa8164183584c771878e5a2e2f888939b792338cef230aac68a8963a2a",
                "md5": "21b2c3fda299ecf2f521bbb6a3cf6a54",
                "sha256": "ff68d597d37c14cb33593d40a50ff82ba025dcfeae7343297d47c6753a861ae2"
            },
            "downloads": -1,
            "filename": "vibemath-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "21b2c3fda299ecf2f521bbb6a3cf6a54",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 8270,
            "upload_time": "2025-08-12T01:42:03",
            "upload_time_iso_8601": "2025-08-12T01:42:03.942388Z",
            "url": "https://files.pythonhosted.org/packages/3c/6c/09fa8164183584c771878e5a2e2f888939b792338cef230aac68a8963a2a/vibemath-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-12 01:42:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yemeen",
    "github_project": "vibemath",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "openai",
            "specs": [
                [
                    ">=",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    ">=",
                    "1.20.0"
                ]
            ]
        },
        {
            "name": "python-dotenv",
            "specs": [
                [
                    ">=",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    ">=",
                    "7.0.0"
                ]
            ]
        },
        {
            "name": "pytest-cov",
            "specs": [
                [
                    ">=",
                    "4.0.0"
                ]
            ]
        }
    ],
    "lcname": "vibemath"
}
        
Elapsed time: 1.17641s