Repository navigation
Add the bdsp.io API client and the bdsp command (bdsp.web) - #2
Open
mb-westover wants to merge 1 commit into
Open
mb-westover wants to merge 1 commit into
mb-westover wants to merge 1 commit into
Conversation
Moved from bdsp-core/bdsp.io_webapp_prod clients/python (PR #79), so that pip install bdsp gives both the Zarr reader and the bdsp.io command-line tool (Brandon, 2026-12-03). Standard library only; module bdsp.web, command bdsp. Version 0.6.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds the bdsp.io website API client and the
bdspcommand-line tool to this package, so thatpip install bdspgives both the Zarr reader and the tool. Decided by Brandon (2026-12-03): the PyPI namebdspis already this package, and the two clashed on the module name.src/bdsp/web/(client.py,cli.py) is moved frombdsp-core/bdsp.io_webapp_prodclients/python(merged there as PR #79, reviewed in 2 Codex rounds). It'sbdsp.webhere, becausebdsp.apiis already the Zarr reader's API. Standard library only; no new dependencies.bdsp = "bdsp.web.cli:main", givingbdsp login | me | ls | files | where | get. It needs a personal token from bdsp.io Settings → API, which is live since 2026-12-03.tests/test_web_client.py: the client's tests against a local fake of the v2 API.docs/bdsp-io-client.md, plus a README section.Tests in Python 3.12 (
pip install -e ".[test]"; pytest): 73 passed, 1 skipped. Twotests/test_dataset_validation.pyCLI tests fail, and they fail the same way onmainwithout this change (checked).To release: merge, then build and upload 0.6.0 to PyPI as usual for this package.
🤖 Generated with Claude Code