Skip to main content

Audiobook Player

PyPI Changelog Tests License

A simple, cross-platform command-line audiobook player.

Features

  • Cross-platform: Works on macOS and Raspberry Pi (Linux).
  • Natural Sorting: Chapters are sorted naturally (e.g., "chapter 2.mp3" comes before "chapter 10.mp3").
  • Live Controls: Control playback with keyboard shortcuts (next, previous, stop, quit).
  • Progress Saving: Automatically saves your progress and resumes from where you left off.
  • Modular Backend: The media player backend is pluggable, making it easy to add support for other platforms.

Supported Platforms

  • macOS: Uses afplay for audio playback.
  • Raspberry Pi (Linux): Uses omxplayer for audio playback.

Installation

Install this tool using pip:

pip install audiobook-player

Usage

To start playing an audiobook, simply point the player to the folder containing your MP3 files:

aplayer /path/to/your/audiobook

If you don't provide a folder path, you will be prompted to enter one.

Controls

Once the audiobook is playing, you can use the following keyboard shortcuts to control playback:

  • n: Go to the next chapter.
  • p: Go to the previous chapter.
  • s: Stop playback and save your progress.
  • q: Quit the player (your progress will be saved).
  • ?: Display the controls.

Development

To contribute to this tool, first check out the code. Then create a new virtual environment:

cd audiobook-player
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

Metadata

Release files for audiobook-player 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for audiobook-player 0.0.1
File Size Uploaded Provenance
audiobook_player-0.0.1.tar.gz 13.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for audiobook-player 0.0.1
File Interpreter ABI Platform
audiobook_player-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.1 kB

Release files / audiobook_player-0.0.1.tar.gz

Download URL audiobook_player-0.0.1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f06d98b7df5446be147936f2c26c25d914d0a17fe442ca9409a2417e84245612
BLAKE2b-256 checksum
How to use checksums
848b15120dea2046dbb6a998fd77fb0160b7910befd00d290c5b60d3fc7d8c05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 31, 2026.

Transparency log

Release files / audiobook_player-0.0.1-py3-none-any.whl

Download URL audiobook_player-0.0.1-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a35eb1a2b85817edf08849a77e0e87294feb6d3b6770be48d1c288f24a8dd57
BLAKE2b-256 checksum
How to use checksums
45b7e968b6790f9fa7cdb61b34fb397cfa1b6288f8cfd0513970f9095f4491ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 31, 2026.

Transparency log

Security for audiobook-player 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for audiobook_player-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page