+ All Categories
Home > Technology > Python in telecommunications (in 7 minutes)

Python in telecommunications (in 7 minutes)

Date post: 13-Jul-2015
Category:
Upload: imasters
View: 7,633 times
Download: 0 times
Share this document with a friend
Popular Tags:
20
Python in telecommunications in 7 minutes
Transcript

Pythonin telecommunications

in 7 minutes

About me

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

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)

BATTERIES INCLUDED

What'S 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!!!

Row 1 Row 2 Row 3 Row 40

2

4

6

8

10

12

Column 1Column 2Column 3

›A complex world, but easy to deploy and understand

Python in action›Backup scripts›Subscribers migration›Software adaptations›Testing drive tools›Applications GUIs (TkInter, Gtk and Qt)

›Subscriber provisioning›Simulators

PyQt + qtdesigner def ShowUI(self):self.u = ui

self.vcs = uic.load(“mygui.ui”)

self.uil.show()

QtDesigner = RAD

Easy callback mapping

XML-rpc

XML-rpc

Parsing response code as dictionary

Threads supported

Can I replace other languages by python?

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 freeze

Perl code

Python code

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


Recommended