Skip to main content

A tiny library that returns completely useless advice.

Project description

Useless Advice

Useless Advice is a small Python package and CLI that returns random, completely unhelpful advice.

Installation

Install from the project directory:

pip install .

For development:

pip install -e .[dev]

Python Usage

import useless_advice

print(useless_advice.__version__)
print(useless_advice.get_advice())

CLI Usage

Start the interactive CLI:

useless_advice

Print a fixed number of advice lines and exit:

useless_advice --count 3

Show the installed CLI version:

useless_advice --version

Development

Run the test suite:

pytest

Build distribution artifacts:

python -m build

Validate the built artifacts:

python -m twine check dist/*

Repository

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

useless_advice_looneyrichie-0.1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

useless_advice_looneyrichie-0.1.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for useless_advice_looneyrichie-0.1.0.tar.gz
Algorithm Hash digest
SHA256 990d4ae753b0f91c5ae95534d6f59cdee19b6af3c3ccac5179cb4778d4b3b84d
MD5 0c39d5da9482da3b00f515a56b5252de
BLAKE2b-256 88907e51e100c990ad15ca9560650298ee4e8261d5e438cc341e418cfe81128a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for useless_advice_looneyrichie-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6195ee527fba06f01a6645617b50af03a0370257c12b72ac869cd2d0014232b
MD5 0d8565dc3f33a41277af2ec7d1a81130
BLAKE2b-256 04310879685c4577d89d618675d0e77cf1f63d81f49f15fb23eb98ca8c59311e

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