Skip to main content

Terminal UI for managing card collections and exporting to Excel

Project description

coolstuffscrape

Install and run

  • Install (from PyPI when published): pip install coolstuffscrape
  • Install from source: see Install from source below.
  • Run: coolstuffscrape
    On first run the app creates the database and app data directory automatically.
  • Optional setup: coolstuffscrape init — creates the database and app data dir only (no TUI). Use for scripting or CI.

Install from source

Requires Python 3.13 or newer.

  1. Clone the repo and go into the project directory:
    git clone https://github.com/your-username/scripting.git
    cd scripting
    
  2. Install the package in editable mode using Python 3.13:
    pip install -e .
    
    If you have multiple Python versions (e.g. 3.11 and 3.13) and get an error like "Package requires a different Python: 3.11.x not in '>=3.13'", use the 3.13 interpreter explicitly:
    • Windows (Python launcher): py -3.13 -m pip install -e .
    • Windows (full path): "C:\Path\To\Python313\python.exe" -m pip install -e .
    • macOS/Linux: python3.13 -m pip install -e . or pip3.13 install -e .
  3. Run the app (with the same Python you used to install):
    • Windows: py -3.13 -m coolstuffscrape or just coolstuffscrape if that environment is active.
    • macOS/Linux: coolstuffscrape or python3.13 -m coolstuffscrape.

One-liner from repo (Windows, Python 3.13): py -3.13 -m pip install -e . && py -3.13 -m coolstuffscrape

Overview

coolstuffscrape is a terminal user interface for managing card collections without constantly switching between browser tabs. Instead of searching on a website and juggling multiple pages, you stay inside this app, search for cards, and build collections that can later be exported into a template.

flow

  • Search: Press s to enter Search then press / to focus the search, then search for the card you want.
  • Browse results: Use the arrow keys to move through the results table.
  • Add cards: Press space to select a row and then press a to add that card to the current collection.
  • Adjust quantities: Use - to decrease the quantity for the selected card, and use Shift + + to increase the quantity.

Collections

  • Save collection: Press Ctrl+S to save the current collection.
  • Rename or delete: After saving, you can rename or delete collections from within the app.
  • Export: Press x to export the collection.

Imports

  • Import .ydk files: Press i to import a .ydk file and turn it into a collection you can review and edit.

Publishing (maintainers)

  • CI: On push/PR to main or master, GitHub Actions builds the package and runs coolstuffscrape init to verify the install.
  • PyPI: Creating a GitHub Release (tag + “Publish release”) triggers a workflow that builds and publishes to PyPI.

Setup for PyPI:

  1. Create an API token at pypi.org/manage/account/token/ (scope: entire account or just this project).
  2. In the repo: Settings → Secrets and variables → ActionsNew repository secret → name PYPI_API_TOKEN, value = the token.
  3. To release: create a new Release (e.g. tag v0.1.0), publish it. The “Publish to PyPI” workflow will run and upload the package.

Optional: PyPI Trusted Publishing lets you drop the token; remove the password input from the workflow and add the publisher on PyPI.

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

coolstuffscrape-0.3.0.tar.gz (46.3 kB view details)

Uploaded Source

Built Distribution

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

coolstuffscrape-0.3.0-py3-none-any.whl (55.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coolstuffscrape-0.3.0.tar.gz
  • Upload date:
  • Size: 46.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for coolstuffscrape-0.3.0.tar.gz
Algorithm Hash digest
SHA256 912a0834133ac7435bbe89e4c12cc42792e810ddca16874508bce11533aaacff
MD5 18edda467f8711989073ed0dd9a3f19d
BLAKE2b-256 931485d528d749eba716d4070ac4292427bdaec11e17310e3302eaf35ea5703f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coolstuffscrape-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1ebed88eb551ac04d1adb74af5703422c44fb6ade5fac6e0128bbfbf8b5b160
MD5 6c217e1c8a61c4f73f91a9b081e12ecf
BLAKE2b-256 5fb38552d8ea92f4b3e9e5778be0e6387e7d7b2d7a22e56ea7622f2370c80302

See more details on using hashes here.

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