Skip to main content

Monitor udev events like usb devices being connected, and execute actions upon evnet

Project description

Segno UI - An open source offline QR Code generator

This program is a graphical user interface for the segno library that allows to create QR codes.

While segno has a nice CLI interface, a graphical user interface fills the gap for quick usage.

The main goal of Segno UI is to provide a QRCode generator that doesn't need any online tools, which guarantees that the data you're encoding doesn't leave your computer. Using online generators needs you to put your trust in developper behind the tool, hoping that your data won't be stored or reselled.

Quick usage

You may find precompiled binaries for Windows on the release page.

We don't provide precompiled binaries for Linux or MacOS, as those generally come with a Python interpreter already.

Install with:

python3 -m pip install segno_ui

Use with:

segno_ui.py

Depending on your system, you might need to install tkinter. Install with

System command
RHEL 8+, Fedora and clones dnf install python3-tkinter
RHEL and earlier Fedora and clones yum install tkinter
Debian, Ubuntu, Mint based sudo apt-get install python-tk
Arch based sudo pacman -S tk
Windows Select 'tk' when installing Python

Graphical user interface

Graphical user interface supports importing and exporting presets using json files. QRCode generation is made on changes.

image

Technical stuff

Basically, Segno UI is a wrapper using the excellent FreeSimpleGUI toolkit allowing to create multiplatform GUI interfaces easily.

It should be quite future proof since all properties that go into the QR codes are dynamically generated by reading the qrcode maker function signatures. Hence, if segno adds a new parameter, it will automatically exist in Segno UI.

Currently, the windows executable is a compressed file which will take a couple of seconds to load. While Nuitka can add a splash screen while loading, this is not yet supported on MinGW compiler.

Windows compilation

windows compilation was done using Nuitka

In order to compile, you'll need Nuitka a C compiler (both MinGW and Visual C are accepted).

Install compiler

Update: With Nuitka 1.2, we don't need to manually download the compiler anymore. It will propose to download a compiler from here

We'll download mingw as compiler (project URL https://mingw-w64.org/) Your compiler should be in those paths depending on your target architecture

C:\MINGW\mingw32\bin\gcc.exe
C:\MINGW\mingw64\bin\gcc.exe

Install nuitka

c:\python37-32\python.exe -m pip install nuitka ordered-set zstandard

Compilation

Here are the compiling instructions so you can create your own segno distribution files for Windows.

The following command should produce a target called segno_ui.exe which is portable for Windows 7 or newer.

c:\python37-32\python.exe -m nuitka --onefile --plugin-enable=tk-inter "c:\segno_ui\segno_ui.py"

Why

I've built this tool to quickly create / store settings for some vCards / MeCards without going online.

All help is welcome ;)

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

segno_ui-1.0.5.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

segno_ui-1.0.5-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file segno_ui-1.0.5.tar.gz.

File metadata

  • Download URL: segno_ui-1.0.5.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for segno_ui-1.0.5.tar.gz
Algorithm Hash digest
SHA256 08cf5f677dbc7f078d7827b4fa35a812350d8eb9d01ecfbf35b4f9a91e313a23
MD5 e9bce3ef8e80ff532b3e834fa6159d6a
BLAKE2b-256 ea75856a770a9a429e8b6e5e2774aaf06fcb6336b33e4880981025be0eb4f43c

See more details on using hashes here.

File details

Details for the file segno_ui-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: segno_ui-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for segno_ui-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a4b3235cac7b02c9bf95b7019e178a2ea7ea778b0c147997f00c3d4028911113
MD5 aee5124c2ca12b8e86475780deb78988
BLAKE2b-256 8a573116d492332bd2df52fa4287ef6500ac5486deb9de23ad98255100fa8bb4

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