yeref 0.24.44__py3-none-any.whl → 0.24.45__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
yeref/yeref.py
CHANGED
@@ -15953,6 +15953,7 @@ async def return_activity_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
|
|
15953
15953
|
seen_dau = set()
|
15954
15954
|
wallets_set = set()
|
15955
15955
|
users_set = set()
|
15956
|
+
pay_set = set()
|
15956
15957
|
|
15957
15958
|
def process_user_rows(rows, schema_name=""):
|
15958
15959
|
# months = ["2025-06", "2025-07", "2025-08", "2025-09"]
|
@@ -16043,6 +16044,7 @@ async def return_activity_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
|
|
16043
16044
|
last_key = list(last_status.keys())[0]
|
16044
16045
|
if last_key not in ['left', 'kicked']:
|
16045
16046
|
users_set.add(USER_TID)
|
16047
|
+
pay_set.add(USER_TID)
|
16046
16048
|
else:
|
16047
16049
|
users_set.add(USER_TID)
|
16048
16050
|
|
@@ -16062,16 +16064,22 @@ async def return_activity_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
|
|
16062
16064
|
if USER_WALLET:
|
16063
16065
|
metrics_by_month[month_key]["wallets"] += 1
|
16064
16066
|
|
16065
|
-
|
16066
|
-
|
16067
|
-
|
16068
|
-
|
16069
|
-
|
16070
|
-
|
16071
|
-
|
16072
|
-
|
16073
|
-
|
16074
|
-
|
16067
|
+
for it in USER_TXS:
|
16068
|
+
dt_start = it.get("DT_START", "")
|
16069
|
+
amount = int(it.get("AMOUNT", "0"))
|
16070
|
+
dt_tx = datetime.strptime(dt_start, "%d-%m-%Y_%H-%M-%S")
|
16071
|
+
month_key = dt_tx.strftime("%Y-%m")
|
16072
|
+
metrics_by_month[month_key]["tx"] += 1
|
16073
|
+
|
16074
|
+
for it in USER_PAYMENTS:
|
16075
|
+
dt_start = it.get("DT_START", "")
|
16076
|
+
amount = int(it.get("AMOUNT", "0"))
|
16077
|
+
dt_tx = datetime.strptime(dt_start, "%d-%m-%Y_%H-%M-%S")
|
16078
|
+
month_key = dt_tx.strftime("%Y-%m")
|
16079
|
+
metrics_by_month[month_key]["tx"] += 1
|
16080
|
+
|
16081
|
+
# metrics_by_month[month_key]["tx"] += len(USER_TXS)
|
16082
|
+
# metrics_by_month[month_key]["pay"] += len(USER_PAYMENTS)
|
16075
16083
|
|
16076
16084
|
if USER_DT:
|
16077
16085
|
dt_obj = datetime.strptime(USER_DT, "%d-%m-%Y_%H-%M-%S")
|
@@ -0,0 +1,8 @@
|
|
1
|
+
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
+
yeref/l_.py,sha256=LMX_olmJwq-tgoALJCnhV_fGrL_i_43yBLkLIcEVqGo,1176743
|
3
|
+
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
+
yeref/yeref.py,sha256=hXlYJap_OSiPqNcxebfzaI9gQXAOWexOZCM-DHrOFaU,1036295
|
5
|
+
yeref-0.24.45.dist-info/METADATA,sha256=oH1PRSgXYrjI2-rxst1wxtnvkIKg_nfwPH4idxBvrmw,119
|
6
|
+
yeref-0.24.45.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
yeref-0.24.45.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
+
yeref-0.24.45.dist-info/RECORD,,
|
yeref-0.24.44.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
-
yeref/l_.py,sha256=LMX_olmJwq-tgoALJCnhV_fGrL_i_43yBLkLIcEVqGo,1176743
|
3
|
-
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
-
yeref/yeref.py,sha256=HMkqoO9mzXB3OtE_3s2rtqfI0GnaiZOyb5twEq07PaE,1035956
|
5
|
-
yeref-0.24.44.dist-info/METADATA,sha256=GqjZ6h44GwuVWwlhdN32HBlXO6qrt0zjbWNHnkTzYTw,119
|
6
|
-
yeref-0.24.44.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
yeref-0.24.44.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
-
yeref-0.24.44.dist-info/RECORD,,
|
File without changes
|
File without changes
|