Skip to main content

A simple CLI tool.

Project description

Yellow Banana

Yellow Banana is a simple Python package that echoes back a message and an environment variable.

Installation

Install the package using pip:

pip install yellow_banana

Usage

yellow_banana "Hello, World!"

Make sure to set the environment variable MY_ENV_VAR before running the command.

export MY_ENV_VAR="some_value"
yellow_banana "Hello, World!"

Development

  1. Clone the repository:

    git clone https://github.com/bloominstituteoftechnology/yellow_banana.git
    cd yellow_banana
    
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
    
  3. Install dependencies

    pip install -r requirements.txt
    
  4. Build and install the package:

    python setup.py sdist bdist_wheel
    pip install dist/yellow_banana-0.1.0-py3-none-any.whl
    
  5. Run the package:

    export MY_ENV_VAR="TestEnvironment"
    yellow_banana "Lady Gaga"
    

Publishing

  1. Make an account at Pypi and set up a token in your environment.

  2. Install Twine:

    pip install twine
    
  3. Build the app:

    python setup.py sdist bdist_wheel
    
  4. Upload to PyPI:

    twine upload dist/*
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yellow_banana-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yellow_banana-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file yellow_banana-0.1.0.tar.gz.

File metadata

  • Download URL: yellow_banana-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for yellow_banana-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7b216d36c5d37d36ab54aeee6611454fc5fb8577f52e89fd66615c8de7754300
MD5 5019db3f403d262d0db52c43eb2f5d40
BLAKE2b-256 5b2b91efd2c53dae718e65519120c624973a5519539bde6bee3b8d7d19bae690

See more details on using hashes here.

File details

Details for the file yellow_banana-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: yellow_banana-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for yellow_banana-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db9e8fcb9252c20995b98fb49c817687956d8e265a75bdf6237c298ad3c97d06
MD5 d17daaa43bbe681a12137431128d35a1
BLAKE2b-256 037e370ce80966f63e5b3943f422920699fcf58cf002f64247d6b07673ac9d00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page