yeref 0.24.57__py3-none-any.whl → 0.24.59__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
@@ -16197,7 +16197,8 @@ async def return_unit_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
|
|
16197
16197
|
data_users.append((
|
16198
16198
|
random.randint(100000, 999999),
|
16199
16199
|
json.dumps({"USER_WALLET": wallet, "USER_UTM": utm, "USER_DT": entry_dt}),
|
16200
|
-
json.dumps({"USER_DAU": user_dau, "USER_MAU": user_mau, "USER_TXS": txs,
|
16200
|
+
json.dumps({"USER_DAU": user_dau, "USER_MAU": user_mau, "USER_TXS": txs,
|
16201
|
+
"USER_PAYMENTS": payments, "USER_STATUSES": USER_STATUSES})
|
16201
16202
|
))
|
16202
16203
|
print(f"gen {data_users=}")
|
16203
16204
|
|
@@ -16292,11 +16293,12 @@ async def return_unit_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
|
|
16292
16293
|
row["ChurnR"], row["LTV1"], row["LTV2"], row["CMGR"], row["CAC"]
|
16293
16294
|
])
|
16294
16295
|
|
16295
|
-
|
16296
|
-
if
|
16297
|
-
|
16296
|
+
cmgr = [float(r["CMGR"]) for r in results if r["CMGR"] != ""]
|
16297
|
+
if cmgr:
|
16298
|
+
factors = [1 + v for v in cmgr]
|
16299
|
+
avg = math.prod(factors) ** (1 / len(factors))
|
16298
16300
|
writer.writerow([])
|
16299
|
-
writer.writerow([f"
|
16301
|
+
writer.writerow([f"Rev ~ ×{round(avg, 2)} monthly"])
|
16300
16302
|
|
16301
16303
|
# отправить файл
|
16302
16304
|
thumb = types.FSInputFile(os.path.join(EXTRA_D, "parse.jpg"))
|
@@ -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=agNJ36MiGH-INGAhoaeSPgym6QO9nlJmrKf5ZObMZr0,1043932
|
5
|
+
yeref-0.24.59.dist-info/METADATA,sha256=klrdD5dBXpfBzMifbDoE3Vm79Z6FRhgZPOJyTSFHNQY,119
|
6
|
+
yeref-0.24.59.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
yeref-0.24.59.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
+
yeref-0.24.59.dist-info/RECORD,,
|
yeref-0.24.57.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=05aOhqSqWUNjoO2Bl8KA7vBlNt8Qmb1fHbKcaemfayQ,1043861
|
5
|
-
yeref-0.24.57.dist-info/METADATA,sha256=_kLYCr5Hvc8ehS3rufAPiecXPrfqpqMQYrqFeY_wjwE,119
|
6
|
-
yeref-0.24.57.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
yeref-0.24.57.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
-
yeref-0.24.57.dist-info/RECORD,,
|
File without changes
|
File without changes
|