isitfit
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: isitfit | ||
| Version: 0.20.9 | ||
| Version: 0.20.10 | ||
| Summary: Command-line tool to calculate excess AWS cloud resource capacity | ||
@@ -5,0 +5,0 @@ Home-page: https://gitlab.com/autofitcloud/isitfit |
@@ -1,1 +0,1 @@ | ||
| isitfit_version='0.20.9' | ||
| isitfit_version='0.20.10' |
@@ -47,3 +47,3 @@ import click | ||
| from isitfit.utils import display_footer | ||
| from isitfit.utils import display_footer, ask_feedback | ||
@@ -61,2 +61,3 @@ class IsitfitCommand(click.Command): | ||
| display_footer() | ||
| ask_feedback() | ||
| return ret | ||
@@ -63,0 +64,0 @@ except Exception as error: |
+26
-2
@@ -238,7 +238,33 @@ SECONDS_IN_ONE_DAY = 60*60*24 # 86400 # used for granularity (daily) | ||
| click.echo("❤️ Built by AutofitCloud https://www.autofitcloud.com") | ||
| click.echo("💬 Discord chat https://discord.gg/Z2YMDvx") | ||
| def ask_feedback(): | ||
| print("") | ||
| import click | ||
| a1 = click.prompt("How useful was this? (0: wtf, 1: useless, 2: IDK, 3: kind of, 4: epiphanic)", type=click.IntRange(0, 4)) | ||
| ping_matomo("/feedback?a1_usefulness=%i"%a1) | ||
| q2 = { | ||
| 0: "Seriously? Why?", | ||
| 1: "Is there no hope? What can be done?", | ||
| 2: "What would make things clearer?", | ||
| 3: "What can we improve?", | ||
| 4: "TBH, I wasn't expecting this. Really? Why?" | ||
| } | ||
| a2 = click.prompt(q2[a1]) | ||
| ping_matomo("/feedback?a2_why=%s"%a2) | ||
| a3a = click.confirm("Can we schedule a 10-minute phone call?") | ||
| ping_matomo("/feedback?a3a_can_we_call=%s"%b2l(a3a)) | ||
| a3b = None | ||
| a3c = None | ||
| if a3a: | ||
| a3b = click.prompt("Phone number with country code") | ||
| ping_matomo("/feedback?a3b_phone=%s"%a3b) | ||
| a3c = click.prompt("Best time to call (include timezone)") | ||
| ping_matomo("/feedback?a3c_time=%s"%a3c) | ||
| print("Thanks!") | ||
| def myreturn(df_xxx): | ||
@@ -409,4 +435,2 @@ if df_xxx.shape[0] > 0: | ||
| def prompt(self, emailTo): | ||
| from isitfit.utils import ping_matomo | ||
| if emailTo is not None: | ||
@@ -413,0 +437,0 @@ if len(emailTo) > 0: |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: isitfit | ||
| Version: 0.20.9 | ||
| Version: 0.20.10 | ||
| Summary: Command-line tool to calculate excess AWS cloud resource capacity | ||
@@ -5,0 +5,0 @@ Home-page: https://gitlab.com/autofitcloud/isitfit |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
379540
0.25%8689
0.29%