[Twisted-Python] web on my all

2016-02-06 Thread Alexey Panyovin
Hello! Prompt web framework to work with twisted. Need GET / POST / Sun and the opportunity to work with application objects. Now I look in the direction of Klein. Whether work with Flask or the Pyramids. If it is possible a small example, or where to look. Thank you in advance Alexey

Re: [Twisted-Python] Asynchronously initializing objects in twisted.web?

2015-09-08 Thread Alexey Panyovin
from twisted.webimport server, resource from twisted.internetimport reactor, defer class Simple(resource.Resource): isLeaf =True def render_GET(self, request): return "Hello, world!" def call_me(): d = defer.Deferred() print "Get something" d.callback("success") return d

Re: [Twisted-Python] conch defer for dataReceived

2015-07-29 Thread Alexey Panyovin
his case one channel = one command = one respons 29.07.15 11:56, Glyph пишет: On Jul 28, 2015, at 10:02 PM, Alexey Panyovin <mailto:a...@runtel.ru>> wrote: I'm use self made queue for my task. I'll try to amp. Thanks glyph! Good luck Alexey! Thanks for using Twist

Re: [Twisted-Python] conch defer for dataReceived

2015-07-28 Thread Alexey Panyovin
I'm use self made queue for my task. I'll try to amp. Thanks glyph! С уважением, -- Паневин Алексей Коммерческий директор ООО Рантел e-mail: a...@runtel.ru Tel: +7 (495) 134-30-60 (1011) Tel: +7 (906) 680-04-04 29.07.15 3:40, Glyph Lefkowitz пишет: On Jul 28, 2015, at 10:09

[Twisted-Python] conch defer for dataReceived

2015-07-28 Thread Alexey Panyovin
Hello all. Help me please. Tell me how to wrap in Defer dataReceived. For example, I need to execute a command and send receive data in callback. The only yet I found - to use the session number sent commands and replies received Can one example. Thanks in advance! -- Alexey

Re: [Twisted-Python] any chat (comet) application for twisted web

2011-11-02 Thread Alexey Ganzha
)? Thanks again for Your help, guys. Twisted is beautiful. On 11/02/2011 01:24 AM, Glyph wrote: > On Nov 1, 2011, at 3:57 PM, Alexey Ganzha wrote: > >> Hello everebody. >> May be somebody knows open source chat app for twisted web? >> Possible not the complete app, but just

Re: [Twisted-Python] any chat (comet) application for twisted web

2011-11-01 Thread Alexey Ganzha
Thank You very much! On 11/02/2011 01:24 AM, Glyph wrote: > On Nov 1, 2011, at 3:57 PM, Alexey Ganzha wrote: > >> Hello everebody. >> May be somebody knows open source chat app for twisted web? >> Possible not the complete app, but just skeleton. Possible some >&g

[Twisted-Python] any chat (comet) application for twisted web

2011-11-01 Thread Alexey Ganzha
Hello everebody. May be somebody knows open source chat app for twisted web? Possible not the complete app, but just skeleton. Possible some snippets, pieces... Will appreciate any suggestions. Thanks. ___ Twisted-Python mailing list Twisted-Python@twis

[Twisted-Python] Just curious about EINTR in socket.recv()

2010-09-14 Thread Alexey
socket in twisted either? Sorry, if that is a non-issue, or already tracked, I'm just curious. -- Alexey. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Is that behavior of t.i.stdio.StandardIO known?

2010-07-29 Thread Alexey
eactor). (#2259) > """ > > So, upgrade to Twisted 10.1. Great!!! Thanks a lot! -- Alexey. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Is that behavior of t.i.stdio.StandardIO known?

2010-07-29 Thread Alexey
The code is in attachment. I run it on Debian/Linux, twisted 10.0.0 When you run it on a terminal, it works by prefixing the data you enter with "dataReceived: " and outputting that back to terminal. $ ./program.py i: blabla o: dataReceived: 'blabla o: ' i: ^D o: readConnectionLost(input is done

Re: [Twisted-Python] What is the minimum effort solution to make inetd-managed twisted-based application?

2010-07-29 Thread Alexey
_ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python -- Alexey. ___ Twisted-Python mailing list Twisted-Python@twis

Re: [Twisted-Python] What is the minimum effort solution to make inetd-managed twisted-based application?

2010-07-14 Thread Alexey
st() doStop() Well, I understand, you will veto them arguing by lot of code using old names, but I am interested to know will they break the abstraction of protocol factory? Can please anyone explain the asymmetry of the interfaces of protocol factories and tell how can it be useful for me.

Re: [Twisted-Python] What is the minimum effort solution to make inetd-managed twisted-based application?

2010-07-13 Thread Alexey
-based transport, that is, full-duplex, half- > >closeable, with support > >of getting the remote endpoint address and with ability to start TLS on > >top of it > >and without implementing every that feature myself :) > > Hopefully if we can figure out how to