expr_tracker 0.1.2__tar.gz → 0.1.3__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: expr_tracker
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Add your description here
5
5
  Author-email: HSPK <whxway@whu.edu.cn>
6
6
  Requires-Python: >=3.10
@@ -12,6 +12,9 @@ dependencies = [
12
12
  ]
13
13
  dynamic = ["version"]
14
14
 
15
+ [project.scripts]
16
+ et = "expr_tracker.cli:main"
17
+
15
18
  [dependency-groups]
16
19
  dev = ["ipykernel>=6.30.1"]
17
20
 
@@ -0,0 +1,15 @@
1
+ import click
2
+ import expr_tracker as et
3
+
4
+
5
+ @click.group()
6
+ def main():
7
+ pass
8
+
9
+
10
+ @main.command()
11
+ @click.argument("msg")
12
+ @click.option("--title", default="Alert", help="Title of the alert")
13
+ @click.option("--level", default="info", help="Level of the alert")
14
+ def alert(msg: str, title: str = "Alert", level: str = "info"):
15
+ et.alert(title=title, text=msg, level=level)
@@ -288,7 +288,6 @@ wheels = [
288
288
 
289
289
  [[package]]
290
290
  name = "expr-tracker"
291
- version = "0.1.0"
292
291
  source = { editable = "." }
293
292
  dependencies = [
294
293
  { name = "jsonlines" },
@@ -306,7 +305,7 @@ dev = [
306
305
  requires-dist = [
307
306
  { name = "jsonlines", specifier = ">=4.0.0" },
308
307
  { name = "loguru", specifier = ">=0.7.3" },
309
- { name = "slark", specifier = ">=0.1.27" },
308
+ { name = "slark", specifier = ">=0.1.28" },
310
309
  { name = "wandb", specifier = ">=0.21.0" },
311
310
  ]
312
311
 
File without changes
File without changes