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.
  • You can also press b to open the file explorer and select the file
  • o to write the path

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.2.tar.gz (47.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.2-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coolstuffscrape-0.3.2.tar.gz
  • Upload date:
  • Size: 47.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.2.tar.gz
Algorithm Hash digest
SHA256 92b4c331f5d125f72eedb56ae3ae5e4c633e3cdb71335463a7035b7499028f64
MD5 46c71440d5b55906be727abb36dc7b1b
BLAKE2b-256 16090d89fa451c0c9cb0ee409fba252aae518ddebc65a64b70e5c2446fa3016c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coolstuffscrape-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6450eb3d3a107f407f2dfe6576f3fb016336bb089c4bbc5811362d8633777615
MD5 f8d079d5b3e5c667ecb8892a26de8341
BLAKE2b-256 f12a9f1f2cb5fe8866ebd60c000547f8f82bb8062a2f71c28e4b4586c867e432

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