Makes easy tasks easier
Project description
Thank you for using LocalLib! Below is a list of its defined functions:
locallib.pymath:
Contains simple math functions: add, subtract, multiply, and divide.
locallib.pygui:
Contains functions for sending notifications:
Notification(title, msg, dur, threaded=None):
For Windows 10. Sends a notification to the system notification bar.
If a threaded notification is desired, set threaded to True.
locallib.pystrs:
Contains functions for string editing:
Contains(string, substring):
Checks if a substring or char occurs in the specified string, and returns True or False.
TrimLastChar(string):
Returns a string with the last character removed from the given string.
TrimFirstChar(string):
Returns a string with the first character removed from the give string.
RemoveAt(string, index):
Returns an edited string with a character removed at the specified zero-based index.
Remove(string, char):
Returns a string with all occurrences of the specified character removed.
RemoveFirst(string, char):
Removes the first occurrence of the specified character from the given string and returns the new string.
RemoveLast(string, char):
Removes the last occurrence of the specified character from the given string and returns the new string.
RemoveRange(string, startindex, stopindex):
Removes a range of characters by index from the given string and returns the new string.
locallib.Bible:
Contains functions for Bible verse actions:
GetVerse(version, book, chap, verse):
Returns the specified verse from the given version, book, chapter, and verse. Currently, the only avaliable version is KJV.
Use it like so:
from locallib import Bible as B
verse = B.GetVerse('KJV', 'Genesis', 1, 1)
print(verse)
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
LocalLib-0.1.3.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file LocalLib-0.1.3.tar.gz
.
File metadata
- Download URL: LocalLib-0.1.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b915e552eb4cb3582e95e73c96c70466b4ef43a568ae3c0981e1d96e3ca7cc4f
|
|
MD5 |
1c25f94751a1f43f505fdfba13f61537
|
|
BLAKE2b-256 |
e4b50d27fc519a09dee4a0299806d007ba6aa8e84c236306f0aedbd49c134855
|
File details
Details for the file LocalLib-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: LocalLib-0.1.3-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9245e7f5199937ed22e5c326aef702cdd72c7c92030a4f9c4fb3f397e99983e8
|
|
MD5 |
38cb3daeb541c4eb0f77968f6e71b501
|
|
BLAKE2b-256 |
59f66b833b9592d40f124fc3d20c1724bde70bfb34814c37b71bc4bff73ef274
|