Ian Ward's email:
first name at this domain
wardi on OFTC, freenode and github
I will be giving a talk at the September meeting of the Ottawa Python Authors Group covering some documentation work I have done recently using Sphinx domains and a custom Pygments lexer.
I am working on an embedded device for a client that includes a proprietary text command language. Sphinx supports documenting many common languages like C, Python and Ruby, but with the 1.0 release it now allows adding "domains" for new languages. I have used this feature to create a domain for this command language.
Sphinx uses Pygments to provide syntax hilighting for source code examples. None of the available options fit this command language so I also created a custom lexer for this command language in just a few lines of code.
My talk will cover creating these extensions for Sphinx and Pygments.
This is the text from the Nontrivial Django Forms talk I gave last Tuesday at the April meeting of the Ottawa Python Authors Group.
This talk starts where the Django forms documentation leaves off.
Bellingham, WA, April 24-25 (Exact time TBD)
Using Urwid and Python Console Applications
O'Reilly's Open Source Convention (OSCON)
Portland, OR, July 22 (Thursday, 1:40pm)
Great User Interfaces in the Terminal Window
The development version of Urwid now has support for display and input on a Crystalfontz 635 LCD panel. These are small LCD screens that fit in a PC's 5¼" drive bay. They have six buttons, four red/green LEDs and a 20x4 character display with an adjustable backlight.
This release includes many new features developed since the last major release. Urwid now supports 256 and 88 color terminals. A new MainLoop class has been introduced to tie together widgets, user input, screen display and an event loop. Twisted and GLib-based event loops are now supported directly. A new AttrMap class now allows mapping any attribute to any other attribute. Most of the code base has been cleaned up and now has better documentation and testing. Lots of other improvements are listed in the changelog.
I set out to create a generic class that would extend a python list by adding a "focus". The focus is an index in the list, and it will be moved if any items are added or removed before the focus in the list. It could be used to keep track of where you are in a list that is changing while you are processing it, but I wrote it as part of making my Urwid container widgets more user-friendly.
The result is a little more complicated than I imagined.
This is a video of the Django 1.1 talk I gave last night for the Ottawa Python Authors Group. We were bumped out of our reserved room so I did the talk in the pub. The timing worked out quite well, I just finished answering questions as game 6 was starting in the background.
Thank you to Andrew Ross and FOSSLC for doing the recording and setting everything up.
You will need Flash 10 to hear the audio for this presentation. If you don't like flash, please send a polite note to the ePresence people asking for them to support other formats.
Update: "we got screwed by the company we were dealing with for the software & hosting and the talk is lost" And sorry, I have no back-up either. The text from this talk is still available.
This is the text from the Django 1.1 talk I gave on Friday May 15 at Algonquin College for FOSSLC's Geocamp/Summercamp 2009.
I have tried to format this in a way that is well suited to skimming and easier to access from the web than reading the original slides. If you find this useful, please let me know.
I stood up in front of a few hundred PyCon attendees in the afternoon of March 28 to deliver a short lightning talk on Urwid. I have now posted the "slides" from that talk in the urwid-contrib repository.
The video of my talk is available on the PyCon site if you don't mind waiting for the video to load half way (I couldn't get seeking to work from here). The video quality of the presentation is poor, however, so I would suggest running it yourself it you're interested.
This is how you can get it running on your computer:
hg clone https://excess.org/hg/urwid-contrib hg clone https://excess.org/hg/urwid ln -s ../urwid/urwid urwid-contrib urwid-contrib/pycon200903.py
The slides use Urwid's new 256-colour support and palette setting features. The latter is only supported by xterm, so for the full effect be sure to run it with xterm.
« page 1 2 3 4 5 6 7 page »