[Twisted-Python] Problem with txampq_helper ampqFactory: closing connections

2014-01-29 Thread Andrew Francis
Hi Folks:

I need to maintain a programme that uses txampq_helper library ampqFactory. The 
current program does not close the connection to the underlying rabbitmq (the 
code is a mess). 

Can I simple call theampqFactory.protocol.transport.loseConnection()?
Do I need to unregisterProducer() first (in ampqFactory, i see stuff like 
resumeProducing() so I assume it is a producer)

Cheers,
Andrew___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Protocol for socket.io

2014-01-29 Thread Laurens Van Houtven
Hi Andrew,


SockJS is a different project from socket.io; it just tries to solve a
similar problem (WebSockets everywhere).

If you literally need socket.io and not a similar thing in the same problem
space, then SockJS will not help you.

You can read about the spec for SockJS here:
https://github.com/sockjs/sockjs-protocol

hth
lvh
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Protocol for socket.io

2014-01-29 Thread Andrew Francis
Hi Laurens and Folks:

Thanks for all the replies. I'll try desert-sockjs first. Looking through the 
documentation, it is not clear to me how I would handle socket.io events 
(unfortunately I am new to socket.io). There doesn't seem to be an event 
decorator like Socket.io for Tornadio2. I am looking the documentation 
describing what an event looks like at the HTTP level.

Cheers,
Andrew



On Saturday, January 25, 2014 1:52 PM, Laurens Van Houtven <_...@lvh.io> wrote:
 
Hi Andrew,


No idea about socket.io, but if you're free to pick whatever you want, and you 
just want "websockets, damnit!" then sockjs is actually better, and has 
excellent twisted support.

hth
lvh___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] Python Events Calendar (Now with Twitter feed)

2014-01-29 Thread Laurens Van Houtven
Hi Twisters,


Marc-Andre Lemburg from the PSF has been taking care of a Python events
calendar for a while. It now has a twitter feed making it easier to find
new events.

If you're doing any Python-related events, such as of course Twisted
sprints, or maybe Python user group meetups, please don't hesitate to
contact the PSF to get your event added.

M.-A.'s e-mail as been forwarded below.

hth
lvh


-- Forwarded message --
From: M.-A. Lemburg 
Date: Wed, Jan 29, 2014 at 11:20 AM
Subject: [psf-members-ann] ANN: Python Events Calendar - Now with Twitter
feed
To: PSF Members Announcements 


[Please help spread the word by forwarding to other relevant mailing lists,
 user groups, etc. world-wide; thanks :-)]


ANNOUNCING

   Python Events Calendars - Now with Twitter feed

   maintained by the Python Software Foundation (PSF)
and a group of volunteers


INTRODUCTION

As some of you may know, the PSF has put together a team of volunteers
who are maintaining a central Python events calendar. We currently have
two calendars in place:

 * Python Events Calendar - meant for conferences and larger gatherings
   focusing on Python or a related technology (in whole or in part)

 * Python User Group Calendar - meant for user group events and other
   smaller local events

The calendars are displayed on http://pycon.org/ and in a smaller
version in the sidebar of the http://python.org/ website.

You can subscribe to the calendars using iCal and RSS feeds and
also embed the calendar widgets on your sites. Please see our wiki
page for details:

https://wiki.python.org/moin/PythonEventsCalendar

The calendars are open to the world-wide Python community, so you
can have local user group events, as well as regional and international
conference events added to the calendars.


NEWS

We have now created a Twitter feed for the calendars, which you can
follow to get updates on all newly added events:

https://twitter.com/pythonevents

The tweets come with links to the event listings, which you can
add to your own Google calendars with a single click.


ADDING EVENTS

If you want to have entries added to those calendars, please write
to eve...@python.org and include the following information:

 * Name of the event
 * Type of the event (conference, bar camp, user group, etc)
 * Focus on Python and approximate size
 * URL
 * Location and country
 * Date and time (if relevant)

For recurring events, please also include a description of the
recurrence in a way that's compatible and supported by Google
calendars.


MORE INFORMATION

More information on the calendars, the URLs, feed links, IDs, embedding,
etc. is available on the wiki:

https://wiki.python.org/moin/PythonEventsCalendar

Enjoy,
--
Marc-Andre Lemburg
Director
Python Software Foundation
http://www.python.org/psf/
___
psf-members-announce mailing list
psf-members-annou...@python.org
https://mail.python.org/mailman/listinfo/psf-members-announce
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python