Metadata-Version: 2.1
Name: yellow-banana
Version: 0.1.1
Summary: A simple CLI tool.
Home-page: https://github.com/bloominstituteoftechnology/yellow_banana
Author: Gabriel Cabrejas
Author-email: gabriel@cabrejas.net
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openai

# Yellow Banana

Yellow Banana is as a template for creating PyPI packages.

In order to create your own package, replace all occurrences of the word "yellow_banana" in the codebase, and rename the `yellow_banana` folder, to whatever you want your package to be called.

## Development

1. Clone the repository:

    ```bash
    git clone https://github.com/bloominstituteoftechnology/yellow_banana.git
    cd yellow_banana
    ```

2. Create and activate a virtual environment:

    ```bash
    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
    ```

3. Install dependencies

    ```bash
    pip install -r requirements.txt
    ```

4. Build and install the package:

    ```bash
    python setup.py sdist bdist_wheel
    pip install dist/yellow_banana-0.1.0-py3-none-any.whl
    ```

5. Run the package:

    ```bash
    export OPENAI_API_KEY="xyz"
    yellow_banana "What is the meaning of life?"
    ```

## Publishing

1. Make an account at [Pypi](https://pypi.org/) and set up their token in your environment.

2. Install Twine:

    ```bash
    pip install twine
    ```

3. Build the app:

    ```bash
    python setup.py sdist bdist_wheel
    ```

4. Upload to PyPI:

    ```bash
    twine upload dist/*
    ```

## Usage of the package

Install the package using pip:

```bash
pip install yellow_banana
```

Set your environment variable:

```bash
export OPENAI_API_KEY ="some_value"
```

Use the tool:

```bash
yellow_banana "What is the meaning of life?"
```


