Catalog PyPI
Back to packageRELEASE DETAILS

0.0.2

PyPI

afplay-win

Tiny utility that mimics 'afplay' in windows

Published3 Feb 2026
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 0.0.2 documentation

afplay-win

PyPI Changelog Tests License

Tiny utility that mimics 'afplay' in windows

For a background on this please read this post

Installation

Install this tool using pip:

pip install afplay-win

Usage

For help, run:

afplay --help

You can also use:

python -m afplay --help

Seek Functionality

You can start playback from a specific time position using the --seek or -t option:

# Play from 30 seconds into the file
afplay song.mp3 --seek 30
afplay song.mp3 -t 30

# Play from 1 minute 30 seconds into the file
afplay song.mp3 --seek 1:30
afplay song.mp3 -t 1:30

# Play from 1 hour 10 minutes 30 seconds into the file
afplay song.mp3 --seek 1:10:30
afplay song.mp3 -t 1:10:30

Supported time formats:

  • SS: seconds (e.g., 30)
  • MM:SS: minutes:seconds (e.g., 1:30)
  • HH:MM:SS: hours:minutes:seconds (e.g., 1:10:30)

Development

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

cd afplay-win
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

Inspiration

This implementation is inspired from playsound3

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"test\"",
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
pytest; extra == "test"runtime

Distribution files

2 collected
afplay_win-0.0.2-py3-none-any.whl

bdist_wheel · 8.38 KB · Python py3

Source file
afplay_win-0.0.2.tar.gz

sdist · 8.43 KB · Python source

Source file

Repository

PENDING
sukhbinder/afplay-win

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:10 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:73dfa50dbee681f4fb3d9c356c0c1d85e645e406ad11e8ae25d005decde64ea1

Other collected versions

View all collected versions →