audioarxiv 0.1.0rc46.post1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. audioarxiv-0.1.0rc46.post1/.devcontainer/Dockerfile +12 -0
  2. audioarxiv-0.1.0rc46.post1/.devcontainer/devcontainer.json +44 -0
  3. audioarxiv-0.1.0rc46.post1/.github/dependabot.yml +22 -0
  4. audioarxiv-0.1.0rc46.post1/.github/template-sync.yml +21 -0
  5. audioarxiv-0.1.0rc46.post1/.github/workflows/CI.yml +25 -0
  6. audioarxiv-0.1.0rc46.post1/.github/workflows/publish.yml +10 -0
  7. audioarxiv-0.1.0rc46.post1/.github/workflows/schedule-update-actions.yml +25 -0
  8. audioarxiv-0.1.0rc46.post1/.github/workflows/semantic-pr-check.yml +17 -0
  9. audioarxiv-0.1.0rc46.post1/.github/workflows/sphinx.yml +18 -0
  10. audioarxiv-0.1.0rc46.post1/.github/workflows/template-sync.yml +12 -0
  11. audioarxiv-0.1.0rc46.post1/.gitignore +132 -0
  12. audioarxiv-0.1.0rc46.post1/.pre-commit-config.yaml +60 -0
  13. audioarxiv-0.1.0rc46.post1/.pypirc +10 -0
  14. audioarxiv-0.1.0rc46.post1/.vscode/launch.json +19 -0
  15. audioarxiv-0.1.0rc46.post1/.vscode/settings.json +29 -0
  16. audioarxiv-0.1.0rc46.post1/CODE_OF_CONDUCT.md +9 -0
  17. audioarxiv-0.1.0rc46.post1/LICENSE +21 -0
  18. audioarxiv-0.1.0rc46.post1/PKG-INFO +114 -0
  19. audioarxiv-0.1.0rc46.post1/README.md +65 -0
  20. audioarxiv-0.1.0rc46.post1/SUPPORT.md +7 -0
  21. audioarxiv-0.1.0rc46.post1/cspell.json +33 -0
  22. audioarxiv-0.1.0rc46.post1/docs/.gitignore +1 -0
  23. audioarxiv-0.1.0rc46.post1/docs/Makefile +20 -0
  24. audioarxiv-0.1.0rc46.post1/docs/conf.py +77 -0
  25. audioarxiv-0.1.0rc46.post1/docs/devcontainer.md +16 -0
  26. audioarxiv-0.1.0rc46.post1/docs/developer.md +3 -0
  27. audioarxiv-0.1.0rc46.post1/docs/index.rst +34 -0
  28. audioarxiv-0.1.0rc46.post1/docs/installation.rst +43 -0
  29. audioarxiv-0.1.0rc46.post1/docs/make.bat +35 -0
  30. audioarxiv-0.1.0rc46.post1/docs/pre-commit-config.md +6 -0
  31. audioarxiv-0.1.0rc46.post1/docs/pylint.md +507 -0
  32. audioarxiv-0.1.0rc46.post1/docs/pyproject.md +9 -0
  33. audioarxiv-0.1.0rc46.post1/docs/release_notes.rst +21 -0
  34. audioarxiv-0.1.0rc46.post1/docs/requirements.txt +4 -0
  35. audioarxiv-0.1.0rc46.post1/docs/templates/custom-class-template.rst +31 -0
  36. audioarxiv-0.1.0rc46.post1/docs/templates/custom-module-template.rst +73 -0
  37. audioarxiv-0.1.0rc46.post1/docs/user_guide.rst +71 -0
  38. audioarxiv-0.1.0rc46.post1/docs/vscode.md +1 -0
  39. audioarxiv-0.1.0rc46.post1/docs/workflows.md +4 -0
  40. audioarxiv-0.1.0rc46.post1/pyproject.toml +331 -0
  41. audioarxiv-0.1.0rc46.post1/src/audioarxiv/__init__.py +169 -0
  42. audioarxiv-0.1.0rc46.post1/src/audioarxiv/audio/__init__.py +12 -0
  43. audioarxiv-0.1.0rc46.post1/src/audioarxiv/audio/base.py +172 -0
  44. audioarxiv-0.1.0rc46.post1/src/audioarxiv/preprocess/__init__.py +13 -0
  45. audioarxiv-0.1.0rc46.post1/src/audioarxiv/preprocess/article.py +22 -0
  46. audioarxiv-0.1.0rc46.post1/src/audioarxiv/preprocess/math_equation.py +36 -0
  47. audioarxiv-0.1.0rc46.post1/src/audioarxiv/resources/__init__.py +10 -0
  48. audioarxiv-0.1.0rc46.post1/src/audioarxiv/resources/paper.py +204 -0
  49. audioarxiv-0.1.0rc46.post1/src/audioarxiv/tools/__init__.py +3 -0
  50. audioarxiv-0.1.0rc46.post1/src/audioarxiv/tools/main.py +194 -0
  51. audioarxiv-0.1.0rc46.post1/tests/audio/test_base.py +120 -0
  52. audioarxiv-0.1.0rc46.post1/tests/preprocess/test_article.py +46 -0
  53. audioarxiv-0.1.0rc46.post1/tests/preprocess/test_math_equation.py +56 -0
  54. audioarxiv-0.1.0rc46.post1/tests/resources/test_paper.py +66 -0
  55. audioarxiv-0.1.0rc46.post1/tests/tools/test_main.py +101 -0
