scirodev 0.7.3__tar.gz → 0.7.5__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.
Files changed (25) hide show
  1. {scirodev-0.7.3/scirodev.egg-info → scirodev-0.7.5}/PKG-INFO +2 -2
  2. {scirodev-0.7.3 → scirodev-0.7.5}/README.md +1 -1
  3. {scirodev-0.7.3 → scirodev-0.7.5}/pyproject.toml +1 -1
  4. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/robotics.py +1 -1
  5. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/tools.py +1 -1
  6. {scirodev-0.7.3 → scirodev-0.7.5}/scirodev/rename.py +2 -2
  7. {scirodev-0.7.3 → scirodev-0.7.5/scirodev.egg-info}/PKG-INFO +2 -2
  8. {scirodev-0.7.3 → scirodev-0.7.5}/LICENSE +0 -0
  9. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/__init__.py +0 -0
  10. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/_common.py +0 -0
  11. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/canbus.py +0 -0
  12. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/floorpro.py +0 -0
  13. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/hubs.py +0 -0
  14. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/iodevices.py +0 -0
  15. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/parameters.py +0 -0
  16. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/pump.py +0 -0
  17. {scirodev-0.7.3 → scirodev-0.7.5}/sciro/py.typed +0 -0
  18. {scirodev-0.7.3 → scirodev-0.7.5}/scirodev/__init__.py +0 -0
  19. {scirodev-0.7.3 → scirodev-0.7.5}/scirodev/cli.py +0 -0
  20. {scirodev-0.7.3 → scirodev-0.7.5}/scirodev.egg-info/SOURCES.txt +0 -0
  21. {scirodev-0.7.3 → scirodev-0.7.5}/scirodev.egg-info/dependency_links.txt +0 -0
  22. {scirodev-0.7.3 → scirodev-0.7.5}/scirodev.egg-info/entry_points.txt +0 -0
  23. {scirodev-0.7.3 → scirodev-0.7.5}/scirodev.egg-info/requires.txt +0 -0
  24. {scirodev-0.7.3 → scirodev-0.7.5}/scirodev.egg-info/top_level.txt +0 -0
  25. {scirodev-0.7.3 → scirodev-0.7.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scirodev
3
- Version: 0.7.3
3
+ Version: 0.7.5
4
4
  Summary: PeakHub / sciro extensions to Pybricks: typed API stubs (sciro.*) and hub tooling on top of pybricksdev
5
5
  Author: Thomas Schank
6
6
  License: MIT
@@ -118,7 +118,7 @@ scirodev rename usb --default # back to Peak-XXXX
118
118
  ```
119
119
 
120
120
  Over Bluetooth the hub spells the new name on its display, then shows `?`.
121
- Press the centre button to accept; any other button, or 10 seconds without
121
+ Press the center button to accept; any other button, or 10 seconds without
122
122
  one, rejects. This keeps somebody else in radio range from renaming your hub.
123
123
  `hub.system.name()` returns the name.
124
124
 
@@ -95,7 +95,7 @@ scirodev rename usb --default # back to Peak-XXXX
95
95
  ```
96
96
 
97
97
  Over Bluetooth the hub spells the new name on its display, then shows `?`.
98
- Press the centre button to accept; any other button, or 10 seconds without
98
+ Press the center button to accept; any other button, or 10 seconds without
99
99
  one, rejects. This keeps somebody else in radio range from renaming your hub.
100
100
  `hub.system.name()` returns the name.
101
101
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "scirodev"
7
- version = "0.7.3"
7
+ version = "0.7.5"
8
8
  description = "PeakHub / sciro extensions to Pybricks: typed API stubs (sciro.*) and hub tooling on top of pybricksdev"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -105,7 +105,7 @@ class DriveBase(_DriveBase):
105
105
  """curve(radius, angle, then=Stop.HOLD, wait=True, speed=None, exit_speed=0)
106
106
 
107
107
  Drives an arc of ``angle`` degrees along a circle of ``radius`` mm.
108
- Upstream dropped this method in favour of :meth:`arc`, but the firmware
108
+ Upstream dropped this method in favor of :meth:`arc`, but the firmware
109
109
  still has it, so it is declared here to keep it usable without a type
110
110
  error. ``arc()`` takes the same extensions and is preferred in new code.
111
111
 
@@ -91,7 +91,7 @@ class RingBuffer:
91
91
  """Append one row; values in field order."""
92
92
 
93
93
  def record(self, source: Callable[[], Sequence[float | int]], period: int = 10) -> Awaitable[None]:
94
- """Coroutine: append ``source()`` every ``period`` ms until cancelled.
94
+ """Coroutine: append ``source()`` every ``period`` ms until canceled.
95
95
 
96
96
  Run it next to the movement, e.g.
97
97
  ``await multitask(drive(), log.record(db.state), race=True)``.
@@ -32,7 +32,7 @@ is stored on the hub across power cycles and firmware updates.
32
32
 
33
33
  Over USB the hub takes the name at once. Over Bluetooth, where anybody in
34
34
  range could send the command, the hub spells the new name on its display,
35
- shows `?` and applies it only when the centre button is pressed (any other
35
+ shows `?` and applies it only when the center button is pressed (any other
36
36
  button, or 10 s without one, rejects it). The hub must be idle: no program
37
37
  running, not in power-save.
38
38
  """
@@ -101,7 +101,7 @@ async def rename(args: argparse.Namespace) -> int:
101
101
  )
102
102
  if args.conntype == "ble":
103
103
  print(f"The hub now shows the new name ({shown}) and then '?'.")
104
- print("Press the centre button on the hub to accept. Any other button, or 10 s, rejects.")
104
+ print("Press the center button on the hub to accept. Any other button, or 10 s, rejects.")
105
105
  # Stay connected while the user decides, so nobody else can slip in.
106
106
  await asyncio.sleep(len(args.new_name) * 0.6 + 10.5)
107
107
  print("Done. If accepted, the hub advertises under the new name from the next connection on.")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scirodev
3
- Version: 0.7.3
3
+ Version: 0.7.5
4
4
  Summary: PeakHub / sciro extensions to Pybricks: typed API stubs (sciro.*) and hub tooling on top of pybricksdev
5
5
  Author: Thomas Schank
6
6
  License: MIT
@@ -118,7 +118,7 @@ scirodev rename usb --default # back to Peak-XXXX
118
118
  ```
119
119
 
120
120
  Over Bluetooth the hub spells the new name on its display, then shows `?`.
121
- Press the centre button to accept; any other button, or 10 seconds without
121
+ Press the center button to accept; any other button, or 10 seconds without
122
122
  one, rejects. This keeps somebody else in radio range from renaming your hub.
123
123
  `hub.system.name()` returns the name.
124
124
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes