Skip to content

siding is a lightweight framework to assist in the creation of PySide applications with support for multiple-instance detection, multiple profiles, easy to use styles, and a flexible plugins system.

apt-shansen/siding

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

siding

siding is a lightweight framework to assist in the creation of PySide applications with support for multiple-instance detection, multiple profiles, easy to use styles, and a flexible plugins system.

siding is available under the Apache License, Version 2.0.

Installation

siding isn't finished yet, but you can still download it if you'd like. You can use pip:

pip install siding

Or if you still like the old ways:

easy_install siding

And, of course, you can always grab the latest code off github.

git clone git://github.com/stendec/siding.git

siding requires Python 2.7 for now, with possible support for Python 3 later on.

Short Example

Why use siding? Here's why. The following application has support for only running a single instance, profiles, styles, and plugins:

import siding
import sys

# Create the application.
app = siding.QSingleApplication(sys.argv)

# Initialize everything.
siding.profile.initialize(True)
app.ensure_single()
siding.plugins.initialize(True)
siding.style.initialize(True)

# Load my code, whatever it is.
import my_window
my_window.show()

# Connect a simple signal so we can receive arguments from any other
# instances that try to open.
app.messageReceived.connect(my_window.handle_args)

# And run the application.
app.exec_()

About

siding is a lightweight framework to assist in the creation of PySide applications with support for multiple-instance detection, multiple profiles, easy to use styles, and a flexible plugins system.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%