@@ -0,0 +1,12 @@
1
+ FROM mcr.microsoft.com/devcontainers/python:3
2
+
3
+ RUN python -m pip install --upgrade pip \
4
+ && python -m pip install 'flit>=3.8.0'
5
+
6
+ ENV FLIT_ROOT_INSTALL=1
7
+
8
+ COPY pyproject.toml .
9
+ RUN touch README.md \
10
+ && mkdir -p src/python_package \
11
+ && python -m flit install --only-deps --deps develop \
12
+ && rm -r pyproject.toml README.md src
@@ -0,0 +1,44 @@
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2
+ // https://github.com/microsoft/vscode-dev-containers/tree/v0.222.0/containers/python-3-miniconda
3
+ {
4
+ "name": "Python Environment",
5
+ "build": {
6
+ "dockerfile": "Dockerfile",
7
+ "context": ".."
8
+ },
9
+ "customizations": {
10
+ "vscode": {
11
+ "extensions": [
12
+ "editorconfig.editorconfig",
13
+ "github.vscode-pull-request-github",
14
+ "ms-azuretools.vscode-docker",
15
+ "ms-python.python",
16
+ "ms-python.vscode-pylance",
17
+ "ms-python.pylint",
18
+ "ms-python.isort",
19
+ "ms-python.flake8",
20
+ "ms-python.black-formatter",
21
+ "ms-vsliveshare.vsliveshare",
22
+ "ryanluker.vscode-coverage-gutters",
23
+ "bungcip.better-toml",
24
+ "GitHub.copilot"
25
+ ],
26
+ "settings": {
27
+ "python.defaultInterpreterPath": "/usr/local/bin/python",
28
+ "black-formatter.path": [
29
+ "/usr/local/py-utils/bin/black"
30
+ ],
31
+ "pylint.path": [
32
+ "/usr/local/py-utils/bin/pylint"
33
+ ],
34
+ "flake8.path": [
35
+ "/usr/local/py-utils/bin/flake8"
36
+ ],
37
+ "isort.path": [
38
+ "/usr/local/py-utils/bin/isort"
39
+ ]
40
+ }
41
+ }
42
+ },
43
+ "onCreateCommand": "pre-commit install-hooks"
44
+ }
@@ -0,0 +1,22 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: pip
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "13:00"
8
+ open-pull-requests-limit: 10
9
+ # reviewers:
10
+ # - dciborow
11
+ allow:
12
+ - dependency-type: direct
13
+ - dependency-type: indirect
14
+ commit-message:
15
+ prefix: "fix: "
16
+ - package-ecosystem: "github-actions"
17
+ directory: "/"
18
+ schedule:
19
+ interval: daily
20
+ time: "13:00"
21
+ commit-message:
22
+ prefix: "fix: "
@@ -0,0 +1,21 @@
1
+ files:
2
+ - ".gitignore" # include
3
+ - ".github"
4
+ - ".vscode"
5
+ - "tests/conftest.py"
6
+ - ".flake8"
7
+ - ".pre-commit-config.yml"
8
+ - ".pypirc"
9
+ - "docs"
10
+ - "src/README.md"
11
+ - "CODE_OF_CONDUCT.md"
12
+ - "LICENSE"
13
+ - "README.md"
14
+ - "SECURITY.md"
15
+ - "SUPPORT.md"
16
+ - "pyproject.toml"
17
+
18
+ - "!.github/workflows/template-sync.yml"
19
+ - "!.github/template-sync.yml"
20
+ - "!src/python_project"
21
+ - "!tests/test_methods.py"
@@ -0,0 +1,25 @@
1
+ name: Python CI
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ pull_request:
6
+ branches: [main]
7
+ release:
8
+ types: [created]
9
+ workflow_dispatch:
10
+
11
+ jobs:
12
+ validation:
13
+ strategy:
14
+ matrix:
15
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
16
+ uses: microsoft/action-python/.github/workflows/validation.yml@0.7.3
17
+ with:
18
+ workdir: "."
19
+ python-version: ${{ matrix.python-version }}
20
+
21
+ publish:
22
+ uses: microsoft/action-python/.github/workflows/publish.yml@0.6.4
23
+ secrets:
24
+ PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
25
+ TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
@@ -0,0 +1,10 @@
1
+ name: Python Publish Workflow
2
+ on:
3
+ workflow_call:
4
+
5
+ jobs:
6
+ publish:
7
+ uses: microsoft/action-python/.github/workflows/publish.yml@0.7.3
8
+ secrets:
9
+ PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
10
+ TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
@@ -0,0 +1,25 @@
1
+ name: GitHub Actions Version Updater
2
+
3
+ # Controls when the action will run.
4
+ on:
5
+ workflow_dispatch:
6
+ schedule:
7
+ # Automatically run on every Sunday
8
+ - cron: '0 0 * * 0'
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v4.2.2
16
+ with:
17
+ # [Required] Access token with `workflow` scope.
18
+ token: ${{ secrets.PAT }}
19
+
20
+ - name: Run GitHub Actions Version Updater
21
+ uses: saadmk11/github-actions-version-updater@v0.8.1
22
+ with:
23
+ # [Required] Access token with `workflow` scope.
24
+ token: ${{ secrets.PAT }}
25
+ pull_request_title: "ci: Update GitHub Actions to Latest Version"
@@ -0,0 +1,17 @@
1
+ name: "Semantic PR Check"
2
+
3
+ on:
4
+ pull_request_target:
5
+ types:
6
+ - opened
7
+ - edited
8
+ - synchronize
9
+
10
+ jobs:
11
+ main:
12
+ name: Validate PR title
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: amannn/action-semantic-pull-request@v5.5.3
16
+ env:
17
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,18 @@
1
+ name: Deploy Sphinx documentation to Pages
2
+
3
+ on:
4
+ push:
5
+ branches: [main] # branch to trigger deployment
6
+
7
+ jobs:
8
+ pages:
9
+ runs-on: ubuntu-20.04
10
+ environment:
11
+ name: github-pages
12
+ url: ${{ steps.deployment.outputs.page_url }}
13
+ permissions:
14
+ pages: write
15
+ id-token: write
16
+ steps:
17
+ - id: deployment
18
+ uses: sphinx-notes/pages@v3
@@ -0,0 +1,12 @@
1
+ name: Template Sync
2
+ on:
3
+ workflow_dispatch:
4
+ jobs:
5
+ sync:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v4.2.2 # important!
9
+ - uses: euphoricsystems/action-sync-template-repository@v2.5.1
10
+ with:
11
+ github-token: ${{ secrets.GITHUB_TOKEN }}
12
+ dry-run: true
@@ -0,0 +1,132 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ pip-wheel-metadata/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py,cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ target/
76
+
77
+ # Jupyter Notebook
78
+ .ipynb_checkpoints
79
+
80
+ # IPython
81
+ profile_default/
82
+ ipython_config.py
83
+
84
+ # pyenv
85
+ .python-version
86
+
87
+ # pipenv
88
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
90
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
91
+ # install all needed dependencies.
92
+ #Pipfile.lock
93
+
94
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
95
+ __pypackages__/
96
+
97
+ # Celery stuff
98
+ celerybeat-schedule
99
+ celerybeat.pid
100
+
101
+ # SageMath parsed files
102
+ *.sage.py
103
+
104
+ # Environments
105
+ .env
106
+ .venv
107
+ env/
108
+ venv/
109
+ ENV/
110
+ env.bak/
111
+ venv.bak/
112
+
113
+ # Spyder project settings
114
+ .spyderproject
115
+ .spyproject
116
+
117
+ # Rope project settings
118
+ .ropeproject
119
+
120
+ # mkdocs documentation
121
+ /site
122
+
123
+ # mypy
124
+ .mypy_cache/
125
+ .dmypy.json
126
+ dmypy.json
127
+
128
+ # Pyre type checker
129
+ .pyre/
130
+
131
+ # Mac files
132
+ .DS_store
@@ -0,0 +1,60 @@
1
+ ci:
2
+ autoupdate_commit_msg: "chore: update pre-commit hooks"
3
+ autofix_commit_msg: "style: pre-commit fixes"
4
+
5
+ repos:
6
+ - repo: https://github.com/pre-commit/pre-commit-hooks
7
+ rev: v4.1.0
8
+ hooks:
9
+ - id: check-added-large-files
10
+ - id: check-case-conflict
11
+ - id: check-merge-conflict
12
+ - id: check-symlinks
13
+ - id: check-yaml
14
+ - id: debug-statements
15
+ - id: end-of-file-fixer
16
+ - id: mixed-line-ending
17
+ - id: requirements-txt-fixer
18
+ - id: trailing-whitespace
19
+
20
+ - repo: https://github.com/PyCQA/isort
21
+ rev: 5.12.0
22
+ hooks:
23
+ - id: isort
24
+ args: ["-a", "from __future__ import annotations"]
25
+
26
+ - repo: https://github.com/asottile/pyupgrade
27
+ rev: v2.31.0
28
+ hooks:
29
+ - id: pyupgrade
30
+ args: [--py37-plus]
31
+
32
+ - repo: https://github.com/hadialqattan/pycln
33
+ rev: v1.2.5
34
+ hooks:
35
+ - id: pycln
36
+ args: [--config=pyproject.toml]
37
+ stages: [manual]
38
+
39
+ - repo: https://github.com/codespell-project/codespell
40
+ rev: v2.1.0
41
+ hooks:
42
+ - id: codespell
43
+
44
+ - repo: https://github.com/pre-commit/pygrep-hooks
45
+ rev: v1.9.0
46
+ hooks:
47
+ - id: python-check-blanket-noqa
48
+ - id: python-check-blanket-type-ignore
49
+ - id: python-no-log-warn
50
+ - id: python-no-eval
51
+ - id: python-use-type-annotations
52
+ - id: rst-backticks
53
+ - id: rst-directive-colons
54
+ - id: rst-inline-touching-normal
55
+
56
+ - repo: https://github.com/mgedmin/check-manifest
57
+ rev: "0.47"
58
+ hooks:
59
+ - id: check-manifest
60
+ stages: [manual]
@@ -0,0 +1,10 @@
1
+ [distutils]
2
+ index-servers =
3
+ pypi
4
+ testpypi
5
+
6
+ [pypi]
7
+ repository = https://upload.pypi.org/legacy/
8
+
9
+ [testpypi]
10
+ repository = https://test.pypi.org/legacy/
@@ -0,0 +1,19 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "configurations": [
4
+ {
5
+ "name": "Python: Debug Tests",
6
+ "type": "python",
7
+ "request": "launch",
8
+ "program": "${file}",
9
+ "purpose": [
10
+ "debug-test"
11
+ ],
12
+ "console": "integratedTerminal",
13
+ "justMyCode": false,
14
+ "env": {
15
+ "PYTEST_ADDOPTS": "--no-cov -n0 --dist no"
16
+ }
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "editor.formatOnSave": true,
3
+ "editor.formatOnPaste": true,
4
+ "files.trimTrailingWhitespace": true,
5
+ "files.autoSave": "onFocusChange",
6
+ "git.autofetch": true,
7
+ "[jsonc]": {
8
+ "editor.defaultFormatter": "vscode.json-language-features"
9
+ },
10
+ "[python]": {
11
+ "editor.defaultFormatter": "ms-python.black-formatter"
12
+ },
13
+ "python.defaultInterpreterPath": "/usr/local/bin/python",
14
+ "python.formatting.provider": "black",
15
+ "python.testing.unittestEnabled": false,
16
+ "python.testing.pytestEnabled": true,
17
+ "pylint.args": [
18
+ "--rcfile=pyproject.toml"
19
+ ],
20
+ "black-formatter.args": [
21
+ "--config=pyproject.toml"
22
+ ],
23
+ "flake8.args": [
24
+ "--toml-config=pyproject.toml"
25
+ ],
26
+ "isort.args": [
27
+ "--settings-path=pyproject.toml"
28
+ ]
29
+ }
@@ -0,0 +1,9 @@
1
+ # Microsoft Open Source Code of Conduct
2
+
3
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4
+
5
+ Resources:
6
+
7
+ - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8
+ - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9
+ - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
@@ -0,0 +1,114 @@
1
+ Metadata-Version: 2.4
2
+ Name: audioarxiv
3
+ Version: 0.1.0rc46.post1
4
+ Summary: Sample Python Project for creating a new Python Module
5
+ Author-email: "Isaac C. F. Wong" <isaac.cf.wong@gmail.com>
6
+ Requires-Python: >=3.9
7
+ Description-Content-Type: text/markdown
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3 :: Only
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ License-File: LICENSE
17
+ Requires-Dist: configargparse
18
+ Requires-Dist: arxiv
19
+ Requires-Dist: pyttsx3
20
+ Requires-Dist: pymupdf
21
+ Requires-Dist: sympy
22
+ Requires-Dist: nltk
23
+ Requires-Dist: pandas
24
+ Requires-Dist: platformdirs
25
+ Requires-Dist: pyspark>=3.0.0 ; extra == "spark"
26
+ Requires-Dist: bandit[toml]==1.8.3 ; extra == "test"
27
+ Requires-Dist: black==25.1.0 ; extra == "test"
28
+ Requires-Dist: check-manifest==0.50 ; extra == "test"
29
+ Requires-Dist: flake8-bugbear==24.12.12 ; extra == "test"
30
+ Requires-Dist: flake8-docstrings ; extra == "test"
31
+ Requires-Dist: flake8-formatter_junit_xml ; extra == "test"
32
+ Requires-Dist: flake8 ; extra == "test"
33
+ Requires-Dist: flake8-pyproject ; extra == "test"
34
+ Requires-Dist: pre-commit==4.2.0 ; extra == "test"
35
+ Requires-Dist: pylint==3.3.6 ; extra == "test"
36
+ Requires-Dist: pylint_junit ; extra == "test"
37
+ Requires-Dist: pytest-cov==6.1.1 ; extra == "test"
38
+ Requires-Dist: pytest-mock<3.14.1 ; extra == "test"
39
+ Requires-Dist: pytest-runner ; extra == "test"
40
+ Requires-Dist: pytest==8.3.5 ; extra == "test"
41
+ Requires-Dist: pytest-github-actions-annotate-failures ; extra == "test"
42
+ Requires-Dist: shellcheck-py==0.10.0.1 ; extra == "test"
43
+ Project-URL: Documentation, https://isaac-cf-wong.github.io/audioarxiv
44
+ Project-URL: Source, https://github.com/isaac-cf-wong/audioarxiv
45
+ Project-URL: Tracker, https://github.com/isaac-cf-wong/audioarxiv/issues
46
+ Provides-Extra: spark
47
+ Provides-Extra: test
48
+
49
+ # 🎧 audioarxiv
50
+
51
+ [![PyPI version](https://badge.fury.io/py/audioarxiv.svg)](https://pypi.org/project/audioarxiv/)
52
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
53
+ [![Build](https://img.shields.io/github/actions/workflow/status/isaac-cf-wong/audioarxiv/CI.yml?branch=main)](https://github.com/isaac-cf-wong/audioarxiv/actions)
54
+ [![Python Version](https://img.shields.io/pypi/pyversions/audioarxiv)](https://pypi.org/project/audioarxiv/)
55
+ [![Security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
56
+ [![Documentation Status](https://img.shields.io/badge/documentation-online-brightgreen)](https://isaac-cf-wong.github.io/audioarxiv/)
57
+
58
+ 📚 **Documentation**: [https://isaac-cf-wong.github.io/audioarxiv/](https://isaac-cf-wong.github.io/audioarxiv/)
59
+
60
+ **Turn arXiv papers into audio.**
61
+ `audioarxiv` lets you fetch the research papers from arXiv and read them aloud.
62
+
63
+ ---
64
+
65
+ ## 🚀 Features
66
+
67
+ - 🔍 Search and retrieve papers using the arXiv API
68
+ - 📄 Extract and parse the content from PDF (excluding title/abstract)
69
+ - 🗣️ Convert text to speech with natural voice output
70
+ - 🧠 Great for passive learning while commuting or doing chores
71
+
72
+ ---
73
+
74
+ ## 📦 Installation
75
+
76
+ Install from [PyPI](https://pypi.org/project/audioarxiv/):
77
+
78
+ ```bash
79
+ pip install audioarxiv
80
+ ```
81
+
82
+ Install from [Conda](https://anaconda.org/conda-forge/audioarxiv):
83
+
84
+ ```bash
85
+ conda install -c conda-forge audioarxiv
86
+ ```
87
+
88
+ ---
89
+
90
+ ## 🛠 Usage
91
+
92
+ ```bash
93
+ audioarxiv --id "<arxiv id>"
94
+ ```
95
+
96
+ ### 🎙️ Text-to-Speech Options
97
+
98
+ You can customize the voice engine using `pyttsx3` by specifying the speaking rate, volume, voice, and pause between sentences.
99
+
100
+ ```bash
101
+ audioarxiv --id "<arxiv id>" --rate <rate> --volume <volume> --voice "<voice>" --pause-seconds <pause-seconds>
102
+ ```
103
+
104
+ - `rate`: Number of words per minutes. Defaults to 140.
105
+ - `volume`: Volume of the audio. Defaults to 0.9.
106
+ - `voice`: Voice of the audio. Defaults to the pyttsx3 default voice.
107
+ - `pause-seconds`: Number of seconds to pause between sentences.
108
+
109
+ The settings are saved, so you only need to provide your preferred settings once.
110
+
111
+ ## Contributing
112
+
113
+ This project welcomes contributions and suggestions. For details, visit the repository's [Contributor License Agreement (CLA)](https://cla.opensource.microsoft.com) and [Code of Conduct](https://opensource.microsoft.com/codeofconduct/) pages.
114
+
@@ -0,0 +1,65 @@
1
+ # 🎧 audioarxiv
2
+
3
+ [![PyPI version](https://badge.fury.io/py/audioarxiv.svg)](https://pypi.org/project/audioarxiv/)
4
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
5
+ [![Build](https://img.shields.io/github/actions/workflow/status/isaac-cf-wong/audioarxiv/CI.yml?branch=main)](https://github.com/isaac-cf-wong/audioarxiv/actions)
6
+ [![Python Version](https://img.shields.io/pypi/pyversions/audioarxiv)](https://pypi.org/project/audioarxiv/)
7
+ [![Security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
8
+ [![Documentation Status](https://img.shields.io/badge/documentation-online-brightgreen)](https://isaac-cf-wong.github.io/audioarxiv/)
9
+
10
+ 📚 **Documentation**: [https://isaac-cf-wong.github.io/audioarxiv/](https://isaac-cf-wong.github.io/audioarxiv/)
11
+
12
+ **Turn arXiv papers into audio.**
13
+ `audioarxiv` lets you fetch the research papers from arXiv and read them aloud.
14
+
15
+ ---
16
+
17
+ ## 🚀 Features
18
+
19
+ - 🔍 Search and retrieve papers using the arXiv API
20
+ - 📄 Extract and parse the content from PDF (excluding title/abstract)
21
+ - 🗣️ Convert text to speech with natural voice output
22
+ - 🧠 Great for passive learning while commuting or doing chores
23
+
24
+ ---
25
+
26
+ ## 📦 Installation
27
+
28
+ Install from [PyPI](https://pypi.org/project/audioarxiv/):
29
+
30
+ ```bash
31
+ pip install audioarxiv
32
+ ```
33
+
34
+ Install from [Conda](https://anaconda.org/conda-forge/audioarxiv):
35
+
36
+ ```bash
37
+ conda install -c conda-forge audioarxiv
38
+ ```
39
+
40
+ ---
41
+
42
+ ## 🛠 Usage
43
+
44
+ ```bash
45
+ audioarxiv --id "<arxiv id>"
46
+ ```
47
+
48
+ ### 🎙️ Text-to-Speech Options
49
+
50
+ You can customize the voice engine using `pyttsx3` by specifying the speaking rate, volume, voice, and pause between sentences.
51
+
52
+ ```bash
53
+ audioarxiv --id "<arxiv id>" --rate <rate> --volume <volume> --voice "<voice>" --pause-seconds <pause-seconds>
54
+ ```
55
+
56
+ - `rate`: Number of words per minutes. Defaults to 140.
57
+ - `volume`: Volume of the audio. Defaults to 0.9.
58
+ - `voice`: Voice of the audio. Defaults to the pyttsx3 default voice.
59
+ - `pause-seconds`: Number of seconds to pause between sentences.
60
+
61
+ The settings are saved, so you only need to provide your preferred settings once.
62
+
63
+ ## Contributing
64
+
65
+ This project welcomes contributions and suggestions. For details, visit the repository's [Contributor License Agreement (CLA)](https://cla.opensource.microsoft.com) and [Code of Conduct](https://opensource.microsoft.com/codeofconduct/) pages.