Python in telecommunications (in 7 minutes)

8,754 views

Published on

apresentação de Helio Loureiro no 7Masters - Encontro iMasters de Especialistas em Python - abril/2012.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
8,754
On SlideShare
0
From Embeds
0
Number of Embeds
5,423
Actions
Shares
0
Downloads
31
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Python in telecommunications (in 7 minutes)

  1. 1. Pythonin telecommunications in 7 minutes
  2. 2. About me
  3. 3. Helio loureiro› Working in BSS (Business Support System)› Rating area (prepaid)› Linux advocate› Used to other *nixes flavors (Solaris, FreeBSD, etc)› Skills on network/broadband (ADSL, routing, etc)› C, C++ programmer› PHP, Awk, Perl and Shell programmer too› Python user and programmer (and passionated)› Since python-1.5
  4. 4. Beauty of python› Fast prototyping› Batteries included (very important!!!)› Scripts working from 2.1 to 2.7 (so far)› Scripts or OOP, you decide› Complex programs or simple scripts› Bytecode generation› Binary creation (via freeze)
  5. 5. BATTERIESINCLUDED
  6. 6. WhatS telecom from BSS view? › Solaris and Linux systems › Oracle, MySQL and Sybase databases › LDAP, XML-rpc, SOAP › Binary executables, Perl, Java, Shell scripts and... › PYTHON!!!
  7. 7. 12108 Column 1 Column 26 Column 34 › A complex world, but easy to20 deploy and understand Row 1 Row 2 Row 3 Row 4
  8. 8. Python in action› Backup scripts› Subscribers migration› Software adaptations› Testing drive tools› Applications GUIs (TkInter, Gtk and Qt)› Subscriber provisioning› Simulators
  9. 9. PyQt + qtdesigner def ShowUI(self): self.u = ui self.vcs = uic.load(“mygui.ui”) self.uil.show() QtDesigner = RAD
  10. 10. Easy callback mapping
  11. 11. XML-rpc
  12. 12. XML-rpc
  13. 13. Parsing responsecode as dictionary
  14. 14. Threads supported
  15. 15. Can I replace other languagesby python?
  16. 16. Real example of usage› A script to update subscriber accounts› Seeking information into 3.5 M subscribers database› Comparing account expiration dates› Updating accordingly required accounts› Using XML-rpc for updating› Started in Perl, but perlcc crashed› Moved to Python, compiled with
  17. 17. Perl code
  18. 18. Python code
  19. 19. Python everywhere › You can use python everywhere › From simple scripts to complex and multi- threaded solutions › You can avoid external modules/library › No “framework” excuse

×