A Python library containing useful functions in the Algerian language
Project description
Package
A python library containing useful functions.
Installation:
pip install epydz
Example usage
from epydz import *
result = 5
lokan(result == 5, lambda: werili(result))
Functions:
werili: #takes any number of arguments and concatenates them into a string separated by sep. The resulting string is then printed to the console followed by end.
dekhel: #prompts the user for input and returns the user's response as a string.
lokan:# takes a boolean condition and a function result_fn. If condition is True, the function result_fn is called and its result is returned. Otherwise, None is returned.
ilokan: #similar to lokan, but returns a default value instead of None if the condition is false.
tsema: #returns a default value for use in ilokan.
akesam: #splits a string into a list of items based on a separator.
akelab: #returns a reversed list of items.
motawasit: #returns the average of a list of numbers.
nisf: #returns the median of a list of numbers
ahseb: #returns the number of words in a string.
dirr: #Loop for the specified maximum number (100) of iterations or until a non-None value is returned.
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 epydz-1.0.0.tar.gz.
File metadata
- Download URL: epydz-1.0.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f43aa552d13c3c2f8b4ea92d067f36fcf1aa7be9d75911e8e6658f4649153dfc
|
|
| MD5 |
52f3415ca47e68c431ef80388bef6202
|
|
| BLAKE2b-256 |
2bfe26b38c6a57b640c03acf6c741bfd38ad072813206fb980a54f2c2a7cec62
|
File details
Details for the file epydz-1.0.0-py3-none-any.whl.
File metadata
- Download URL: epydz-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74625968f6edfc304398b520378c73547603b2f02bb02882569284efb07506da
|
|
| MD5 |
050ae2023916c8b7a1083f1cab079d01
|
|
| BLAKE2b-256 |
42716d930a2a625d94796d1489021fde56776b6ad13782adac5ebfe93a7f6988
|