trovenps 0.4.0__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.
@@ -0,0 +1,23 @@
1
+ name: ci
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ test:
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ python-version: ["3.11", "3.12", "3.13"]
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: astral-sh/setup-uv@v5
22
+ - run: uv run --python ${{ matrix.python-version }} ruff check .
23
+ - run: uv run --python ${{ matrix.python-version }} pytest -q
@@ -0,0 +1,40 @@
1
+ name: demo
2
+
3
+ # Renders docs/demo.gif from docs/demo.tape on Linux (vhs is reliable there,
4
+ # unlike Windows) and publishes it as a build artifact. main is protected, so
5
+ # the gif isn't auto-committed: download the artifact and commit it via a PR
6
+ # when you want to refresh the version shown in the README.
7
+
8
+ on:
9
+ push:
10
+ branches: [main]
11
+ paths:
12
+ - docs/demo.tape
13
+ - .github/workflows/demo.yml
14
+ workflow_dispatch:
15
+
16
+ permissions:
17
+ contents: read
18
+
19
+ jobs:
20
+ render:
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ - uses: actions/setup-python@v5
25
+ with:
26
+ python-version: "3.x"
27
+ - run: pip install . # `trove` on PATH, as a user would have it
28
+ - name: Install vhs, ttyd, ffmpeg
29
+ run: |
30
+ sudo mkdir -p /etc/apt/keyrings
31
+ curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg
32
+ echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" \
33
+ | sudo tee /etc/apt/sources.list.d/charm.list
34
+ sudo apt-get update
35
+ sudo apt-get install -y vhs ttyd ffmpeg
36
+ - run: vhs docs/demo.tape
37
+ - uses: actions/upload-artifact@v4
38
+ with:
39
+ name: demo-gif
40
+ path: docs/demo.gif
@@ -0,0 +1,39 @@
1
+ name: publish
2
+
3
+ # Publishes to PyPI on a GitHub Release via Trusted Publishing (OIDC) — no API
4
+ # tokens. One-time setup: on PyPI, add a "pending publisher" for project
5
+ # `trovenps` pointing at this repo, workflow `publish.yml`, environment `pypi`.
6
+ # Then publishing a release builds and uploads automatically.
7
+
8
+ on:
9
+ release:
10
+ types: [published]
11
+ workflow_dispatch:
12
+
13
+ permissions:
14
+ contents: read
15
+
16
+ jobs:
17
+ build:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: astral-sh/setup-uv@v5
22
+ - run: uv build
23
+ - uses: actions/upload-artifact@v4
24
+ with:
25
+ name: dist
26
+ path: dist/
27
+
28
+ publish:
29
+ needs: build
30
+ runs-on: ubuntu-latest
31
+ environment: pypi
32
+ permissions:
33
+ id-token: write # required for Trusted Publishing
34
+ steps:
35
+ - uses: actions/download-artifact@v4
36
+ with:
37
+ name: dist
38
+ path: dist/
39
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,24 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+ .pytest_cache/
9
+ .ruff_cache/
10
+
11
+ # Virtual environments
12
+ .venv/
13
+
14
+ # Local config & secrets (never commit)
15
+ .env
16
+ .mcp.json
17
+
18
+ # Docs site build
19
+ site/
20
+
21
+ # Cache & downloads
22
+ cache/
23
+ downloads/
24
+ *.part
@@ -0,0 +1 @@
1
+ 3.13
trovenps-0.4.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Spoked
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,61 @@
1
+ Metadata-Version: 2.4
2
+ Name: trovenps
3
+ Version: 0.4.0
4
+ Summary: Trove — a NoPayStation catalog browser & downloader (PSV/PSP/PS3/PSX/PSM) with resumable downloads, aria2 hand-off, and a TUI.
5
+ Project-URL: Homepage, https://github.com/dreulavelle/trove
6
+ Project-URL: Repository, https://github.com/dreulavelle/trove
7
+ Project-URL: Issues, https://github.com/dreulavelle/trove/issues
8
+ Author: Spoked
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: downloader,nopaystation,playstation,ps3,psp,psvita,tui
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: End Users/Desktop
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Topic :: Utilities
19
+ Requires-Python: >=3.11
20
+ Requires-Dist: httpx>=0.28.1
21
+ Requires-Dist: loguru>=0.7.3
22
+ Requires-Dist: platformdirs>=4.3.6
23
+ Requires-Dist: pydantic>=2.13.4
24
+ Requires-Dist: textual>=1.0.0
25
+ Requires-Dist: tqdm>=4.67.1
26
+ Provides-Extra: monitoring
27
+ Requires-Dist: sentry-sdk>=2.20.0; extra == 'monitoring'
28
+ Description-Content-Type: text/markdown
29
+
30
+ # Trove
31
+
32
+ A fast CLI and TUI for browsing and downloading the
33
+ [NoPayStation](https://nopaystation.com) catalog — PSV, PSP, PS3, PSX and PSM.
34
+ Downloads resume, retry, and verify SHA-256, or hand off to a running aria2.
35
+
36
+ ![Trove demo](docs/demo.gif)
37
+
38
+ ## Quickstart
39
+
40
+ ```bash
41
+ uv sync # from a clone (or `pip install trovenps` once on PyPI)
42
+ nps "tearaway" # search the catalog
43
+ trove # browse in the TUI
44
+ ```
45
+
46
+ `nps` is the command line; `trove` is the full-screen TUI. Add `--json` to any
47
+ search for output a script or AI agent can parse.
48
+
49
+ ## Docs
50
+
51
+ Full usage, the JSON contract, aria2 hand-off, and caching all live at
52
+ **<https://dreulavelle.github.io/trove/>**.
53
+
54
+ ## Develop
55
+
56
+ ```bash
57
+ uv run pytest
58
+ uv run ruff check .
59
+ ```
60
+
61
+ Trove only retrieves what NoPayStation publishes; how you use it is on you.
@@ -0,0 +1,32 @@
1
+ # Trove
2
+
3
+ A fast CLI and TUI for browsing and downloading the
4
+ [NoPayStation](https://nopaystation.com) catalog — PSV, PSP, PS3, PSX and PSM.
5
+ Downloads resume, retry, and verify SHA-256, or hand off to a running aria2.
6
+
7
+ ![Trove demo](docs/demo.gif)
8
+
9
+ ## Quickstart
10
+
11
+ ```bash
12
+ uv sync # from a clone (or `pip install trovenps` once on PyPI)
13
+ nps "tearaway" # search the catalog
14
+ trove # browse in the TUI
15
+ ```
16
+
17
+ `nps` is the command line; `trove` is the full-screen TUI. Add `--json` to any
18
+ search for output a script or AI agent can parse.
19
+
20
+ ## Docs
21
+
22
+ Full usage, the JSON contract, aria2 hand-off, and caching all live at
23
+ **<https://dreulavelle.github.io/trove/>**.
24
+
25
+ ## Develop
26
+
27
+ ```bash
28
+ uv run pytest
29
+ uv run ruff check .
30
+ ```
31
+
32
+ Trove only retrieves what NoPayStation publishes; how you use it is on you.