Current collected state Current
Observed since 20 Oct, 20:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Aspect-oriented programming
import advice
def multiply(context):
print(context.args)
print(context.kwargs)
yield
context.result *= 100
advice.register(
handler=multiply,
modules=advice.match(equals='math'),
targets=advice.match(regexp='(sin|cos)')
)
Ok, let's check:
In [2]: import math
In [3]: math.cos(0)
(0,)
{}
Out[3]: 100.0
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 17 Aug 2018 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:bea86ba3c0b3698fb51cf2d668e36c716bb8b9a8ac96480035e4b5b817072c00