catscript 1.1.0__tar.gz → 1.4.0__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.
@@ -0,0 +1,7 @@
1
+ .PHONY: default
2
+
3
+ default:
4
+ rm -rf dist
5
+ python -m build
6
+ python -m twine upload dist/*
7
+ pip install --upgrade catscript
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: catscript
3
- Version: 1.1.0
3
+ Version: 1.4.0
4
4
  Summary: The typing library of CatScript
5
5
  Project-URL: Homepage, https://catscript.app
6
6
  Author-email: 0x530c <0x530c@gmail.com>
@@ -9,7 +9,7 @@ exclude = [
9
9
 
10
10
  [project]
11
11
  name = "catscript"
12
- version = "1.1.0"
12
+ version = "1.4.0"
13
13
  authors = [{ name = "0x530c", email = "0x530c@gmail.com" }]
14
14
  description = "The typing library of CatScript"
15
15
  readme = "README.md"
@@ -1,3 +1,7 @@
1
+ def battery_level() -> float:
2
+ return 0.0
3
+
4
+
1
5
  def ip() -> str:
2
6
  return ""
3
7
 
@@ -6,9 +6,21 @@ def execute(command: str) -> str:
6
6
  return ""
7
7
 
8
8
 
9
+ def log(object: object) -> None:
10
+ pass
11
+
12
+
13
+ def open_url(url: str) -> None:
14
+ pass
15
+
16
+
9
17
  def paste(text: str) -> None:
10
18
  pass
11
19
 
12
20
 
21
+ def play_sound(id: int) -> None:
22
+ pass
23
+
24
+
13
25
  def toast(text: str, ms: int) -> None:
14
26
  pass
catscript-1.1.0/Makefile DELETED
@@ -1,4 +0,0 @@
1
- upload:
2
- rm -rf dist
3
- python -m build
4
- python -m twine upload dist/*
File without changes
File without changes
File without changes