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
-
Clone the repository:
git clone https://github.com/bloominstituteoftechnology/yellow_banana.git cd yellow_banana
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies
pip install -r requirements.txt
-
Build and install the package:
python setup.py sdist bdist_wheel pip install dist/yellow_banana-0.1.0-py3-none-any.whl
-
Run the package:
export MY_ENV_VAR="TestEnvironment" yellow_banana "Lady Gaga"
Publishing
-
Make an account at Pypi and set up a token in your environment.
-
Install Twine:
pip install twine
-
Build the app:
python setup.py sdist bdist_wheel
-
Upload to PyPI:
twine upload dist/*
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b216d36c5d37d36ab54aeee6611454fc5fb8577f52e89fd66615c8de7754300
|
|
| MD5 |
5019db3f403d262d0db52c43eb2f5d40
|
|
| BLAKE2b-256 |
5b2b91efd2c53dae718e65519120c624973a5519539bde6bee3b8d7d19bae690
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db9e8fcb9252c20995b98fb49c817687956d8e265a75bdf6237c298ad3c97d06
|
|
| MD5 |
d17daaa43bbe681a12137431128d35a1
|
|
| BLAKE2b-256 |
037e370ce80966f63e5b3943f422920699fcf58cf002f64247d6b07673ac9d00
|