minerva-worker 1.2.4__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 (31) hide show
  1. minerva_worker-1.2.4/.github/ISSUE_TEMPLATE/bug_report.md +27 -0
  2. minerva_worker-1.2.4/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. minerva_worker-1.2.4/.github/workflows/cd.yml +48 -0
  4. minerva_worker-1.2.4/.github/workflows/ci.yml +40 -0
  5. minerva_worker-1.2.4/.gitignore +132 -0
  6. minerva_worker-1.2.4/.pre-commit-config.yaml +25 -0
  7. minerva_worker-1.2.4/LICENSE +121 -0
  8. minerva_worker-1.2.4/Minerva-v1.2.4-portable.exe +0 -0
  9. minerva_worker-1.2.4/Minerva-v1.2.4-setup.exe +0 -0
  10. minerva_worker-1.2.4/PKG-INFO +149 -0
  11. minerva_worker-1.2.4/README.md +119 -0
  12. minerva_worker-1.2.4/icon.ico +0 -0
  13. minerva_worker-1.2.4/minerva/__init__.py +5 -0
  14. minerva_worker-1.2.4/minerva/__main__.py +4 -0
  15. minerva_worker-1.2.4/minerva/auth.py +72 -0
  16. minerva_worker-1.2.4/minerva/cli.py +103 -0
  17. minerva_worker-1.2.4/minerva/console.py +97 -0
  18. minerva_worker-1.2.4/minerva/constants.py +41 -0
  19. minerva_worker-1.2.4/minerva/downloader.py +22 -0
  20. minerva_worker-1.2.4/minerva/downloaders/__init__.py +15 -0
  21. minerva_worker-1.2.4/minerva/downloaders/aria2c.py +94 -0
  22. minerva_worker-1.2.4/minerva/downloaders/httpx.py +40 -0
  23. minerva_worker-1.2.4/minerva/error_handling.py +25 -0
  24. minerva_worker-1.2.4/minerva/jobs.py +158 -0
  25. minerva_worker-1.2.4/minerva/loop.py +131 -0
  26. minerva_worker-1.2.4/minerva/uploader.py +106 -0
  27. minerva_worker-1.2.4/minerva/version_check.py +29 -0
  28. minerva_worker-1.2.4/pyinstaller.py +138 -0
  29. minerva_worker-1.2.4/pyproject.toml +64 -0
  30. minerva_worker-1.2.4/setup.iss +48 -0
  31. minerva_worker-1.2.4/uv.lock +495 -0
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+
16
+ 1. Clone repository '...'
17
+ 2. Run '....'
18
+ 3. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Additional context**
27
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,48 @@
1
+ name: cd
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ jobs:
9
+ tagged-release:
10
+ name: Tagged Release
11
+ runs-on: windows-2022 # windows-2025 dropped InnoSetup/ISCC
12
+ environment:
13
+ name: pypi
14
+ permissions:
15
+ id-token: write
16
+ contents: write
17
+ steps:
18
+ - uses: actions/checkout@v6
19
+ - name: Set up Python
20
+ uses: actions/setup-python@v6
21
+ - name: Install uv
22
+ uses: astral-sh/setup-uv@v7
23
+ - name: Install the project
24
+ run: uv sync --locked --all-extras --group pack
25
+ - name: Build EXE with PyInstaller
26
+ run: uv run python pyinstaller.py
27
+ - name: Create Windows Installer with Inno Setup
28
+ run: |
29
+ $env:APP_VERSION = uvx hatch version
30
+ iscc setup.iss
31
+ mv dist/Minerva-*.exe .
32
+ - name: Build Portable EXE with PyInstaller
33
+ shell: pwsh
34
+ run: |
35
+ uv run python pyinstaller.py --one-file
36
+ mv dist/Minerva.exe Minerva-${{ github.ref_name }}-portable.exe
37
+ - name: Build project
38
+ run: uv build
39
+ - name: Deploy release
40
+ uses: marvinpinto/action-automatic-releases@latest
41
+ with:
42
+ prerelease: false
43
+ repo_token: "${{ secrets.GITHUB_TOKEN }}"
44
+ files: |
45
+ Minerva-*.exe
46
+ Minerva-*-portable.exe
47
+ - name: Publish to PyPI
48
+ run: uv publish
@@ -0,0 +1,40 @@
1
+ name: ci
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ lint:
11
+ runs-on: windows-latest
12
+ steps:
13
+ - uses: actions/checkout@v6
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v6
16
+ - name: Install uv
17
+ uses: astral-sh/setup-uv@v7
18
+ - name: Install the project
19
+ run: uv sync --locked --all-extras --group lint --group form
20
+ - name: Install pre-commit patched for uv
21
+ run: uv tool install pre-commit --with pre-commit-uv --force-reinstall
22
+ - name: Run pre-commit to do linting, formatting, type-checking, and more
23
+ run: uv run pre-commit run --all-files --show-diff-on-failure
24
+ build:
25
+ runs-on: windows-latest
26
+ strategy:
27
+ matrix:
28
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
29
+ steps:
30
+ - uses: actions/checkout@v6
31
+ - name: Set up Python ${{ matrix.python-version }}
32
+ uses: actions/setup-python@v6
33
+ with:
34
+ python-version: ${{ matrix.python-version }}
35
+ - name: Install uv
36
+ uses: astral-sh/setup-uv@v7
37
+ - name: Install the project
38
+ run: uv sync --locked
39
+ - name: Build project
40
+ run: uv build
@@ -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
+ # Jetbrains project settings
121
+ .idea
122
+
123
+ # mkdocs documentation
124
+ /site
125
+
126
+ # mypy
127
+ .mypy_cache/
128
+ .dmypy.json
129
+ dmypy.json
130
+
131
+ # Pyre type checker
132
+ .pyre/
@@ -0,0 +1,25 @@
1
+ # See https://pre-commit.com for more information
2
+ # See https://pre-commit.com/hooks.html for more hooks
3
+
4
+ repos:
5
+ - repo: https://github.com/astral-sh/ruff-pre-commit
6
+ rev: v0.14.13
7
+ hooks:
8
+ - id: ruff-check
9
+ types: [ python ]
10
+ - id: ruff-format
11
+ types: [ python ]
12
+ - repo: https://github.com/pre-commit/mirrors-mypy
13
+ rev: v1.19.1
14
+ hooks:
15
+ - id: mypy
16
+ types: [ python ]
17
+ args: [] # override defaults to empty
18
+ additional_dependencies:
19
+ - types-requests
20
+ - repo: https://github.com/pre-commit/pre-commit-hooks
21
+ rev: v6.0.0
22
+ hooks:
23
+ - id: end-of-file-fixer
24
+ - id: trailing-whitespace
25
+ args: [--markdown-linebreak-ext=md]
@@ -0,0 +1,121 @@
1
+ Creative Commons Legal Code
2
+
3
+ CC0 1.0 Universal
4
+
5
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
6
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
7
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
8
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
9
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
10
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
11
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
12
+ HEREUNDER.
13
+
14
+ Statement of Purpose
15
+
16
+ The laws of most jurisdictions throughout the world automatically confer
17
+ exclusive Copyright and Related Rights (defined below) upon the creator
18
+ and subsequent owner(s) (each and all, an "owner") of an original work of
19
+ authorship and/or a database (each, a "Work").
20
+
21
+ Certain owners wish to permanently relinquish those rights to a Work for
22
+ the purpose of contributing to a commons of creative, cultural and
23
+ scientific works ("Commons") that the public can reliably and without fear
24
+ of later claims of infringement build upon, modify, incorporate in other
25
+ works, reuse and redistribute as freely as possible in any form whatsoever
26
+ and for any purposes, including without limitation commercial purposes.
27
+ These owners may contribute to the Commons to promote the ideal of a free
28
+ culture and the further production of creative, cultural and scientific
29
+ works, or to gain reputation or greater distribution for their Work in
30
+ part through the use and efforts of others.
31
+
32
+ For these and/or other purposes and motivations, and without any
33
+ expectation of additional consideration or compensation, the person
34
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
35
+ is an owner of Copyright and Related Rights in the Work, voluntarily
36
+ elects to apply CC0 to the Work and publicly distribute the Work under its
37
+ terms, with knowledge of his or her Copyright and Related Rights in the
38
+ Work and the meaning and intended legal effect of CC0 on those rights.
39
+
40
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
41
+ protected by copyright and related or neighboring rights ("Copyright and
42
+ Related Rights"). Copyright and Related Rights include, but are not
43
+ limited to, the following:
44
+
45
+ i. the right to reproduce, adapt, distribute, perform, display,
46
+ communicate, and translate a Work;
47
+ ii. moral rights retained by the original author(s) and/or performer(s);
48
+ iii. publicity and privacy rights pertaining to a person's image or
49
+ likeness depicted in a Work;
50
+ iv. rights protecting against unfair competition in regards to a Work,
51
+ subject to the limitations in paragraph 4(a), below;
52
+ v. rights protecting the extraction, dissemination, use and reuse of data
53
+ in a Work;
54
+ vi. database rights (such as those arising under Directive 96/9/EC of the
55
+ European Parliament and of the Council of 11 March 1996 on the legal
56
+ protection of databases, and under any national implementation
57
+ thereof, including any amended or successor version of such
58
+ directive); and
59
+ vii. other similar, equivalent or corresponding rights throughout the
60
+ world based on applicable law or treaty, and any national
61
+ implementations thereof.
62
+
63
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
64
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
65
+ irrevocably and unconditionally waives, abandons, and surrenders all of
66
+ Affirmer's Copyright and Related Rights and associated claims and causes
67
+ of action, whether now known or unknown (including existing as well as
68
+ future claims and causes of action), in the Work (i) in all territories
69
+ worldwide, (ii) for the maximum duration provided by applicable law or
70
+ treaty (including future time extensions), (iii) in any current or future
71
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
72
+ including without limitation commercial, advertising or promotional
73
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
74
+ member of the public at large and to the detriment of Affirmer's heirs and
75
+ successors, fully intending that such Waiver shall not be subject to
76
+ revocation, rescission, cancellation, termination, or any other legal or
77
+ equitable action to disrupt the quiet enjoyment of the Work by the public
78
+ as contemplated by Affirmer's express Statement of Purpose.
79
+
80
+ 3. Public License Fallback. Should any part of the Waiver for any reason
81
+ be judged legally invalid or ineffective under applicable law, then the
82
+ Waiver shall be preserved to the maximum extent permitted taking into
83
+ account Affirmer's express Statement of Purpose. In addition, to the
84
+ extent the Waiver is so judged Affirmer hereby grants to each affected
85
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
86
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
87
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
88
+ maximum duration provided by applicable law or treaty (including future
89
+ time extensions), (iii) in any current or future medium and for any number
90
+ of copies, and (iv) for any purpose whatsoever, including without
91
+ limitation commercial, advertising or promotional purposes (the
92
+ "License"). The License shall be deemed effective as of the date CC0 was
93
+ applied by Affirmer to the Work. Should any part of the License for any
94
+ reason be judged legally invalid or ineffective under applicable law, such
95
+ partial invalidity or ineffectiveness shall not invalidate the remainder
96
+ of the License, and in such case Affirmer hereby affirms that he or she
97
+ will not (i) exercise any of his or her remaining Copyright and Related
98
+ Rights in the Work or (ii) assert any associated claims and causes of
99
+ action with respect to the Work, in either case contrary to Affirmer's
100
+ express Statement of Purpose.
101
+
102
+ 4. Limitations and Disclaimers.
103
+
104
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
105
+ surrendered, licensed or otherwise affected by this document.
106
+ b. Affirmer offers the Work as-is and makes no representations or
107
+ warranties of any kind concerning the Work, express, implied,
108
+ statutory or otherwise, including without limitation warranties of
109
+ title, merchantability, fitness for a particular purpose, non
110
+ infringement, or the absence of latent or other defects, accuracy, or
111
+ the present or absence of errors, whether or not discoverable, all to
112
+ the greatest extent permissible under applicable law.
113
+ c. Affirmer disclaims responsibility for clearing rights of other persons
114
+ that may apply to the Work or any use thereof, including without
115
+ limitation any person's Copyright and Related Rights in the Work.
116
+ Further, Affirmer disclaims responsibility for obtaining any necessary
117
+ consents, permissions or other rights required for any use of the
118
+ Work.
119
+ d. Affirmer understands and acknowledges that Creative Commons is not a
120
+ party to this document and has no duty or obligation with respect to
121
+ this CC0 or use of the Work.
@@ -0,0 +1,149 @@
1
+ Metadata-Version: 2.4
2
+ Name: minerva-worker
3
+ Version: 1.2.4
4
+ Summary: Minerva DPN Worker, for more information see https://minerva-worker.org
5
+ Project-URL: Website, https://minerva-worker.org
6
+ Project-URL: Repository, https://github.com/rlaphoenix/minerva
7
+ Project-URL: Issues, https://github.com/rlaphoenix/minerva/issues
8
+ Project-URL: Discussions, https://github.com/rlaphoenix/minerva/discussions
9
+ Project-URL: Changelog, https://github.com/rlaphoenix/minerva/blob/master/CHANGELOG.md
10
+ Author-email: 17136956+rlaphoenix@users.noreply.github.com
11
+ License-Expression: CC0-1.0
12
+ License-File: LICENSE
13
+ Keywords: archival,data,minerva,myrient,tui
14
+ Classifier: Development Status :: 1 - Planning
15
+ Classifier: Intended Audience :: End Users/Desktop
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: Microsoft :: Windows
18
+ Classifier: Operating System :: Microsoft :: Windows :: Windows 10
19
+ Classifier: Operating System :: Microsoft :: Windows :: Windows 11
20
+ Classifier: Topic :: Games/Entertainment
21
+ Classifier: Topic :: Utilities
22
+ Requires-Python: >=3.12
23
+ Requires-Dist: click~=8.3.1
24
+ Requires-Dist: httpx~=0.28.1
25
+ Requires-Dist: humanize~=4.15.0
26
+ Requires-Dist: pathvalidate~=3.3.1
27
+ Requires-Dist: pyjwt~=2.11.0
28
+ Requires-Dist: rich~=14.3.3
29
+ Description-Content-Type: text/markdown
30
+
31
+ <p align="center">
32
+ <a href="https://github.com/rlaphoenix/minerva">Minerva Worker</a>
33
+ <br/>
34
+ <sup><em>Preserving Myrient's legacy, one file at a time.</em></sup>
35
+ </p>
36
+
37
+ <p align="center">
38
+ <a href="https://github.com/rlaphoenix/minerva/blob/master/LICENSE">
39
+ <img src="https://img.shields.io/:license-CC%201.0-blue.svg" alt="License">
40
+ </a>
41
+ <a href="https://pypi.org/project/minerva">
42
+ <img src="https://img.shields.io/badge/python-3.10%2B-informational" alt="Python version">
43
+ </a>
44
+ <a href="https://github.com/astral-sh/uv">
45
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Onyx-Nostalgia/uv/refs/heads/fix/logo-badge/assets/badge/v0.json" alt="Manager: uv">
46
+ </a>
47
+ <a href="https://github.com/astral-sh/ruff">
48
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Linter: Ruff">
49
+ </a>
50
+ <a href="https://github.com/rlaphoenix/minerva/actions/workflows/ci.yml">
51
+ <img src="https://github.com/rlaphoenix/minerva/actions/workflows/ci.yml/badge.svg" alt="Build status">
52
+ </a>
53
+ </p>
54
+
55
+ * * *
56
+
57
+ Myrient is shutting down. Minerva is a volunteer-driven effort to archive its entire collection before it goes offline.
58
+ Run a script, share your bandwidth, help preserve the archive.
59
+
60
+ ## Installation
61
+
62
+ Download and install the Python script from PIP/PyPI:
63
+
64
+ ```shell
65
+ $ pip install minerva-worker
66
+ ```
67
+
68
+ > [!NOTE]
69
+ If pip gives you a warning about a path not being in your PATH environment variable then promptly add that path then
70
+ close all open command prompt Windows, or running `minerva` won't work as it will not be recognized as a program.
71
+
72
+ You now have the `minerva` package installed - Voilà 🎉!
73
+ Get started by running `minerva` in your Terminal or Windows Run.
74
+ For configuration options, see help and options by running `minerva --help`.
75
+
76
+ *Alternatively, a Windows EXE is available on the [Releases] page, simply run it to begin!*
77
+
78
+ [Releases]: <https://github.com/rlaphoenix/minerva/releases>
79
+
80
+ ## Usage
81
+
82
+ It's very easy to use. Simply run the minerva.exe file, or run `minerva` in your Terminal/Command Prompt.
83
+
84
+ You can configure the worker settings by running `minerva run --help` to see what configuration options
85
+ you can change. If you have a great computer and network, it's recommended to bump up the -c and -b
86
+ options.
87
+
88
+ > [!TIP]
89
+ It's recommended to keep -c smaller or the same as -b.
90
+
91
+ ### How it works
92
+
93
+ The worker script asks the minerva server for jobs to download. The server gives active workers random
94
+ missing needed file URLs to download. When the worker is given a job, it temporarily downloads the file
95
+ and uploads it to the minerva file servers. Once the file is downloaded, it is deleted from your machine.
96
+
97
+ > [!TIP]
98
+ If you also want a copy of the files, use the `--keep-files` setting.
99
+
100
+ Jobs are given exclusively to each worker, no two workers download the same file at the same time. However,
101
+ to verify that uploads aren't corrupted, each job gets given (eventually) to a second worker. Both uploads
102
+ are then confirmed and if both workers give back the same file to the minerva file server, then the job is
103
+ marked as complete and verified.
104
+
105
+ > [!NOTE]
106
+ You may see 409 Conflict errors on upload, this happens when either you or another worker had mismatching
107
+ files uploaded. Just ignore these error's and let the worker continue. If you suspect every file has this
108
+ issue, please verify your network connection is stable and verify your downloads arent corrupted.
109
+
110
+ ### Discord Authentication
111
+
112
+ When using the minerva worker, you are prompted upon startup to login and authorize with Discord. This is
113
+ to authenticate unique users on the minerva server, to know who jobs are given to, and to use your username
114
+ and avatar in the worker dashboard leaderboards.
115
+
116
+ This does not give Minerva, this script, or anyone else access to your account, or any permissions.
117
+
118
+ ## Development
119
+
120
+ 1. Install [uv]
121
+ 2. `uv sync --all-extras --all-groups`
122
+ 3. `.venv\Scripts\activate` (or `source .venv/bin/activate` on macOS and Linux)
123
+ 4. `uv tool install pre-commit --with pre-commit-uv --force-reinstall`
124
+ 5. `pre-commit install`
125
+
126
+ Now feel free to work on the project however you like, all code will be checked before committing.
127
+
128
+ [uv]: <https://docs.astral.sh/uv>
129
+
130
+ ## Credit
131
+
132
+ - [bl791] for the original one-file script.
133
+ - [Puyodead1] for their improved rich interface and speedups.
134
+ - [rlaphoenix] for further improvements, bug fixes, support.
135
+ - [wikipiti] for the aria2 control file parsing code.
136
+
137
+ [bl79]: <https://github.com/bl79>
138
+ [Puyodead1]: <https://github.com/Puyodead1>
139
+ [rlaphoenix]: <https://github.com/rlaphoenix>
140
+ [wikipiti]: <https://github.com/wikipiti>
141
+
142
+ ## Licensing
143
+
144
+ This software is licensed under the terms of [CC0 1.0 Universal](LICENSE).
145
+ You can find a copy of the license in the LICENSE file in the root folder
146
+
147
+ * * *
148
+
149
+ © rlaphoenix 2026