Name | openai-is-even JSON |
Version |
1.0.1
JSON |
| download |
home_page | None |
Summary | A Python package that uses OpenAI to check if numbers are even |
upload_time | 2025-08-11 13:55:31 |
maintainer | None |
docs_url | None |
author | d-costa |
requires_python | >=3.10 |
license | None |
keywords |
openai
even
odd
numbers
ai
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# openai_is_even
A Python package that uses OpenAI to check if numbers are even ✨
## Description
Instead of using boring traditional math to check if a number is even, this package asks OpenAI's GPT model to determine the evenness of numbers with AI-powered vibes.
## Installation
```bash
pip install openai-is-even
```
Or with uv:
```bash
uv add openai-is-even
```
## Requirements
- Python >= 3.10
- OpenAI API key set in the `OPENAI_API_KEY` environment variable
## Usage
```sh
export OPENAI_API_KEY=your_key_here
```
```python
from openai_is_even import openai_is_even
# Check if numbers are even
result = openai_is_even(4) # Returns True
result = openai_is_even(3) # Returns False
```
## Development
This project uses [uv](https://github.com/astral-sh/uv) for dependency management.
### Setup
```bash
# Clone the repository
git clone https://github.com/d-costa/openai_is_even.git
cd openai_is_even
# Install dependencies
uv sync
# Set up your OpenAI API key
export OPENAI_API_KEY="your-api-key-here"
```
### Running Tests
```bash
uv run pytest -v
```
## Disclaimer
This package is for entertainment and educational purposes. Please use traditional mathematical operations to check if numbers are even. 😄
Inspired by <https://github.com/abyesilyurt/vibesort>
Raw data
{
"_id": null,
"home_page": null,
"name": "openai-is-even",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "openai, even, odd, numbers, ai",
"author": "d-costa",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/56/73/36126cdf6ce67bbe2e5737c43ed8d62b97922bfb8d793b173825ed9c2dff/openai_is_even-1.0.1.tar.gz",
"platform": null,
"description": "# openai_is_even\n\nA Python package that uses OpenAI to check if numbers are even \u2728\n\n## Description\n\nInstead of using boring traditional math to check if a number is even, this package asks OpenAI's GPT model to determine the evenness of numbers with AI-powered vibes.\n\n## Installation\n\n```bash\npip install openai-is-even\n```\n\nOr with uv:\n\n```bash\nuv add openai-is-even\n```\n\n## Requirements\n\n- Python >= 3.10\n- OpenAI API key set in the `OPENAI_API_KEY` environment variable\n\n## Usage\n\n```sh\nexport OPENAI_API_KEY=your_key_here\n```\n\n```python\nfrom openai_is_even import openai_is_even\n\n# Check if numbers are even\nresult = openai_is_even(4) # Returns True\nresult = openai_is_even(3) # Returns False\n```\n\n## Development\n\nThis project uses [uv](https://github.com/astral-sh/uv) for dependency management.\n\n### Setup\n\n```bash\n# Clone the repository\ngit clone https://github.com/d-costa/openai_is_even.git\ncd openai_is_even\n\n# Install dependencies\nuv sync\n\n# Set up your OpenAI API key\nexport OPENAI_API_KEY=\"your-api-key-here\"\n```\n\n### Running Tests\n\n```bash\nuv run pytest -v\n```\n\n## Disclaimer\n\nThis package is for entertainment and educational purposes. Please use traditional mathematical operations to check if numbers are even. \ud83d\ude04\n\nInspired by <https://github.com/abyesilyurt/vibesort>\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python package that uses OpenAI to check if numbers are even",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://github.com/d-costa/openai_is_even",
"Issues": "https://github.com/d-costa/openai_is_even/issues",
"Repository": "https://github.com/d-costa/openai_is_even"
},
"split_keywords": [
"openai",
" even",
" odd",
" numbers",
" ai"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "bcc91a569dff3e7a591dfc3333536b0003c02c2d98343c4db4d8685521da7e19",
"md5": "9dc7c07cf2bce9a89df14dc8c1f20a29",
"sha256": "2a6bcebbc604cf5838d99407d49f48f1107ddc137c612887fdaf3258b603a3a6"
},
"downloads": -1,
"filename": "openai_is_even-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9dc7c07cf2bce9a89df14dc8c1f20a29",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 2897,
"upload_time": "2025-08-11T13:55:30",
"upload_time_iso_8601": "2025-08-11T13:55:30.785423Z",
"url": "https://files.pythonhosted.org/packages/bc/c9/1a569dff3e7a591dfc3333536b0003c02c2d98343c4db4d8685521da7e19/openai_is_even-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "567336126cdf6ce67bbe2e5737c43ed8d62b97922bfb8d793b173825ed9c2dff",
"md5": "0e07a3c6538b19637441d9866d6e968e",
"sha256": "ca018d2063afb400e3811ac8272bf4fb7718997c9c68c3c1920d3f37974ca3e9"
},
"downloads": -1,
"filename": "openai_is_even-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "0e07a3c6538b19637441d9866d6e968e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 1912,
"upload_time": "2025-08-11T13:55:31",
"upload_time_iso_8601": "2025-08-11T13:55:31.658333Z",
"url": "https://files.pythonhosted.org/packages/56/73/36126cdf6ce67bbe2e5737c43ed8d62b97922bfb8d793b173825ed9c2dff/openai_is_even-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-11 13:55:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "d-costa",
"github_project": "openai_is_even",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "openai-is-even"
}