Skip to main content

Sample Python Project for creating a new Python Module

Project description

🎧 audioarxiv

PyPI version License: MIT Build Python Version Security: bandit Documentation Status

📚 Documentation: https://isaac-cf-wong.github.io/audioarxiv/

Turn arXiv papers into audio. audioarxiv lets you fetch the research papers from arXiv and read them aloud.


🚀 Features

  • 🔍 Search and retrieve papers using the arXiv API
  • 📄 Extract and parse the content from PDF (excluding title/abstract)
  • 🗣️ Convert text to speech with natural voice output
  • 🧠 Great for passive learning while commuting or doing chores

📦 Installation

Install from PyPI:

pip install audioarxiv

Install from Conda:

conda install -c conda-forge audioarxiv

🛠 Usage

audioarxiv --id "<arxiv id>"

🎙️ Text-to-Speech Options

You can customize the voice engine using pyttsx3 by specifying the speaking rate, volume, voice, and pause between sentences.

audioarxiv --id "<arxiv id>" --rate <rate> --volume <volume> --voice "<voice>" --pause-seconds <pause-seconds>
  • rate: Number of words per minutes. Defaults to 140.
  • volume: Volume of the audio. Defaults to 0.9.
  • voice: Voice of the audio. Defaults to the pyttsx3 default voice.
  • pause-seconds: Number of seconds to pause between sentences.

The settings are saved, so you only need to provide your preferred settings once.

Contributing

This project welcomes contributions and suggestions. For details, visit the repository's Contributor License Agreement (CLA) and Code of Conduct pages.

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

audioarxiv-0.1.0rc46.post1.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

audioarxiv-0.1.0rc46.post1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file audioarxiv-0.1.0rc46.post1.tar.gz.

File metadata

  • Download URL: audioarxiv-0.1.0rc46.post1.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for audioarxiv-0.1.0rc46.post1.tar.gz
Algorithm Hash digest
SHA256 3adb5a2c8c5d749ee8eedb7fc8c5716a363b9347dc2d66d8c92faa10c22faf4f
MD5 1a22f0376f66485f91fb48d82568cd61
BLAKE2b-256 164770118311fb4fb3f67edc518e039ed09c6c23cf78d85421323aaf46cfc222

See more details on using hashes here.

File details

Details for the file audioarxiv-0.1.0rc46.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for audioarxiv-0.1.0rc46.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5c1551ef1517188934cb858a6bf5696803a64e439b7c0a5c12b0217c5abf4f2
MD5 e9c5bb9cfe685650e0c913bff1f085ab
BLAKE2b-256 9acbc19e5ec94f718be4fbd80ff180cf6122f98566aadda2b9f1c41e7179c8dd

See more details on using hashes here.

Supported by

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