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.4.tar.gz (51.2 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.4-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: joytide-0.0.4.tar.gz
  • Upload date:
  • Size: 51.2 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.4.tar.gz
Algorithm Hash digest
SHA256 527e72fba89d8dbfe7769a46b07e4d92043761ac9d2e268d69422a779e722fc6
MD5 abfe0e75779ea4a0da2dd67f059514b8
BLAKE2b-256 04cef1f8e7b278233145313a0158b600a6954d81da68f6c4e29fd3c3b831e3d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: joytide-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 35.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0255df5917cdf5164986c9b08a328c0e6fd10921dff494127d477b98d3740e23
MD5 8a8b87655e4f1ebfdbb2c50401757cfa
BLAKE2b-256 4a72d719c3b9fad6bc0f4dff391c2813b90de309e91294ac8fe63aa3dc90691d

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