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.1.0.tar.gz (44.4 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.1.0-py3-none-any.whl (53.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for coolstuffscrape-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cb51068083f75039a58796a9067607020a2bcecf7ffe486364d00091a820699e
MD5 e150b0b59488d49067353fffea0aa412
BLAKE2b-256 f6f661207f07d0d117fc8466de0431e522baaebf1a906e41cd9e16adc5862449

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coolstuffscrape-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a79a5aba7685805f8b3b3c49e841674654d010e91d98922eef38254136536844
MD5 2b6c235a49ac13675b874ab0e7a52151
BLAKE2b-256 70319f3030c13898ac72ed66649b8aa3109ad21c3d6eb7ff9d1458d267b8c15f

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