A Python package that leverages AI to identify odd patterns in data using generative models.
Project description
is_ai_odd
is_ai_odd is a Python package designed to identify "odd" patterns in data using Google’s generative AI models.
Installation
You can install the package using pip:
pip install is_ai_odd
Alternatively, you can clone the repository and install it locally:
git clone https://github.com/trimpta/is_ai_odd.git
cd is_ai_odd
pip install .
Usage
Initialize the API
Before using the functions in this package, you need to initialize the API with your API key:
import is_ai_odd
is_ai_odd.init(API_KEY="your_api_key_here")
Example
To check if a number is "odd" using the is_odd() function:
import is_ai_odd
# Initialize with your API key
is_ai_odd.init(API_KEY="your_api_key_here")
# Check if a number is odd
number = 5
result = is_ai_odd.is_odd(number)
print(f"Is {number} odd? {result}")
You can also import init and is_odd directly.
from is_ai_odd import init, is_odd
# Initialize with your API key
init(API_KEY="your_api_key_here")
# Check if a number is odd
number = 5
result = is_odd(number)
print(f"Is {number} odd? {result}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file is-ai-odd-1.1.tar.gz.
File metadata
- Download URL: is-ai-odd-1.1.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d22738a37465f90b5b2346a935b273d596ebba95589a2b7485060f1a7eb3051
|
|
| MD5 |
33f44f23e540e95b42e543194ad34dd8
|
|
| BLAKE2b-256 |
710bfc940ff0711c30bcd3ba7c0ce9b13dc657a94930bfc3563235deb702fa39
|
File details
Details for the file is_ai_odd-1.1-py3-none-any.whl.
File metadata
- Download URL: is_ai_odd-1.1-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
601b9cce6122052c11dac0337e40c5da2c975478320b8554b410a4b9ea24bdde
|
|
| MD5 |
879fcf8c9858f956d4774c580ce92a69
|
|
| BLAKE2b-256 |
87ffaacc8f2650b1c4ebbdfb0f5b37a10eed2d0e87f5c5f64ea894d8b190a279
|