Skip to main content

audify

A simple command line tool / python helper to convert a body of text to an mp3 using Amazon Polly. To use audify, you must first have AWS credentials set up.

Installation

It is recommended to install audify using pip:

$ pip install audify

Examples

The most common usage will be to pass in a simple text file and get the output:

$ echo "Hello World" > input.txt
$ audify -i input.txt -o output.mp3

You can also pass in text from stdin:

$ echo "Hello World" | audify -i - -o output.mp3

If you want to access audify from a Python script, you can import and call it directly:

from audify import audify

audify(
    input_filename='input.txt',
    output_filename='output.mp3',
)

You can also pass file-like objects:

import io

from audify import audify_fileobj

audify_fileobj(
    fileobj=io.StringIO('Hello World'),
    output_filename='output.mp3',
)

Any voice supported by Amazon Polly can be used:

$ echo "Hello World" | audify -i - -o output.mp3 -v Joey
from audify import audify

audify(
    input_filename='input.txt',
    output_filename='output.mp3',
    voice='Ivy',
)

Metadata

Release files for audify 0.0.3

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

Source distribution (sdist)

Source distribution for audify 0.0.3
File Size Uploaded
audify-0.0.3.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for audify 0.0.3
File Interpreter ABI Platform
audify-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / audify-0.0.3.tar.gz

Download URL audify-0.0.3.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
435f060731964a05179189233542e54ab3259a59fc009661c4bc35c0dc88e7bc
BLAKE2b-256 checksum
How to use checksums
030a877b6ab8f631d0af1ba8cd7014b35543569afefb8b30145c204ca0cbfe4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.15

Release files / audify-0.0.3-py3-none-any.whl

Download URL audify-0.0.3-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ce02e39a70e473157c345046b5764d96ccbbf38bdc6feb92aa7f2099a38ab9a
BLAKE2b-256 checksum
How to use checksums
8ecca659d4db663e6237497b5a40f4cf908de48897cf96599f02763645c36f1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.15

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

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