Python module for Sun Tzu's most popular quotes
Project description
pyofwar
Python library for Sun Tzu's most popular quotes
Most of the quotes were taken from the website quotefancy
Selected quotes
from pyofwar import pow
print("Sun Tzu once said...")
print(pow.quote(1, True))
outputs
Sun Tzu once said...
"Let your plans be dark and impenetrable as night, and when you move, fall like a thunderbolt."
Random quotes
from pyofwar import pow
print("Sun Tzu once said...")
print(pow.quote_random(2, False))
outputs
Sun Tzu once said...
Know thy self, know thy enemy.
If their forces are substantial, prepare for them; if their forces are strong, avoid them.
And if you want to limit the range of randomness
from pyofwar import pow
print("Sun Tzu once said...")
print(pow.quote_random(3, True, 0, 0))
outputs
Sun Tzu once said...
"Let your plans be dark and impenetrable as night, and when you move, fall like a thunderbolt."
"Let your plans be dark and impenetrable as night, and when you move, fall like a thunderbolt."
"Let your plans be dark and impenetrable as night, and when you move, fall like a thunderbolt."
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
pyofwar-1.0.0.tar.gz
(31.2 kB
view details)
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
pyofwar-1.0.0-py3-none-any.whl
(31.4 kB
view details)
File details
Details for the file pyofwar-1.0.0.tar.gz.
File metadata
- Download URL: pyofwar-1.0.0.tar.gz
- Upload date:
- Size: 31.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c5dfc7eaa858eccfd5148d71d7784be7b8b91805a23aee340a6c0f63bcba4df
|
|
| MD5 |
3cdf0adfbddaa71cc631cb20770c92d1
|
|
| BLAKE2b-256 |
23f3cc9f7c9c61cf79ab4d87d30de69dd41ac51e1de96a8161414d3bf8d06512
|
File details
Details for the file pyofwar-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pyofwar-1.0.0-py3-none-any.whl
- Upload date:
- Size: 31.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5649ca39c14214d2a737a9b8cb32b2c3a2575ac1b21afc482eb2e156d7df7982
|
|
| MD5 |
c3f7304519597e66b34f4f78cfc5f727
|
|
| BLAKE2b-256 |
20a720ca6e10773e87371fa45b0ab6ad88cef72d57e0753ddd963d4612298a11
|