uphy 0.1.0.dev2794__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,5 @@
1
+ Copyright rt-labs AB, Sweden.
2
+ All rights reserved.
3
+
4
+ You may not use this software in a commercial product without
5
+ purchasing a license. Contact sales@rt-labs.com for more information.
@@ -0,0 +1,24 @@
1
+ Metadata-Version: 2.1
2
+ Name: uphy
3
+ Version: 0.1.0.dev2794
4
+ Author-email: RT-Labs <support@rt-labs.com>
5
+ License: Copyright rt-labs AB, Sweden.
6
+ All rights reserved.
7
+
8
+ You may not use this software in a commercial product without
9
+ purchasing a license. Contact sales@rt-labs.com for more information.
10
+
11
+ Project-URL: RT-Labs, https://rt-labs.com
12
+ Project-URL: U-Phy, https://rt-labs.com/u-phy
13
+ Project-URL: Documentation, https://docs.rt-labs.com/u-phy
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE.txt
16
+ Requires-Dist: typer>=0.12.5
17
+ Requires-Dist: uphy-device>=0.1.0.dev0
18
+ Requires-Dist: uphy-controller>=0.1.0.dev0
19
+
20
+ # U-Phy
21
+
22
+ One software, All protocols.
23
+
24
+ Command line tooling for working with U-Phy based devices.
@@ -0,0 +1,5 @@
1
+ # U-Phy
2
+
3
+ One software, All protocols.
4
+
5
+ Command line tooling for working with U-Phy based devices.
@@ -0,0 +1,21 @@
1
+ [project]
2
+ name="uphy"
3
+ version="0.1.0.dev2794"
4
+ authors = [
5
+ {name="RT-Labs", email="support@rt-labs.com"}
6
+ ]
7
+ readme = "README.md"
8
+ license = { file = "LICENSE.txt" }
9
+ dependencies = [
10
+ "typer>=0.12.5",
11
+ "uphy-device>=0.1.0.dev0",
12
+ "uphy-controller>=0.1.0.dev0"
13
+ ]
14
+
15
+ [project.scripts]
16
+ uphy = "uphy.cli.__main__:app"
17
+
18
+ [project.urls]
19
+ RT-Labs = "https://rt-labs.com"
20
+ U-Phy = "https://rt-labs.com/u-phy"
21
+ Documentation = "https://docs.rt-labs.com/u-phy"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,2 @@
1
+ # This is a namespace package to hold on to uphy namespace
2
+ __path__ = __import__("pkgutil").extend_path(__path__, __name__)
File without changes
@@ -0,0 +1,28 @@
1
+ import typer
2
+ import logging
3
+ from importlib.metadata import entry_points
4
+ from importlib import import_module
5
+
6
+ app = typer.Typer(pretty_exceptions_enable=False, no_args_is_help=True, name="uphy", help="U-Phy command line tools")
7
+ LOG = logging.getLogger(__name__)
8
+
9
+ for entry_point in entry_points(group='uphy.cli'):
10
+ try:
11
+ module_name, _, attribute = entry_point.value.partition(":")
12
+ module = import_module(module_name)
13
+ command = getattr(module, attribute)
14
+ app.add_typer(command, name=entry_point.name)
15
+ except Exception as exception:
16
+ LOG.warning("Ignoring entry point '%s' due to error: %r", entry_point.name, exception)
17
+
18
+ @app.command()
19
+ def build():
20
+ """Start device builder to generate configuration files."""
21
+ typer.launch("https://devicebuilder.rt-labs.com/")
22
+
23
+ @app.command(name="help")
24
+ def help(ctx: typer.Context):
25
+ typer.echo(ctx.get_help())
26
+
27
+ if __name__ == "__main__":
28
+ app()
@@ -0,0 +1,24 @@
1
+ Metadata-Version: 2.1
2
+ Name: uphy
3
+ Version: 0.1.0.dev2794
4
+ Author-email: RT-Labs <support@rt-labs.com>
5
+ License: Copyright rt-labs AB, Sweden.
6
+ All rights reserved.
7
+
8
+ You may not use this software in a commercial product without
9
+ purchasing a license. Contact sales@rt-labs.com for more information.
10
+
11
+ Project-URL: RT-Labs, https://rt-labs.com
12
+ Project-URL: U-Phy, https://rt-labs.com/u-phy
13
+ Project-URL: Documentation, https://docs.rt-labs.com/u-phy
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE.txt
16
+ Requires-Dist: typer>=0.12.5
17
+ Requires-Dist: uphy-device>=0.1.0.dev0
18
+ Requires-Dist: uphy-controller>=0.1.0.dev0
19
+
20
+ # U-Phy
21
+
22
+ One software, All protocols.
23
+
24
+ Command line tooling for working with U-Phy based devices.
@@ -0,0 +1,12 @@
1
+ LICENSE.txt
2
+ README.md
3
+ pyproject.toml
4
+ src/uphy/__init__.py
5
+ src/uphy.egg-info/PKG-INFO
6
+ src/uphy.egg-info/SOURCES.txt
7
+ src/uphy.egg-info/dependency_links.txt
8
+ src/uphy.egg-info/entry_points.txt
9
+ src/uphy.egg-info/requires.txt
10
+ src/uphy.egg-info/top_level.txt
11
+ src/uphy/cli/__init__.py
12
+ src/uphy/cli/__main__.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ uphy = uphy.cli.__main__:app
@@ -0,0 +1,3 @@
1
+ typer>=0.12.5
2
+ uphy-device>=0.1.0.dev0
3
+ uphy-controller>=0.1.0.dev0