Luc Stepniewski's Blog
Luc Stepniewski's Blog
Skip to content
  • About
  • Author
  • Privacy Policy

python

There are 4 posts tagged python (this is page 1 of 1).

How to make the simplest unittests in Python

Testing your code is nearly a requirement (even more so in Ruby). Unittests are now the most vital elements for evaluating the quality/viability of a project. I was a little jealous of Ruby where you don’t have so much to write to implement unittests. Here is a simple example: require “mymodule” require “test/unit” class TestMyModule […]

in python, ruby | 376 Words

Default behaviour in implementation of STOMP protocol in RabbitMQ with python

Why STOMP? Why STOMP, and not directly AMQP, as I’m using RabbitMQ. No real reason, but the fact that there are less dependencies on a STOMP client, as it’s just a socket with text sent. Implementations There are several implementations of the STOMP protocol for Python. The module I chose is python-stomp (version 0.2.9), from […]

in network, python, rabbitmq | 465 Words

How to dial a number using Asterisk and Python

I didn’t find any example in Python on how to Dial a number from an Asterisk server and link it to another channel. So here’s a quick code to do it. You just need to have a manager defined in your /etc/asterisk/manager.conf defined. import socket   HOST=”192.168.1.116″ PORT=5038   p = “””Action: login Events: off […]

in asterisk, python, voip | 176 Words

Making and deploying a Twisted project as a service under Windows

What is the goal? The goal is to implement a program in Python+Twisted (using PB for network access) under Windows XP or 2000+, that can be run before a user logs on, so it has to be a windows service, launched automatically, at boot. Another goal is to show some developement patterns in Twisted. You […]

in python, software, twisted | 4,072 Words

Bitcoin Donations

Recent Posts

  • Blocking NAPTR DNS queries from Asterisk pjsip
  • Three different ways to connect two Go services with gRPC
  • Unexpected change in Neovim configuration storage
  • Bye bye vim powerline, hello airline
  • Combining jQuery Mobile and Flask-WTF may give you headaches, or why dashes suck in Python variable names

Recent Comments

  • Portable Franz on HOWTO Installation of OpenWRT on a WGT634U usb router
  • Security Company Manchester on Security patching WordPress themes against Cross-Script Attacks (XSS)
  • Murat on Security patching WordPress themes against Cross-Script Attacks (XSS)
  • güvenlik kamerası on Security patching WordPress themes against Cross-Script Attacks (XSS)
  • Pim Bollen on How to recover from Cyrus when you have some DB errors

Blogroll

  • Aïkido Club Asnières
  • All Japanese all the time
  • Cours de Japonais
  • Gradstein Family Tree
  • OxyRadio, Webradio Libre
  • Twisted Matrix

Subscribe in a reader

Chess Puzzle of the Day

Tag Cloud

Advanced Message Queuing Protocol asterisk automatic autoprovisioning chess children click to dial code consumers deployment Development Tools dhcp direct example http server Internet protocols kid latex learning mate mate in one mediawiki one originate pdf pgn programming protocol provisioning puppet python python projects round-robin ruby script sip sip phones stomp stompy Technicolor tests tftp Thomson unittests voip

Archives

  • December 2024
  • September 2018
  • January 2016
  • February 2014
  • February 2013
  • December 2012
  • December 2011
  • December 2010
  • September 2010
  • August 2010
  • January 2010
  • December 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • September 2008
  • April 2008
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • September 2006
  • June 2005
  • February 2004
  • December 2003
  • November 2003
Independent Publisher empowered by WordPress
Mastodon