Laurens Valk
15600c8a2b
v3.3.0c1
v3.3.0c1
2023-11-20 14:16:00 +01:00
Laurens Valk
f509178dab
pybricks.pupdevices.Motor: Document close.
2023-11-20 14:03:12 +01:00
Laurens Valk
fd61866f2b
pybricks.iodevices: Make LWP3 write awaitable.
2023-11-16 12:01:28 +01:00
Laurens Valk
91bc9a5d60
pybricks.hubs.MoveHub: Enable imu orientation.
2023-11-13 11:06:57 +01:00
Laurens Valk
f470f1c510
pupdevices: Fix remote light being external.
...
So it is awaitable.
2023-11-13 08:49:19 +01:00
Laurens Valk
d7f9723f6f
pybricks.common.Accelerometer: Move tilt to simple.
...
The Move Hub has it too now.
2023-11-13 08:49:15 +01:00
Laurens Valk
0d0d479a86
npm/jedi: v1.10.0
@pybricks/jedi/v1.10.0
2023-10-26 20:45:10 +02:00
Laurens Valk
252adb3e85
jedi: v1.10.0
pybricks_jedi/v1.10.0
2023-10-26 20:43:28 +02:00
Laurens Valk
36ed5917e9
@pybricks/ide-docs v2.10.0
@pybricks/ide-docs/v2.10.0
2023-10-26 20:29:33 +02:00
Laurens Valk
bec6aaa76e
v3.3.0b9
v3.3.0b9
2023-10-26 20:29:31 +02:00
Laurens Valk
e7377dff31
pybricks.pupdevices.Motor: Clarify profile setting.
2023-10-26 14:31:16 +02:00
Laurens Valk
d935841399
pybricks.robotics.DriveBase: Add brake.
2023-10-26 14:18:56 +02:00
David Lechner and Laurens Valk
3335042218
ubuiltins: add set class
...
Add type stubs and docs for builtin `set` type.
Issue: https://github.com/pybricks/support/issues/402
2023-10-26 09:21:41 +02:00
Laurens Valk
209fba5c7e
pybricks.tools: Document multitasking.
2023-10-24 17:05:10 +02:00
Laurens Valk
faf11581c0
pybricks.tools: Document hub_menu.
...
Fixes https://github.com/pybricks/pybricks-api/issues/144
2023-10-24 16:23:59 +02:00
Laurens Valk
8819446513
pybricks.common.BLE: Update broadcast API.
...
Match firmware updates.
2023-10-24 10:40:52 +02:00
Laurens Valk
b97eef8152
conf: Fix RTD theme.
...
Fixes https://github.com/pybricks/pybricks-api/issues/150
2023-10-23 20:49:35 +02:00
Laurens Valk
6bbdccb25f
pybricks.hubs.ThisHub.storage: Fix duplicate self.
...
Fixes https://github.com/pybricks/pybricks-api/issues/146
2023-10-23 16:36:13 +02:00
Laurens Valk
578abab24e
signaltypes: Bare minimal async docs.
...
This is nowhere near complete, but provides handles to start documenting async for the relevant methods.
2023-10-23 16:28:50 +02:00
Laurens Valk
1a49d396d2
pybricks.robotics: Document use_gyro.
2023-10-23 15:39:52 +02:00
Laurens Valk
397663d631
poetry: Update deps and fix Sphinx breakage.
2023-10-23 15:30:19 +02:00
David Lechner
821a3e4455
pybricks.*: add MaybeAwaitable types
...
Many blocking functions now return Awaitable[T] when the async run
loop is running. The static analysis tools don't have a way of
knowing this, so the best we can do is return both types so that
x = method() and x = await method() both work mostly as expected.
2023-06-12 17:04:09 -05:00
David Lechner
41b9ce71dd
pybricks.tools: add read_input_byte()
...
This adds stubs and docs for the new `pybricks.tools.read_input_byte()`
function.
2023-06-12 11:06:20 -05:00
David Lechner
6d69f04fe5
docs/cityhub: add ble.broadcast
...
A workaround has been implemented in the firmware so this is available
now.
2023-05-23 13:37:05 -05:00
dependabot[bot] and David Lechner
00ded2e2a0
build(deps): bump requests from 2.28.1 to 2.31.0
...
Bumps [requests](https://github.com/psf/requests ) from 2.28.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.28.1...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-23 09:36:46 -05:00
David Lechner
dd1d167ad9
pyproject: drop alpha status
...
We accidentally published the last few versions as alpha. It should
have been beta to match the firmware.
2023-05-19 14:59:25 -05:00
David Lechner
4dc289ad61
pybricks.common.BLE.broadcast: fix missing `
...
This caused bad formatting.
2023-05-16 16:02:13 -05:00
David Lechner
bc592b4469
npm/jedi: v1.9.0
@pybricks/jedi/v1.9.0
2023-05-16 15:45:40 -05:00
David Lechner
784c7ec5fc
jedi: v1.9.0
...
Update pybricks package for next beta.
pybricks_jedi/v1.9.0
2023-05-16 15:43:09 -05:00
David Lechner
9e2bac457a
github/workflows/publish-ide-docs: poetry install --only=doc
...
We don't need to install other dependencies to build the docs.
2023-05-16 15:39:14 -05:00
David Lechner
61d18ebe6f
@pybricks/ide-docs v2.9.0
@pybricks/ide-docs/v2.9.0
2023-05-16 15:33:45 -05:00
David Lechner
ff0b767e3e
v3.3.0a5
v3.3.0a5
2023-05-16 15:27:22 -05:00
David Lechner and GitHub
3274cef849
pybricks.common: Add new BLE class.
...
This adds a new BLE class that is used for connectionless broadcasting/
observing on hubs with built-in Bluetooth Low Energy.
Also see https://github.com/pybricks/pybricks-micropython/pull/158 .
2023-05-16 14:46:53 -05:00
David Lechner
b4ff3af36d
pyproject: split lint and doc dependencies
...
This allows a subset of dependencies to be installed if needed and
allows sharing requirements with readthedocs.
2023-05-10 14:35:08 -05:00
David Lechner
8e5891d9e8
all: spelling
...
Misc spelling fixes.
2023-05-10 14:16:15 -05:00
David Lechner
7de67852f7
vscode: change to ms-python.black-formatter
...
Microsoft is breaking out various Python tools into separate extensions.
2023-05-10 13:43:49 -05:00
David Lechner
31d3a117d6
doc/main/conf: update copyright year
2023-04-21 17:39:28 -05:00
David Lechner
263fe3a1cb
npm/jedi: v1.8.0
@pybricks/jedi/v1.8.0
2023-04-21 17:31:17 -05:00
David Lechner
db8de447d5
jedi: v1.8.0
pybricks_jedi/v1.8.0
2023-04-21 17:26:38 -05:00
David Lechner
46d6189eb1
jedi: update pybricks package version
...
also bump python requirement since Pyodide is now using Python 3.11.
2023-04-21 17:24:47 -05:00
David Lechner
2278c7bcda
@pybricks/ide-docs v2.8.0
@pybricks/ide-docs/v2.8.0
2023-04-21 17:10:51 -05:00
David Lechner
4da3618428
v3.3.0b4
v3.3.0a4
2023-04-21 17:00:18 -05:00
Laurens Valk
5bc11b185d
pybricks.tools: Add versionchanged note.
2023-04-21 14:07:46 +02:00
Laurens Valk
be9f99d41b
pybricks.tools: Add category headings.
2023-04-21 13:59:16 +02:00
Laurens Valk
870aae83c0
pybricks.tools: Document cross product.
2023-04-21 13:39:08 +02:00
Laurens Valk
9cde749e8a
pybricks.geometry: Drop module.
...
See https://github.com/pybricks/pybricks-micropython/pull/160
2023-04-21 13:33:19 +02:00
Laurens Valk
8bca5eb6e4
pybricks.robotics: Add GyroDriveBase.
2023-04-21 10:42:30 +02:00
Laurens Valk
95a12a7386
pybricks.robotics: Drop note suggesting to flip motors.
...
This will still work, but it is asking for trouble when including the gyro.
So it is probably better not to mention this at all.
2023-04-21 10:42:30 +02:00
Laurens Valk
d6c78f1f39
pybricks.robotics: Drop note restricting when to change settings.
2023-04-21 10:42:30 +02:00
Laurens Valk
98f2bb27fe
pybricks.robotics.DriveBase: Drop positive direction.
...
This reverts commit e4650cb1c9 .
This is not needed for gyro support, so it is better to remove it
before it is ever released.
2023-04-21 10:42:30 +02:00