Socket
Socket
Sign inDemoInstall

ptgscroller

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Protect your apps from supply chain attacks

Install

ptgscroller

PTG Scroller reads scroll files with the .scrl extension and displays the contents in a PyTermGUI session

    0.1.0

Maintainers
1

Readme

PTGScroller

Terminal User Interface eReader

PTGScroller reads scroll files with the ".scrl" extension and displays the contents in the terminal using PyTermGUI

Installation

TODO this section

Usage

Examples

ScrollLibrary Widget
from scroller.widgets import ScrollLibrary
import pytermgui as ptg

with ptg.WindowManager() as manager:
    library = ScrollLibrary(manager)
    exit = ptg.Button("X", lambda *_: window.close())
    window = ptg.Window(exit, library).set_title(library.library_name)

    manager.add(window)

Import the Library class from scroller to build a library instance from a directory. Pass the WindowManager to the ScrollLibrary class to build the library window. This example can be found in scripts/scrolllibrary_example.py.

Scrollmake

Scrollmake is a command-line tool to make scroll files. You can point the script at a directory with a content xml and image media to create the scroll file. Please see the module for usage information.

FAQs


Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc