Skip to main content

Converts audiobook completion into page completion

Project description

This program is for converting an audiobooks pages read into print pages read.

Usage

To use this program, you must have Python 3.6 or higher installed. You may then install it through pip.

pip install audio2book

Run the program under Python as a module. Arguments to be supplied are:

  • -c, –completed: How much of the audiobook have you completed.

  • -o, –overall: How long is the audiobook overall.

  • -p, –pages: How many pages is the print book overall.

audio2book -c 0:53 -o 10:58 -p 310

You can also use the long arguments.

audio2book --completed 0:53 --overall 10:58 --pages 310

And you can get help.

audio2book -h

Development

A contribution guide is coming.

Running the tests

Pull the source code.

Then make sure you have first installed the requirements:

pip install -r requirements.txt

Then run the tests.

./test.sh

The tests include unit tests and mutation tests. All new functionality must have 100% test coverage and provide any useful logging. Any reasonable exceptions to this will be considered.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audio2book-0.2.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

audio2book-0.2.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page