Mopidy extension which lets you explore the JSON-RPC API
Project description
mopidy-api-explorer
Mopidy extension which lets you explore the JSON-RPC API.
Installation
Install by running:
python3 -m pip install mopidy-api-explorer
Usage
Once the extension is installed, Mopidy must be restarted to detect the extension. After restarting Mopidy, visit the following URL to explore the Mopidy JSON-RPC API:
http://localhost:6680/api_explorer/
Project resources
Development
Set up development environment
Clone the repo using, e.g. using gh:
gh repo clone mopidy/mopidy-api-explorer
Enter the directory, and install dependencies using uv:
cd mopidy-api-explorer/
uv sync
Running tests
To run all tests and linters in isolated environments, use tox:
tox
To only run tests, use pytest:
pytest
To format the code, use ruff:
ruff format .
To check for lints with ruff, run:
ruff check .
To check for type errors, use pyright:
pyright .
Making a release
To make a release to PyPI, go to the project's GitHub releases page and click the "Draft a new release" button.
In the "choose a tag" dropdown, select the tag you want to release or create a
new tag, e.g. v0.1.0. Add a title, e.g. v0.1.0, and a description of the changes.
Decide if the release is a pre-release (alpha, beta, or release candidate) or should be marked as the latest release, and click "Publish release".
Once the release is created, the release.yml GitHub Action will automatically
build and publish the release to
PyPI.
Credits
- Original author: Janes Troha
- Current maintainer: Matthew Gamble
- Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mopidy_api_explorer-2.0.0.tar.gz.
File metadata
- Download URL: mopidy_api_explorer-2.0.0.tar.gz
- Upload date:
- Size: 249.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5ea4170aaee7a4fe015e0201745eb3436e05358511dc0dc18d525a40b360ded
|
|
| MD5 |
246f1972aa7eebcc1f0b31dcc491ce92
|
|
| BLAKE2b-256 |
a874d48ed5cd37cf712e308d25bd85e75b2009e63990c5e6cb6ebfdd590274bc
|
Provenance
The following attestation bundles were made for mopidy_api_explorer-2.0.0.tar.gz:
Publisher:
release.yml on mopidy/mopidy-api-explorer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mopidy_api_explorer-2.0.0.tar.gz -
Subject digest:
a5ea4170aaee7a4fe015e0201745eb3436e05358511dc0dc18d525a40b360ded - Sigstore transparency entry: 1384702681
- Sigstore integration time:
-
Permalink:
mopidy/mopidy-api-explorer@f8eabeabe6453a70b33eeaf6c3c54b63689e9764 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/mopidy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f8eabeabe6453a70b33eeaf6c3c54b63689e9764 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mopidy_api_explorer-2.0.0-py3-none-any.whl.
File metadata
- Download URL: mopidy_api_explorer-2.0.0-py3-none-any.whl
- Upload date:
- Size: 250.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a5b6126e90bf0148796b881cd182a0180edf9b278cd23c206f23f8b1c8a91a2
|
|
| MD5 |
556832db092a0440464d74595164ce6d
|
|
| BLAKE2b-256 |
80aad36263421ea357417b65c5024d0a3df70199babd09c688b22bae630fa9e5
|
Provenance
The following attestation bundles were made for mopidy_api_explorer-2.0.0-py3-none-any.whl:
Publisher:
release.yml on mopidy/mopidy-api-explorer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mopidy_api_explorer-2.0.0-py3-none-any.whl -
Subject digest:
8a5b6126e90bf0148796b881cd182a0180edf9b278cd23c206f23f8b1c8a91a2 - Sigstore transparency entry: 1384702695
- Sigstore integration time:
-
Permalink:
mopidy/mopidy-api-explorer@f8eabeabe6453a70b33eeaf6c3c54b63689e9764 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/mopidy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f8eabeabe6453a70b33eeaf6c3c54b63689e9764 -
Trigger Event:
release
-
Statement type: