We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3def30b commit 0ca5ef8Copy full SHA for 0ca5ef8
pygorithm/string/__init__.py
@@ -0,0 +1,15 @@
1
+"""
2
+Collection of string methods and functions
3
4
+from . import anagram
5
+from . import pangram
6
+from . import isogram
7
+from . import modules
8
+from . import palindrome
9
+
10
+__all__ = [
11
+ 'anagram',
12
+ 'pangram',
13
+ 'isogram',
14
+ 'palindrome'
15
+]
pygorithm/string/modules.py
+import pkgutil
+def modules():
+ """
+ Find all functions in pygorithm.string
+ import pygorithm.string
+ package = pygorithm.string
+ modules = []
+ for importer, modname, ispkg in pkgutil.iter_modules(package.__path__):
+ modules.append(modname)
+ modules.remove('modules')
+ modules.sort()
+ return modules
0 commit comments