midea-iot 0.0.1__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.
- midea_iot-0.0.1/.gitignore +5 -0
- midea_iot-0.0.1/PKG-INFO +41 -0
- midea_iot-0.0.1/README.md +28 -0
- midea_iot-0.0.1/pyproject.toml +28 -0
- midea_iot-0.0.1/src/midea_iot/__init__.py +15 -0
midea_iot-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: midea-iot
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: A minimal Hello World package for the midea-iot project.
|
|
5
|
+
Project-URL: Homepage, https://pypi.org/project/midea-iot/
|
|
6
|
+
Author: midea-iot
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Classifier: Development Status :: 1 - Planning
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
+
Requires-Python: >=3.9
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# midea-iot
|
|
15
|
+
|
|
16
|
+
A minimal Hello World package for the independent `midea-iot` project.
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
from midea_iot import hello
|
|
20
|
+
|
|
21
|
+
print(hello())
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Or run the installed command:
|
|
25
|
+
|
|
26
|
+
```console
|
|
27
|
+
midea-iot
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Build and publish
|
|
31
|
+
|
|
32
|
+
The package version is defined in `pyproject.toml` under `[project]`.
|
|
33
|
+
|
|
34
|
+
```console
|
|
35
|
+
uv build
|
|
36
|
+
uv publish dist/*
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
For the first upload, authenticate with an account-wide PyPI API token or use a
|
|
40
|
+
pending Trusted Publisher configured on PyPI. Never commit an API token to this
|
|
41
|
+
repository.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# midea-iot
|
|
2
|
+
|
|
3
|
+
A minimal Hello World package for the independent `midea-iot` project.
|
|
4
|
+
|
|
5
|
+
```python
|
|
6
|
+
from midea_iot import hello
|
|
7
|
+
|
|
8
|
+
print(hello())
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or run the installed command:
|
|
12
|
+
|
|
13
|
+
```console
|
|
14
|
+
midea-iot
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Build and publish
|
|
18
|
+
|
|
19
|
+
The package version is defined in `pyproject.toml` under `[project]`.
|
|
20
|
+
|
|
21
|
+
```console
|
|
22
|
+
uv build
|
|
23
|
+
uv publish dist/*
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
For the first upload, authenticate with an account-wide PyPI API token or use a
|
|
27
|
+
pending Trusted Publisher configured on PyPI. Never commit an API token to this
|
|
28
|
+
repository.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling>=1.27"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "midea-iot"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "A minimal Hello World package for the midea-iot project."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "midea-iot" },
|
|
14
|
+
]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Development Status :: 1 - Planning",
|
|
17
|
+
"Programming Language :: Python :: 3",
|
|
18
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[project.scripts]
|
|
22
|
+
midea-iot = "midea_iot:main"
|
|
23
|
+
|
|
24
|
+
[project.urls]
|
|
25
|
+
Homepage = "https://pypi.org/project/midea-iot/"
|
|
26
|
+
|
|
27
|
+
[tool.hatch.build.targets.wheel]
|
|
28
|
+
packages = ["src/midea_iot"]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""A minimal Hello World package for midea-iot."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import version
|
|
4
|
+
|
|
5
|
+
__version__ = version("midea-iot")
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def hello() -> str:
|
|
9
|
+
"""Return the package greeting."""
|
|
10
|
+
return "Hello from midea-iot!"
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def main() -> None:
|
|
14
|
+
"""Print the package greeting."""
|
|
15
|
+
print(hello())
|