yeref 0.24.53__tar.gz → 0.24.55__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.24.53
3
+ Version: 0.24.55
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='yeref',
5
- version='0.24.53',
5
+ version='0.24.55',
6
6
  description='desc-f',
7
7
  author='john smith',
8
8
  packages=['yeref'],
@@ -16285,6 +16285,13 @@ async def return_unit_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
16285
16285
  row["ChurnR"], row["LTV1"], row["LTV2"], row["CMGR"], row["CAC"]
16286
16286
  ])
16287
16287
 
16288
+ cmgr_values = [float(row["CMGR"]) for row in results if row["CMGR"] != '']
16289
+ if cmgr_values:
16290
+ avg_cmgr = sum(cmgr_values) / len(cmgr_values)
16291
+ writer.writerow([])
16292
+ writer.writerow(
16293
+ [f"Every month, revenue multiplied by approximately {round(1 + avg_cmgr, 2)}× on average."])
16294
+
16288
16295
  # отправить файл
16289
16296
  thumb = types.FSInputFile(os.path.join(EXTRA_D, "parse.jpg"))
16290
16297
  await bot.send_document(chat_id=my_tid, document=types.FSInputFile(path), thumbnail=thumb)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.24.53
3
+ Version: 0.24.55
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
File without changes
File without changes
File without changes
File without changes
File without changes