API Reference¶
Subpackages¶
py_pal.core¶
py_pal.datagen¶
- class py_pal.datagen.KeySelectionType[source]¶
Bases:
object
- LAST = 'last'¶
- MIDDLE = 'middle'¶
- NOT_INCLUDED = 'not included'¶
- RANDOM = 'random'¶
- py_pal.datagen.args_growing_graphs(_range=range(2, 20, 2), directed=True, p=0.5) → List[List[dict]][source]¶
Return list of arguments of random graphs with increasing amount of nodes.
- py_pal.datagen.args_growing_graphs_with_source(_range=range(2, 20, 2)) → List[List[networkx.classes.graph.Graph]][source]¶
Return list of arguments of path graphs with increasing amount of nodes and the first node as source node.
- py_pal.datagen.args_growing_lists(interval=range(- 10000, 10000), _range=range(10, 100, 10), sort=False) → List[List[Any]][source]¶
Return lists of arguments lists of random ints with increasing length.
- py_pal.datagen.args_growing_lists_with_search_key(interval=range(- 10000, 10000), _range=range(10, 100, 10), sort=False, key='not included')[source]¶
Return lists of arguments lists of random ints with increasing length and a search key.
- py_pal.datagen.args_re_growing_strings(expression, _range=range(10, 1000, 100), chars='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ') → List[List[str]][source]¶
Return lists of argument regular expression and strings with increasing length.
- py_pal.datagen.gen_growing_ints(_range=range(10, 100, 10))[source]¶
Return lists of argument ints with increasing value.
- py_pal.datagen.integers(n: int, _min: int, _max: int) → List[int][source]¶
Return sequence of N random integers between _min and _max (included).
- py_pal.datagen.large_integers(n: int) → List[int][source]¶
Return sequence of N large random integers.