Questions tagged [pypubsub]

27 questions
0
votes
1 answer

Loading Pub/Sub Message to BigQuery with Python

I am tryting to pull Pub/Sub message and load to message to BigQuery with python. I can pull the messages but I could not be able to load it to BigQuery. Here is a code example that write. Do you know how to load this message to BigQuery by using…
0
votes
1 answer

How to listen to a frame size/move change event in wxpython

What is the correct way to publish.listen to a size change event in wxpython? I'm sure this is simple, but I can't get my head around how to implement this between classes well (please forgive any newbie obvious errors). I can send the event using…
alex
  • 3
  • 2
0
votes
1 answer

Python multithreading with pypubsub and wx

I have a program that is structured like this: The GUI is made with wxPython and is in the Main Thread. After launching the application, the GUI thread creates Thread1, which creates a static class Class1, which creates Thread2. Thread1 talks with…
Deffo
  • 191
  • 1
  • 8
  • 21
0
votes
1 answer

Controller cant get messege from View PyPubsub

Hi i trying to write a simple MVC application with wxPython and PyPubsub. In my View file I send message to Controller using simle window with one filed, in this field i put name of the a new user, when i hit button 'Create' it should send messege…
Alex
  • 5
  • 1
0
votes
1 answer

pub.sendMessage is not working in my code

I am getting error after running code with below class. Clueless right now, please help from __future__ import division from threading import Thread from pubsub import pub import os import…
user2774120
  • 139
  • 3
  • 16
0
votes
1 answer

wxpython Python knowing when threads have finished -> stuck

I'm continuing with my program of doing computer checks. It's WXPYTHON based. The program shows an interface with labels and a "run" button when the button is clicked it launches the "doCheck" function in the mainFrame class the doCheck then…
Jasper
  • 121
  • 8
0
votes
1 answer

Will PubSub forward message to dead letter topic after delivery_attempt exceeds max_delivery_attempts

My subscriber looks like this: from google.cloud import pubsub_v1 from google.cloud.pubsub_v1.types import DeadLetterPolicy dead_letter_policy = DeadLetterPolicy( dead_letter_topic='dead_letter_topic', max_delivery_attempts=5, ) topic_path…
0
votes
1 answer

pubsub to bigquery without dataflow using python

I am looking to execute a code to read data from pub sub and store into a Big Table using python code.The requirement is not to use data flow options. Could you please let me know for any template or sample code to achieve the same. Thanks in…
v.rajan
  • 9
  • 1
  • 6
0
votes
1 answer

mixed use of PyPubSub and wxPython's built-in pubsub module

I have an application engine where in-program communication is done using PyPubSub. Planned is a somewhat responsive GUI that e.g. enables/disables widgets based on the model state. This would be implemented using wxPython. As wxPython has as an own…
jake77
  • 1,892
  • 2
  • 15
  • 22
0
votes
1 answer

Compatibility Between PyPubSub and PyQt

I have been trying to find the most elegant way to decouple my programs from the GUI, such that I can change my front-end without needing to re-write a whole lot of code. I work with threads a lot, so I often have the need to notify the main GUI…
Javalin597
  • 163
  • 2
  • 7
0
votes
1 answer

How can I plot a deque whenever it gets a value, using pyqtgraph and pypubsub?

I'm trying to make a program in which an instance sends values to another instance and it plots them continuously. I programmed this using pypubsub to send values from one instance to the other. The other instance gets values and store them into a…
maynull
  • 1,936
  • 4
  • 26
  • 46
0
votes
1 answer

Compiling pubsub with py2exe

I use wx.lib.pubsub (Windows, Python 2.6) When run my app with interpreter, the version of pubsub is 1 When i compile and run my app, the version of pubsub is 3 Why ? How can i force compiled version to run pubsub api v1 ? from distutils.core import…
1
2