vibeleftpad


Namevibeleftpad JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryAI-powered left padding library that uses GPT to pad strings
upload_time2025-08-10 07:30:24
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT
keywords ai gpt leftpad padding parody string
VCS
bugtrack_url
requirements openai pydantic typing-extensions
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Vibeleftpad

AI-powered left padding using GPT. Because why use simple string methods when you can use artificial intelligence?

## Usage

Install the package:
```bash
pip install vibeleftpad
```

Set your OpenAI API key as an environment variable.
```bash
export OPENAI_API_KEY=your_key_here
```

```python
from vibeleftpad import leftpad

result = leftpad("hello", 10)
print(result)  # "     hello"

result = leftpad("world", 8, "0")
print(result)  # "000world"

result = leftpad("test", 10, "-")
print(result)  # "------test"
```

## Test

```bash
pytest tests/
```

## Dependencies

- openai
- pydantic
- typing-extensions

⚠️ Requires OpenAI API key. Experimental project - not for production use. This is a parody of the infamous leftpad incident.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "vibeleftpad",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "ai, gpt, leftpad, padding, parody, string",
    "author": null,
    "author_email": "Taha Parker <tahayparker@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/94/df/b84069c7dc9e3bb37d3688d9c0b6ecb6d6273b8e8534fab2da924b8643c5/vibeleftpad-0.1.0.tar.gz",
    "platform": null,
    "description": "# Vibeleftpad\n\nAI-powered left padding using GPT. Because why use simple string methods when you can use artificial intelligence?\n\n## Usage\n\nInstall the package:\n```bash\npip install vibeleftpad\n```\n\nSet your OpenAI API key as an environment variable.\n```bash\nexport OPENAI_API_KEY=your_key_here\n```\n\n```python\nfrom vibeleftpad import leftpad\n\nresult = leftpad(\"hello\", 10)\nprint(result)  # \"     hello\"\n\nresult = leftpad(\"world\", 8, \"0\")\nprint(result)  # \"000world\"\n\nresult = leftpad(\"test\", 10, \"-\")\nprint(result)  # \"------test\"\n```\n\n## Test\n\n```bash\npytest tests/\n```\n\n## Dependencies\n\n- openai\n- pydantic\n- typing-extensions\n\n\u26a0\ufe0f Requires OpenAI API key. Experimental project - not for production use. This is a parody of the infamous leftpad incident.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "AI-powered left padding library that uses GPT to pad strings",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/tahayparker/vibeleftpad",
        "Issues": "https://github.com/tahayparker/vibeleftpad/issues",
        "Repository": "https://github.com/tahayparker/vibeleftpad"
    },
    "split_keywords": [
        "ai",
        " gpt",
        " leftpad",
        " padding",
        " parody",
        " string"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3562624eb87986fb91ca32632beadc19179d349cfd2e582f88bf31e8253557b8",
                "md5": "f64ad4248dda96e771e46cd23fd47f29",
                "sha256": "ce67120d3dceb75e10d4b777de286b67c15b3c303939a404ba1e655a8bf53fcf"
            },
            "downloads": -1,
            "filename": "vibeleftpad-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f64ad4248dda96e771e46cd23fd47f29",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 3706,
            "upload_time": "2025-08-10T07:30:23",
            "upload_time_iso_8601": "2025-08-10T07:30:23.273761Z",
            "url": "https://files.pythonhosted.org/packages/35/62/624eb87986fb91ca32632beadc19179d349cfd2e582f88bf31e8253557b8/vibeleftpad-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "94dfb84069c7dc9e3bb37d3688d9c0b6ecb6d6273b8e8534fab2da924b8643c5",
                "md5": "463b7ec6a55337ae5c3dca9ce47506af",
                "sha256": "9373db6382c9369086a6b12eb062cf7d4aae1992a6f488490fcb78158f2d349b"
            },
            "downloads": -1,
            "filename": "vibeleftpad-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "463b7ec6a55337ae5c3dca9ce47506af",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 3295,
            "upload_time": "2025-08-10T07:30:24",
            "upload_time_iso_8601": "2025-08-10T07:30:24.814498Z",
            "url": "https://files.pythonhosted.org/packages/94/df/b84069c7dc9e3bb37d3688d9c0b6ecb6d6273b8e8534fab2da924b8643c5/vibeleftpad-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-10 07:30:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tahayparker",
    "github_project": "vibeleftpad",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "openai",
            "specs": [
                [
                    ">=",
                    "1.95.1"
                ]
            ]
        },
        {
            "name": "pydantic",
            "specs": [
                [
                    ">=",
                    "2.11.7"
                ]
            ]
        },
        {
            "name": "typing-extensions",
            "specs": [
                [
                    ">=",
                    "4.14.1"
                ]
            ]
        }
    ],
    "lcname": "vibeleftpad"
}
        
Elapsed time: 0.64305s