Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for LocalLib, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size LocalLib-0.1.3-py3-none-any.whl (1.3 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size LocalLib-0.1.3.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page