Skip to main content

Vibesort

AI-powered array sorting using GPT.

Usage

Install the package:

pip install vibesort

Set your OpenAI API key as an environment variable.

export OPENAI_API_KEY=your_key_here
from vibesort import vibesort

result = vibesort([5, 2, 8, 1, 9])
print(result)  # [1, 2, 5, 8, 9]

Test

pytest tests/

Dependencies

  • openai
  • pydantic
  • typing-extensions

⚠️ Requires OpenAI API key. Experimental project - not for production use.

Metadata

Release files for vibesort 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vibesort 0.1.1
File Size Uploaded
vibesort-0.1.1.tar.gz 25.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vibesort 0.1.1
File Interpreter ABI Platform
vibesort-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.5 kB

Release files / vibesort-0.1.1.tar.gz

Download URL vibesort-0.1.1.tar.gz
Size 25.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9bed89930c74dcf1135b86d7b5e6f86ce11c436199a17f9a6c3106ea31164250
BLAKE2b-256 checksum
How to use checksums
4a888c78d4cce78e24c1c8f1519eea69ec30cc67c5b933cf052091e8f10d330b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.6

Release files / vibesort-0.1.1-py3-none-any.whl

Download URL vibesort-0.1.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38d68acf5177a8c363141fe869a0dd3d5819b1eac936319156f2c018310536d9
BLAKE2b-256 checksum
How to use checksums
079ff2e76dc5ee49c61f8ec1e781e37683993d4dbd6ab5e93327c4ea46d3df8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page