Skip to main content

A fun Python package by team_riptide with random playful helpers.

Project description

CI / CD
PyPI: https://pypi.org/project/joytide/

joytide

joytide is a small python package with random fun helpers to help de-stress after hours of serious coding. each function can be visually changed with different inputs. the main way to use it is the CLI.

team members

install

requires python 3.10 or higher

pip install joytide
# if pip is not on PATH:
python -m pip install joytide
# windows:
py -m pip install joytide

CLI

Banner

print an ASCII banner.

usage

joytide banner TEXT [--border "*" ] [--padding 1] [--align left|center|right]
# if console script isn't on PATH:
python -m joytide banner TEXT --border "#" --padding 2 --align right
py -m joytide banner "team_riptide"   # windows

examples

joytide banner "hello"
joytide banner "team_riptide" --border "##"
joytide banner "left"  --padding 2 --align left
joytide banner "right" --border "<>" --align right

Art

Print ASCII art with a chosen theme and size.

Usage

joytide art [--theme animal|nature|tech|random] [--size small|large]
# if console script isn't on PATH:
python -m joytide art --theme animal --size large
py -m joytide art --theme tech  #windows

examples

joytide art
joytide art --theme animal
joytide art --theme nature --size large
joytide art --theme tech --size small
joytide art --theme random --size large

Put each of your functions here with examples

example program for all functions

a short demo that calls each function is in examples/demo.py.

python demo.py
py demo.py

how to contribute

we use pipenv for development.

python -m pip install --user pipenv
pipenv install --dev
pipenv install -e .
pipenv run python -m pytest -v

build the package manually if needed:

pipenv run python -m build .

testing

each function should have tests for a normal case, an edge case, and an invalid input case.

pipenv run python -m pytest -v

CI / CD

  • pull requests run tests on python 3.11 and 3.12
  • merges to main build the package and publish to PyPI using twine via GitHub Actions (pypa/gh-action-pypi-publish)

configuration

no environment variables or secret config files are required. no database or starter data is needed. works on mac, windows, and linux.

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

joytide-0.0.3.tar.gz (49.3 kB view details)

Uploaded Source

Built Distribution

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

joytide-0.0.3-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

Details for the file joytide-0.0.3.tar.gz.

File metadata

  • Download URL: joytide-0.0.3.tar.gz
  • Upload date:
  • Size: 49.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for joytide-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c10066274f8d774029982801508e72559bfc64768b72a11182519b4d2cce47b9
MD5 179365a09132847ff9e63dea029fce1b
BLAKE2b-256 525b88743d1983cd69f36aab73cc384c98237ed43bf1a3ef9bc94eaa6d64a4e8

See more details on using hashes here.

File details

Details for the file joytide-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: joytide-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 35.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for joytide-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fe77de7cbe213f873c8fcef6209fa20aff952eb41480355ce7ebbeffe9213da8
MD5 6e99cb69fe286b7221b4b72f9e9685ef
BLAKE2b-256 641ff03e4bcb20ec4db00905f00d5914c7fdee3624523c1447728ae561bad1d5

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