Archived
1
0
Fork 0
Commit graph

23 commits

Author SHA1 Message Date
yzhh
c436271048 Update __init__.py 2023-01-20 15:43:52 +08:00
Dianliang233
bc827b7b61 Revert "Trim newline at the end"
This reverts commit 9ccffb65e7.
2023-01-20 15:28:17 +08:00
Dianliang233
869c57f8da Fix statistics 2023-01-20 15:03:41 +08:00
Dianliang233
9ccffb65e7 Trim newline at the end 2023-01-20 14:16:09 +08:00
yzhh
edf45c8322 Update __init__.py 2023-01-20 01:21:08 +08:00
yzhh
b62fae4ca9 Update __init__.py 2023-01-20 01:13:11 +08:00
yzhh
4453ec1198 Update calc.py 2023-01-20 00:45:30 +08:00
yzhh
8716f6cdc9 update 2023-01-20 00:45:15 +08:00
yzhh
6b1d03c5b0 Update __init__.py 2023-01-19 23:16:47 +08:00
yzhh
a098f73967 Update __init__.py 2023-01-19 23:16:32 +08:00
yzhh
68243b3d24 Update __init__.py 2023-01-19 23:12:02 +08:00
yzhh
f818d65978 Update __init__.py 2023-01-19 23:10:08 +08:00
yzhh
feacf66221 Create calc.py 2023-01-19 23:10:06 +08:00
Dianliang233
08f62ed315 Limit calc to superuser 2023-01-19 21:46:06 +08:00
Dianliang233
5e51466c86 Add statistics functions to calc 2023-01-19 19:52:05 +08:00
Dianliang233
75df878b01 Add hard cap for all math functions 2023-01-19 19:27:31 +08:00
Dianliang233
d28b0647fb Disable all math functions 2023-01-19 17:53:41 +08:00
Dianliang233
003784696b Wrap with async function
Finally now I can calc pi * (3 ** 2)
2023-01-19 17:09:56 +08:00
Dianliang233
430f56491c Fix await 2023-01-19 17:05:50 +08:00
Dianliang233
d63c609284 aio.timeout-> wait_for, ensure max compatibility 2023-01-19 17:03:47 +08:00
Dianliang233
43f6996955 Add Python math module functions to calc 2023-01-19 16:55:12 +08:00
yzhh
e00bace069 add NoReportException for calc module 2023-01-19 15:28:01 +08:00
Dianliang233
a81d91929b Introduce a saferish version of eval 2023-01-17 10:59:22 +08:00