Skip to main content

fwif

License

fwif (Floating Window Framework) is a powerful Python framework built on top of Tkinter. It allows users to create highly configurable, keyboard-driven graphical user interfaces (GUIs) that are ideal for scratchpad-style applications. With this framework, you can easily build custom alternatives to the scratchpads used with i3 or create your own keyboard-centric applications.

Features

  • Keyboard-driven: Your fwif applications are keyboard-driven, you can easily associate keybindings with the different functions of your application.
  • Floating window support: The framework sets the necessary window manager (WM) attributes for your applications to behave like floating windows by default. This is especially useful when integrating your applications with tiling window managers like i3.

Getting Started

To get started with fwif, follow these steps:

  1. Install the framework by running the following command:

    pip install fwif
    
  2. Import the BaseApp class from the framework in your Python code:

    from fwif import FloatingWindow
    
  3. Create a subclass of BaseApp to define your custom application.

  4. Override the setup_keybindings method to add your custom keybindings:

    class MyApp(FloatingWindow):
     def __init__(self):
         super().__init__()
    
     def setup_keybindings(self):
         super().setup_keybindings()
         self.keybindings.add('h', self.hello)
    
     def hello(self):
         print("Hello, World!")
    
  5. Run your application by instantiating your subclass and calling the run() method:

    app = MyApp()
    app.run()
    

For more details and examples, please refer to the example provided.

Contributing

Contributions are welcome! If you find any issues, have suggestions, or want to contribute new features or improvements, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Metadata

Release files for fwif 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fwif 0.1.0
File Size Uploaded Provenance Actions
fwif-0.1.0.tar.gz 2.4 kB Without provenance Details for fwif-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fwif 0.1.0
File Interpreter ABI Platform Actions
fwif-0.1.0-py3-none-any.whl Python 3 none any Details for fwif-0.1.0-py3-none-any.whl

Total release size: 5.4 kB

Release files / fwif-0.1.0.tar.gz

Download URL fwif-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
deb36e4f19df1f995c0f73126521c5b60f463bd853ae8896506884d488aef927
BLAKE2b-256 checksum
How to use checksums
165e0227e2b5d94c8670fcf0da8481dd1697d59f22c03f9fc45335ea7b18ab1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.3 Linux/6.3.6-arch1-1

Release files / fwif-0.1.0-py3-none-any.whl

Download URL fwif-0.1.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b263290f56b174ad5d5ab9d12b263942fc01a9bf88f4d7d15cebfcd0c7b8148e
BLAKE2b-256 checksum
How to use checksums
abd44ab6714397e397fe789f0c0bde210d3358f223f9d1d8e2da4f8d9fcf05c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.3 Linux/6.3.6-arch1-1

Security for fwif 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page