Add your description here
Project description
torah-dl - tools for downloading media from Torah websites.
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) # https://download.yutorah.org/2024/34263/1117416/ketuvot-57a-b---preparation-for-nisuin.mp3
print(extraction.title) # Ketuvot 57a-b - Preparation for Nisuin
print(extraction.file_format) # audio/mp3
print(extraction.file_name) # ketuvot-57a-b---preparation-for-nisuin.mp3
What sites does it support?
Here is the list of sites that torah-dl supports already, and what's coming soon:
- Yutorah
- TorahAnytime
- TorahApp
- OUTorah.org
- AllDaf.org
- AllHalacha.org
- AllParsha.com
- AllMishna.com
- TorahDownloads.org
- Help us out by adding your favorite Torah website!
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file torah_dl-0.4.1.tar.gz.
File metadata
- Download URL: torah_dl-0.4.1.tar.gz
- Upload date:
- Size: 88.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fd49d79e5fbd429c7724d1ede73b1979973d22deebe44d744a76e443711b349
|
|
| MD5 |
98cd6826f4fea726518c73fa6c076380
|
|
| BLAKE2b-256 |
f320b6bad5b9e9362a38603482fa6c4fae98f25d1dd8490feb1a9003aec8709f
|
Provenance
The following attestation bundles were made for torah_dl-0.4.1.tar.gz:
Publisher:
release.yml on SoferAi/torah-dl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
torah_dl-0.4.1.tar.gz -
Subject digest:
2fd49d79e5fbd429c7724d1ede73b1979973d22deebe44d744a76e443711b349 - Sigstore transparency entry: 167912849
- Sigstore integration time:
-
Permalink:
SoferAi/torah-dl@4c52ad05655ad0e2358933a8d65ad8aafbce83b3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SoferAi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4c52ad05655ad0e2358933a8d65ad8aafbce83b3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file torah_dl-0.4.1-py3-none-any.whl.
File metadata
- Download URL: torah_dl-0.4.1-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c88fedc921e8d3e91620200168443f7850317c745c7d531d825d7a402db9f75
|
|
| MD5 |
7d06cad152cd629a9ec1d30b3a881e37
|
|
| BLAKE2b-256 |
dc15b48a1fd168c2843aa81ab4a36b8e3c4ae2a254be8bba8f4186b0f8d6882c
|
Provenance
The following attestation bundles were made for torah_dl-0.4.1-py3-none-any.whl:
Publisher:
release.yml on SoferAi/torah-dl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
torah_dl-0.4.1-py3-none-any.whl -
Subject digest:
0c88fedc921e8d3e91620200168443f7850317c745c7d531d825d7a402db9f75 - Sigstore transparency entry: 167912850
- Sigstore integration time:
-
Permalink:
SoferAi/torah-dl@4c52ad05655ad0e2358933a8d65ad8aafbce83b3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SoferAi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4c52ad05655ad0e2358933a8d65ad8aafbce83b3 -
Trigger Event:
push
-
Statement type: