Skip to main content

Add your description here

Project description

torah-dl - tools for downloading media from Torah websites.

uv PyPI - Version image image Actions status Coverage Status

Why torah-dl?

Most of our generation's Torah content is locked up in websites that are not easily accessible. Sofer.Ai is building a platform to make Torah accessible to everyone, and we decided to build key parts of that platform in the open. We intend to support every website with Torah audio on our platform, and realized quickly that even finding all the sites with audio would be a full-time job. So we open-sourced torah-dl to make it easier for others to download Torah audio from any website, and make Torah more accessible!

How does it work?

torah-dl is a library and a set of command-line tools for downloading media from Torah websites. You can use it as a command-line tool with uv (preferred), pipx, pip, poetry, venv, or any Python tool installer of your choice, simply by running uv tool install "torah-dl[cli]", and then running torah-dl.

For those who want to integrate torah-dl into their Python application, you can simply install it via uv add torah-dl or pip install torah-dl. You can then use the library in your code as you would any other Python library:

from torah_dl import extract

extraction = extract("https://www.yutorah.org/lectures/details?shiurid=1117416")

print(extraction.download_url)

What sites does it support?

Here is the list of sites that torah-dl supports already, and what's coming soon:

Contributing

We'd love your help! Please see our CONTRIBUTING.md for more information on how to get involved.

Frequently Asked Questions

Am I allowed to download Torah audio from these websites?

You are responsible for ensuring that you follow all Terms of Service agreements, Copyright agreements, and other legal agreements with these websites.

TODO: get a lawyer to review this.

How do I download audio from a site that is not on the list?

We'd love your help! Please see our CONTRIBUTING.md for more information on how to get involved.

What are the usecases for `torah-dl`?

Allowing transcription services to make Torah more accessible 😉

Other uses include downloading Torah audio for offline listening, or for use in Torah study tools, or for training AI models to understand Torah, or for other purposes (please see question above about permissions).

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

torah_dl-0.3.0.tar.gz (79.0 kB view details)

Uploaded Source

Built Distribution

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

torah_dl-0.3.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file torah_dl-0.3.0.tar.gz.

File metadata

  • Download URL: torah_dl-0.3.0.tar.gz
  • Upload date:
  • Size: 79.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for torah_dl-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6a99fb62c5786b3d82d7edf52a7873eb148c8a36f73ef33946313c77d78ae475
MD5 3ec72b3a6c77f0bde68308d9e78fe7f4
BLAKE2b-256 f9b048a1c60cff589c7057c587fe8f3bfa26157a96549980057ee7faaf23b93d

See more details on using hashes here.

Provenance

The following attestation bundles were made for torah_dl-0.3.0.tar.gz:

Publisher: release.yml on SoferAi/torah-dl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file torah_dl-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: torah_dl-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for torah_dl-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0ccabcc87f530bc0ef726adc00b9bf38fbdac7a881cea0c4fe59860c02fc3c7
MD5 94fc5b56b0fd09d172cefd8be745c128
BLAKE2b-256 e82ff6ed063a2f3a6b7ae015643ec4729f5ec46b410ddf97e42e32d9a2e9ca43

See more details on using hashes here.

Provenance

The following attestation bundles were made for torah_dl-0.3.0-py3-none-any.whl:

Publisher: release.yml on SoferAi/torah-dl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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