gohumanloop 0.0.1__py3-none-any.whl → 0.0.3__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.
File without changes
@@ -0,0 +1,29 @@
1
+ import os
2
+
3
+ from dotenv import load_dotenv
4
+ import click
5
+
6
+ load_dotenv(dotenv_path=os.path.join(os.getcwd(), ".env"))
7
+
8
+
9
+ @click.group(name="gohumanloop")
10
+ def cli() -> None:
11
+ pass
12
+
13
+
14
+ @cli.command(
15
+ "check",
16
+ help="""Check if gohumanloop library is installed""",
17
+ )
18
+ def cli_check() -> None:
19
+ try:
20
+ import gohumanloop
21
+ click.echo("gohumanloop library is successfully installed!")
22
+ click.echo(f"Version: {gohumanloop.__version__ if hasattr(gohumanloop, '__version__') else 'Unknown'}")
23
+ except ImportError:
24
+ click.echo("Error: gohumanloop library is not installed or cannot be imported.")
25
+ click.echo("Please use 'pip install gohumanloop' to install the library.")
26
+
27
+
28
+ if __name__ == "__main__":
29
+ cli()
File without changes