General Abstract Meta Programming for Python

tags 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
  2. !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
  3. !_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
  4. !_TAG_PROGRAM_NAME Exuberant Ctags //
  5. !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
  6. !_TAG_PROGRAM_VERSION 5.9~svn20110310 //
  7. Advice gampy/structures.py /^Advice = Callable[[Function], Function]$/;" v
  8. Args gampy/structures.py /^Args = Sequence$/;" v
  9. CompositionError gampy/errors.py /^class CompositionError(Error):$/;" c
  10. DefinitionError gampy/errors.py /^class DefinitionError(Error):$/;" c
  11. Error gampy/errors.py /^class Error(Exception):$/;" c
  12. Function gampy/structures.py /^Function = Callable$/;" v
  13. Kwargs gampy/structures.py /^Kwargs = Mapping$/;" v
  14. P0 tests/test_structures.py /^P0 = Pipeline([(map, [inc], {}), (filter, [iseven]), (list,)])$/;" v
  15. P00 tests/test_structures.py /^P00 = Pipeline([(map, [inc])])$/;" v
  16. P01 tests/test_structures.py /^P01 = Pipeline([(filter, [iseven])])$/;" v
  17. P02 tests/test_structures.py /^P02 = Pipeline([list])$/;" v
  18. P1 tests/test_structures.py /^P1 = Pipeline([(reduce, [add])])$/;" v
  19. PartialStep gampy/structures.py /^PartialStep = Union[Function, Sequence]$/;" v
  20. Pipeline gampy/structures.py /^class Pipeline:$/;" c
  21. Step gampy/structures.py /^Step = Tuple[Function, Args, Kwargs]$/;" v
  22. __add__ gampy/structures.py /^ def __add__(self, other: "Pipeline") -> "Pipeline":$/;" m class:Pipeline file:
  23. __and__ gampy/structures.py /^ def __and__(self, other: "Pipeline") -> "Pipeline":$/;" m class:Pipeline file:
  24. __bool__ gampy/structures.py /^ def __bool__(self) -> bool:$/;" m class:Pipeline file:
  25. __call__ gampy/structures.py /^ def __call__(self) -> Callable:$/;" m class:Pipeline file:
  26. __contains__ gampy/structures.py /^ def __contains__(self, step: Step) -> bool:$/;" m class:Pipeline file:
  27. __enter__ gampy/structures.py /^ def __enter__(self) -> Sequence[Step]:$/;" m class:Pipeline file:
  28. __eq__ gampy/structures.py /^ def __eq__(self, other) -> bool:$/;" m class:Pipeline file:
  29. __exit__ gampy/structures.py /^ def __exit__(self, exc_type, exc_value, traceback) -> None:$/;" m class:Pipeline file:
  30. __floordiv__ gampy/structures.py /^ def __floordiv__(self, n: int) -> Sequence["Pipeline"]:$/;" m class:Pipeline file:
  31. __ge__ gampy/structures.py /^ def __ge__(self, other: "Pipeline") -> bool:$/;" m class:Pipeline file:
  32. __getitem__ gampy/structures.py /^ def __getitem__(self, n: int) -> Step:$/;" m class:Pipeline file:
  33. __gt__ gampy/structures.py /^ def __gt__(self, other: "Pipeline") -> bool:$/;" m class:Pipeline file:
  34. __hash__ gampy/structures.py /^ def __hash__(self) -> int:$/;" m class:Pipeline file:
  35. __init__ gampy/structures.py /^ def __init__(self, steps: Iterable) -> None:$/;" m class:Pipeline
  36. __iter__ gampy/structures.py /^ def __iter__(self) -> Iterable[Step]:$/;" m class:Pipeline file:
  37. __le__ gampy/structures.py /^ def __le__(self, other: "Pipeline") -> bool:$/;" m class:Pipeline file:
  38. __len__ gampy/structures.py /^ def __len__(self) -> int:$/;" m class:Pipeline file:
  39. __lshift__ gampy/structures.py /^ def __lshift__(self, other: "Pipeline") -> bool:$/;" m class:Pipeline file:
  40. __lt__ gampy/structures.py /^ def __lt__(self, other: "Pipeline") -> bool:$/;" m class:Pipeline file:
  41. __matmul__ gampy/structures.py /^ def __matmul__(self, advice: Advice) -> "Pipeline":$/;" m class:Pipeline file:
  42. __mod__ gampy/structures.py /^ def __mod__(self, other: "Pipeline") -> "Pipeline":$/;" m class:Pipeline file:
  43. __mul__ gampy/structures.py /^ def __mul__(self, n: int) -> "Pipeline":$/;" m class:Pipeline file:
  44. __ne__ gampy/structures.py /^ def __ne__(self, other) -> bool:$/;" m class:Pipeline file:
  45. __or__ gampy/structures.py /^ def __or__(self, f: Callable) -> "Pipeline":$/;" m class:Pipeline file:
  46. __pow__ gampy/structures.py /^ def __pow__(self, other: "Pipeline") -> bool:$/;" m class:Pipeline file:
  47. __repr__ gampy/structures.py /^ def __repr__(self) -> str:$/;" m class:Pipeline file:
  48. __reversed__ gampy/structures.py /^ def __reversed__(self) -> "Pipeline":$/;" m class:Pipeline file:
  49. __rshift__ gampy/structures.py /^ def __rshift__(self, other: "Pipeline") -> bool:$/;" m class:Pipeline file:
  50. __str__ gampy/structures.py /^ def __str__(self) -> str:$/;" m class:Pipeline file:
  51. __sub__ gampy/structures.py /^ def __sub__(self, other: "Pipeline") -> "Pipeline":$/;" m class:Pipeline file:
  52. __truediv__ gampy/structures.py /^ def __truediv__(self, n: int) -> Sequence["Pipeline"]:$/;" m class:Pipeline file:
  53. __xor__ gampy/structures.py /^ def __xor__(self, other: "Pipeline") -> "Pipeline":$/;" m class:Pipeline file:
  54. add tests/test_structures.py /^def add(a, b):$/;" f
  55. advice gampy/advices.py /^ def advice(f):$/;" f function:constable
  56. advice gampy/advices.py /^ def advice(f):$/;" f function:exceptional
  57. advice gampy/advices.py /^ def advice(f):$/;" f function:flippable
  58. advice gampy/advices.py /^ def advice(f):$/;" f function:fluentable
  59. advice gampy/advices.py /^ def advice(f):$/;" f function:identical
  60. advice gampy/advices.py /^ def advice(f):$/;" f function:loggable
  61. advice gampy/advices.py /^ def advice(f):$/;" f function:optional
  62. advice gampy/advices.py /^ def advice(f):$/;" f function:postable
  63. advice gampy/advices.py /^ def advice(f):$/;" f function:preable
  64. advice gampy/advices.py /^ def advice(f):$/;" f function:retryable
  65. advice gampy/advices.py /^ def advice(f):$/;" f function:traceable
  66. advice tests/test_structures.py /^ def advice(f):$/;" f function:test_matmul
  67. author setup.py /^ author="Médéric Hurier",$/;" v
  68. author_email setup.py /^ author_email="dev@fmind.me",$/;" v
  69. c editors/jupyterlab.py /^c = get_config()$/;" v
  70. c ipython.py /^c = get_config()$/;" v
  71. c jupyterlab.py /^c = get_config()$/;" v
  72. c shells/ipython.py /^c = get_config()$/;" v
  73. cacheable gampy/advices.py /^def cacheable(n: int = 128, typed: bool = False) -> Advice:$/;" f
  74. classifiers setup.py /^ classifiers=[$/;" v
  75. comp gampy/structures.py /^ def comp(f, g):$/;" f function:Pipeline.__call__
  76. composition gampy/structures.py /^ def composition(*args, **kwargs):$/;" f function:Pipeline.__call__.comp
  77. constable gampy/advices.py /^def constable(x: Any = None) -> Advice:$/;" f
  78. description setup.py /^ description="General Abstract Meta Programming for Python",$/;" v
  79. div10 tests/test_advices.py /^div10 = lambda x: 10 \/ x$/;" v
  80. exceptional gampy/advices.py /^def exceptional(x: Any = None, on: Type[Exception] = Exception) -> Advice:$/;" f
  81. extras_require setup.py /^ extras_require={$/;" v
  82. flippable gampy/advices.py /^def flippable() -> Advice:$/;" f
  83. fluentable gampy/advices.py /^def fluentable(n: int = 0) -> Advice:$/;" f
  84. gdict tests/test_advices.py /^gdict = lambda x: {0: 0, 1: 1}.get(x)$/;" v
  85. identical gampy/advices.py /^def identical() -> Advice:$/;" f
  86. inc tests/test_structures.py /^def inc(x):$/;" f
  87. info setup.py /^info = dict($/;" v
  88. install_requires setup.py /^ install_requires=requires(),$/;" v
  89. iseven tests/test_structures.py /^def iseven(x):$/;" f
  90. keywords setup.py /^ keywords="general abstract meta programming",$/;" v
  91. license setup.py /^ license="AGPL-3.0",$/;" v
  92. loggable gampy/advices.py /^def loggable($/;" f
  93. long_description setup.py /^ long_description=open("README.md", "r").read(),$/;" v
  94. long_description_content_type setup.py /^ long_description_content_type="text\/markdown",$/;" v
  95. name setup.py /^ name="gampy",$/;" v
  96. optional gampy/advices.py /^def optional(x: Any) -> Advice:$/;" f
  97. packages setup.py /^ packages=["gampy"],$/;" v
  98. part gampy/structures.py /^ def part(step):$/;" f function:Pipeline.__call__
  99. post_save_hook editors/jupyterlab.py /^def post_save_hook(model, os_path, contents_manager):$/;" f
  100. post_save_hook jupyterlab.py /^def post_save_hook(model, os_path, contents_manager):$/;" f
  101. postable gampy/advices.py /^def postable(do: Callable[[], None]) -> Advice:$/;" f
  102. preable gampy/advices.py /^def preable(do: Callable[[], None]) -> Advice:$/;" f
  103. requires setup.py /^def requires(requirements="requirements.txt"):$/;" f
  104. retryable gampy/advices.py /^def retryable($/;" f
  105. root setup.py /^root = os.path.abspath(os.path.dirname(__file__))$/;" v
  106. steps gampy/structures.py /^ def steps(self) -> Sequence[Step]:$/;" m class:Pipeline
  107. steps gampy/structures.py /^ def steps(self, steps: Iterable[PartialStep]) -> None:$/;" m class:Pipeline
  108. test_add tests/test_structures.py /^def test_add():$/;" f
  109. test_advices tests/test_gampy.py /^def test_advices():$/;" f
  110. test_and tests/test_structures.py /^def test_and():$/;" f
  111. test_bool tests/test_structures.py /^def test_bool():$/;" f
  112. test_cacheable tests/test_advices.py /^def test_cacheable():$/;" f
  113. test_call tests/test_structures.py /^def test_call():$/;" f
  114. test_constable tests/test_advices.py /^def test_constable():$/;" f
  115. test_contains tests/test_structures.py /^def test_contains():$/;" f
  116. test_context tests/test_structures.py /^def test_context():$/;" f
  117. test_eq tests/test_structures.py /^def test_eq():$/;" f
  118. test_exceptional tests/test_advices.py /^def test_exceptional():$/;" f
  119. test_flippable tests/test_advices.py /^def test_flippable():$/;" f
  120. test_floordiv tests/test_structures.py /^def test_floordiv():$/;" f
  121. test_fluentable tests/test_advices.py /^def test_fluentable():$/;" f
  122. test_ge tests/test_structures.py /^def test_ge():$/;" f
  123. test_getitem tests/test_structures.py /^def test_getitem():$/;" f
  124. test_getter tests/test_structures.py /^def test_getter():$/;" f
  125. test_gt tests/test_structures.py /^def test_gt():$/;" f
  126. test_hash tests/test_structures.py /^def test_hash():$/;" f
  127. test_identical tests/test_advices.py /^def test_identical():$/;" f
  128. test_init tests/test_structures.py /^def test_init():$/;" f
  129. test_iter tests/test_structures.py /^def test_iter():$/;" f
  130. test_le tests/test_structures.py /^def test_le():$/;" f
  131. test_len tests/test_structures.py /^def test_len():$/;" f
  132. test_loggable tests/test_advices.py /^def test_loggable():$/;" f
  133. test_lshift tests/test_structures.py /^def test_lshift():$/;" f
  134. test_lt tests/test_structures.py /^def test_lt():$/;" f
  135. test_matmul tests/test_structures.py /^def test_matmul():$/;" f
  136. test_mod tests/test_structures.py /^def test_mod():$/;" f
  137. test_mul tests/test_structures.py /^def test_mul():$/;" f
  138. test_ne tests/test_structures.py /^def test_ne():$/;" f
  139. test_optional tests/test_advices.py /^def test_optional():$/;" f
  140. test_or tests/test_structures.py /^def test_or():$/;" f
  141. test_pipeline tests/test_gampy.py /^def test_pipeline():$/;" f
  142. test_postable tests/test_advices.py /^def test_postable():$/;" f
  143. test_pow tests/test_structures.py /^def test_pow():$/;" f
  144. test_preable tests/test_advices.py /^def test_preable():$/;" f
  145. test_repr tests/test_structures.py /^def test_repr():$/;" f
  146. test_retryable tests/test_advices.py /^def test_retryable():$/;" f
  147. test_reversed tests/test_structures.py /^def test_reversed():$/;" f
  148. test_rshift tests/test_structures.py /^def test_rshift():$/;" f
  149. test_setter tests/test_structures.py /^def test_setter():$/;" f
  150. test_str tests/test_structures.py /^def test_str():$/;" f
  151. test_sub tests/test_structures.py /^def test_sub():$/;" f
  152. test_traceable tests/test_advices.py /^def test_traceable():$/;" f
  153. test_truediv tests/test_structures.py /^def test_truediv():$/;" f
  154. test_xor tests/test_structures.py /^def test_xor():$/;" f
  155. traceable gampy/advices.py /^def traceable($/;" f
  156. url setup.py /^ url="https:\/\/git.fmind.me\/fmind\/gampy",$/;" v
  157. version setup.py /^ version="1.0.1",$/;" v
  158. wrapped gampy/advices.py /^ def wrapped(*_, **__):$/;" f function:constable.advice
  159. wrapped gampy/advices.py /^ def wrapped(*args, **kwargs):$/;" f function:exceptional.advice
  160. wrapped gampy/advices.py /^ def wrapped(*args, **kwargs):$/;" f function:flippable.advice
  161. wrapped gampy/advices.py /^ def wrapped(*args, **kwargs):$/;" f function:fluentable.advice
  162. wrapped gampy/advices.py /^ def wrapped(*args, **kwargs):$/;" f function:loggable.advice
  163. wrapped gampy/advices.py /^ def wrapped(*args, **kwargs):$/;" f function:optional.advice
  164. wrapped gampy/advices.py /^ def wrapped(*args, **kwargs):$/;" f function:postable.advice
  165. wrapped gampy/advices.py /^ def wrapped(*args, **kwargs):$/;" f function:preable.advice
  166. wrapped gampy/advices.py /^ def wrapped(*args, **kwargs):$/;" f function:retryable.advice
  167. wrapped gampy/advices.py /^ def wrapped(*args, **kwargs):$/;" f function:traceable.advice
  168. wrapped tests/test_structures.py /^ def wrapped(*args, **kwargs):$/;" f function:test_matmul.advice