A python package that provides Bruce Lee quotes
Project description
leequotes
A python package that provides Bruce Lee quotes
A simple website showcasing the leequotes lib is available at http://lxnd.pythonanywhere.com/
How to install
From a terminal, run the following command:
# Create a virtual environment
python -m venv venv
# Activate the virtual environment
source venv/bin/activate
# Install the package
pip install leequotes
How to use
Here is a minimal example of how to use the package:
from leequotes import leequotes
quote = leequotes.random()
print(quote)
How to update the package (for clients)
To update the package, run the following command:
pip intall --upgrade leequotes
How to update the package (for maintainers)
Once the modification is developed :
- Increment the version in
pyproject.toml - Run
python -m buildto build the package - Delete the old builds in the
distfolder (if any) - Run
twine upload dist/*to upload the builds on PyPI
Notes :
- Once uploaded, the package is immutable. If you need to make changes, you will need to increment the version again.
- To test the package locally, you can run
pip install dist/<the-local-build>.whl
Useful links
- The google sheet where the quotes are maintained : https://docs.google.com/spreadsheets/d/1PbIU9R8N4NF8xAjC81YHqXPQumMo0bNEnzSHMo7K3v4
- The live demo : http://lxnd.pythonanywhere.com/
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 leequotes-0.0.9.tar.gz.
File metadata
- Download URL: leequotes-0.0.9.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c1a13782aba68cec165f36294d890b9ac0d79cfd72b6ee31806dcdf37b82f91
|
|
| MD5 |
d04f958483f9fd803c5e9bfbdc12d490
|
|
| BLAKE2b-256 |
719d91fcb89683c3f5caed47277d1cac88acd613a75cd1f9fd6c43c2a71fa0d9
|
File details
Details for the file leequotes-0.0.9-py3-none-any.whl.
File metadata
- Download URL: leequotes-0.0.9-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fe50596abb18738f44fc4a26241fc096b176682965dd4cc004834cac1b3b67e
|
|
| MD5 |
6a3b26b1e3259acef8191d3ec03dcf92
|
|
| BLAKE2b-256 |
2bc7473d9a58af502930d91c545604fa0606b5faa426ebd63ade66443d18b222
|