yeref 0.24.52__py3-none-any.whl → 0.24.53__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
@@ -16140,7 +16140,7 @@ async def return_unit_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
|
|
16140
16140
|
|
16141
16141
|
months = ["2025-06", "2025-07", "2025-08", "2025-09"]
|
16142
16142
|
data_users = []
|
16143
|
-
for _ in range(
|
16143
|
+
for _ in range(20):
|
16144
16144
|
# дата входа
|
16145
16145
|
entry_month = random.choice(months)
|
16146
16146
|
entry_day = random.randint(1, 28)
|
@@ -16253,7 +16253,7 @@ async def return_unit_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
|
|
16253
16253
|
else:
|
16254
16254
|
LTV2 = None
|
16255
16255
|
|
16256
|
-
LTV1 = LTV2
|
16256
|
+
# LTV1 = LTV2
|
16257
16257
|
# CMGR: от первого месяца до текущего
|
16258
16258
|
if idx == 0 or first_mrr is None or first_mrr == 0:
|
16259
16259
|
CMGR = None
|
@@ -16270,6 +16270,7 @@ async def return_unit_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
|
|
16270
16270
|
"ARR": fmt(ARR),
|
16271
16271
|
"ChurnR": fmt(ChurnR),
|
16272
16272
|
"LTV1": fmt(LTV1),
|
16273
|
+
"LTV2": fmt(LTV2),
|
16273
16274
|
"CMGR": fmt(CMGR),
|
16274
16275
|
"CAC": ""
|
16275
16276
|
})
|
@@ -16277,11 +16278,11 @@ async def return_unit_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
|
|
16277
16278
|
path = os.path.join(EXTRA_D, "2_unit_metrics.csv")
|
16278
16279
|
with open(path, "w", newline="", encoding="utf-8") as f:
|
16279
16280
|
writer = csv.writer(f)
|
16280
|
-
writer.writerow(["MO", "N", "MRR", "ARPU", "ARR", "ChurnR", "LTV1", "CMGR", "CAC"])
|
16281
|
+
writer.writerow(["MO", "N", "MRR", "ARPU", "ARR", "ChurnR", "LTV1", "LTV2", "CMGR", "CAC"])
|
16281
16282
|
for row in results:
|
16282
16283
|
writer.writerow([
|
16283
16284
|
row["MO"], row["N"], row["MRR"], row["ARPU"], row["ARR"],
|
16284
|
-
row["ChurnR"], row["LTV1"], row["CMGR"], row["CAC"]
|
16285
|
+
row["ChurnR"], row["LTV1"], row["LTV2"], row["CMGR"], row["CAC"]
|
16285
16286
|
])
|
16286
16287
|
|
16287
16288
|
# отправить файл
|
@@ -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=sfpQr5kHLQWeqoRHnixG9sOWHM-EnrazdMP2To0kGHs,1043077
|
5
|
+
yeref-0.24.53.dist-info/METADATA,sha256=hptECoCYHNoEYRB2ex9g0RKqIopyd7jJgLiO4JFhwPo,119
|
6
|
+
yeref-0.24.53.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
yeref-0.24.53.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
+
yeref-0.24.53.dist-info/RECORD,,
|
yeref-0.24.52.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=t099dG-H2DR_N9MufyU6QqRQsJ1ZTT4xe7Iq4ZmNiFk,1043018
|
5
|
-
yeref-0.24.52.dist-info/METADATA,sha256=qtfFHYyEJdnxw1-7-Cs6nMfBewO8JZWvHfz2OppNSRY,119
|
6
|
-
yeref-0.24.52.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
yeref-0.24.52.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
-
yeref-0.24.52.dist-info/RECORD,,
|
File without changes
|
File without changes
|