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/
Metadata
Release files for leequotes 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| leequotes-0.0.9.tar.gz | 8.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| leequotes-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.2 kB
Release files / leequotes-0.0.9.tar.gz
| Download URL | leequotes-0.0.9.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c1a13782aba68cec165f36294d890b9ac0d79cfd72b6ee31806dcdf37b82f91
|
|
BLAKE2b-256 checksum How to use checksums |
719d91fcb89683c3f5caed47277d1cac88acd613a75cd1f9fd6c43c2a71fa0d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.4
|
Release files / leequotes-0.0.9-py3-none-any.whl
| Download URL | leequotes-0.0.9-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2fe50596abb18738f44fc4a26241fc096b176682965dd4cc004834cac1b3b67e
|
|
BLAKE2b-256 checksum How to use checksums |
2bc7473d9a58af502930d91c545604fa0606b5faa426ebd63ade66443d18b222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.4
|
Security for leequotes 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.