Article Network

Python LDAP Applications: Part 2 - LDAP Opearations

by Matt Butcher | December 2007 | Architecture & Analysis Linux Servers Open Source

This is the second article in the article mini-series on Python LDAP applications by Matt Butcher. For first part please visit this link.

In this article we will see some of the LDAP operations such as compare operation, search operation. We will also see how to change an LDAP password.

Read Python LDAP Applications: Part 2 - LDAP Opearations in full

Python LDAP Applications: Part 3 - More LDAP Operations and the LDAP URL Library

by Matt Butcher | December 2007 | Architecture & Analysis Linux Servers Open Source

This is the third article in the article mini-series on Python LDAP applications by Matt Butcher. The first part deals with the installation and configuration of Python-LDAP library, and the binding-unbinding operations, and changing of the LDAP password. The second article takes a look at some of LDAP operations.

In this article we will see some more LDAP operations such as add operation, delete operation etc. Then we will take a look at LDAP URL Library.

Read Python LDAP Applications: Part 3 - More LDAP Operations and the LDAP URL Library in full

Python LDAP Applications: Part 4 - LDAP Schema

by Matt Butcher | December 2007 | Architecture & Analysis Linux Servers Open Source

Welcome to the fourth and the last article in the Python LDAP applications series by Matt Butcher. In previous three articles we have seen the installation and configuration of Python-LDAP library, and the binding-unbinding operations, and changing of the LDAP password as well as LDAP operations, and LDAP URL library and some more LDAP operations.

 

In this article, we will take a brief look at what might be the most complex module in the Python-LDAP API, the ldap.schema module.

Read Python LDAP Applications: Part 4 - LDAP Schema in full

Python Libraries for Geospatial Development

by Erik Westra | June 2013 | Open Source

This article by Erik Westra the author of Python Geospatial Development - Second Edition, examines a number of libraries and other tools which can be used for geospatial development in Python.

More specifically, we will cover:

  • Python libraries for reading and writing geospatial data

  • Python libraries for dealing with map projections

  • Libraries for analyzing and manipulating geospatial data directly within your Python programs

  • Tools for visualizing geospatial data

Note that there are two types of geospatial tools which are not discussed in this article: geospatial databases and geospatial web toolkits. Both of these will be examined in detail later in this book.

Read Python Libraries for Geospatial Development in full

Python Multimedia: Animation Examples using Pyglet

by Ninad Sathaye | August 2010 | Open Source

The previous article, Python Multimedia: Fun with Animations using Pyglet, introduced you to the fundamentals of developing animations using Python and Pyglet multimedia application development frameworks.

In this article by Ninad Sathaye, author of Python Multimedia Beginner's Guide, we will:

  • Work on a project, 'Bowling animation', where animations can be controlled using inputs from the keyboard.
  • Develop relevant code to create an animation using different regions of a single image.
  • Work on an exciting project that animates a car moving in a thunderstorm. This project deals with many important things covered throughout this article.
Read Python Multimedia: Animation Examples using Pyglet in full

Python Multimedia: Enhancing Images

by Ninad Sathaye | January 2011 | Beginner's Guides Open Source

Python is a high-level, object-oriented language with a comprehensive standard library. Typically, one can develop complex applications in Python very quickly compared to some other languages. Multimedia applications are used in a broad spectrum of fields. Writing applications that work with images, videos, and other sensory effects is great. Not every application gets to make full use of audio/visual effects, but a certain amount of multimedia makes any application very appealing.

In this article by Ninad Sathaye, author of Python Multimedia, we shall cover the following recipes:

  • Adjusting brightness and contrast
  • Swap colors within an image
  • Change the color of a flower
Read Python Multimedia: Enhancing Images in full

Python Multimedia: Fun with Animations using Pyglet

by Ninad Sathaye | August 2010 | Open Source

Animation is a sequence of frames displayed quickly one after the other. This creates an optical illusion where the objects, for instance, appear to be moving around. This article by Ninad Sathaye, author of Python Multimedia Beginner's Guide, will introduce you to the fundamentals of developing animations using Python and Pyglet multimedia application development frameworks. Pyglet is designed to do 3D operations, but we will use it for developing very simple 2D animations in this article. Specifically, we will:

  • Learn the basics of Pyglet framework. This will be used to develop code to create or play animations.
  • Learn how to play an existing animation file and create animations using a sequence of images.
Read Python Multimedia: Fun with Animations using Pyglet in full

Python Multimedia: Video Format Conversion, Manipulations and Effects

by Ninad Sathaye | December 2010 | Open Source

Photographs capture the moment, but it is the video that helps us relive that moment! Video has become a major part of our lives. We preserve our memories by capturing the family vacation on a camcorder. When it comes to digitally preserving those recorded memories, the digital video processing plays an important role. We will use GStreamer for learning the fundamentals of video processing..

In this article by Ninad Sathaye, author of the book Python Multimedia Beginner's Guide, we shall:

  • Develop a simple command-line video player
  • Perform basic video manipulations such as cropping, resizing, and tweaking the parameters such as brightness, contrast, and saturation levels of a streaming video
  • Learn how to convert video between different video formats

So let's get on with it.

Read Python Multimedia: Video Format Conversion, Manipulations and Effects in full

Python Multimedia: Working with Audios

by Ninad Sathaye | August 2010 | Open Source

Decades ago, silent movies lit up the screen—but later, it was audio effect that brought life into them. We deal with digital audio processing quite frequently—when just playing a CD track, recording your own voice or converting songs into a different audio format. There are many libraries or multimedia frameworks available for audio processing. This article teaches some common digital audio processing techniques using Python bindings of a popular multimedia framework called GStreamer.

In this article by Ninad Sathaye, author of Python Multimedia, we shall:

  • Learn basic concepts behind GStreamer multimedia framework
  • Use GStreamer API for audio processing
  • Develop some simple audio processing tools for 'everyday use'. We will develop tools that will batch convert audio file formats, record an audio, and play audio files
Read Python Multimedia: Working with Audios in full

Python Testing: Coverage Analysis

by Greg L. Turnquist | June 2011 | Open Source

Coverage analysis is measuring which lines in a program are run and which lines aren't. This type of analysis is also known as 'code coverage', or more simply 'coverage'.

In this article by Greg Lee Turnquist, author of Python Testing Cookbook, we will cover:

  • Building a network management application
  • Installing and running coverage on your test suite
  • Generating an HTML report using coverage
  • Generating an XML report using coverage
  • Getting nosy with coverage
Read Python Testing: Coverage Analysis in full

Python Testing: Installing the Robot Framework

by Greg L. Turnquist | June 2011 | Open Source

The Robot Framework is a useful framework for writing acceptance tests using the keyword approach. Keywords are short-hand commands that are provided by various libraries and can also be user defined. This easily supports BDD-style Given-When-Then keywords. It also opens the door to third-party libraries defining custom keywords to integrate with other test tools, such as Selenium. It also means acceptance tests written using Robot Framework aren't confined to web applications.

This article by Greg Lee Turnquist, author of Python Testing Cookbook, shows all the steps needed to install the Robot Framework as well as the third party Robot Framework Selenium Library.

Read Python Testing: Installing the Robot Framework in full

Python Testing: Mock Objects

by Daniel Arbuckle | December 2010 | Beginner's Guides

In this article by Daniel Arbuckle, author of Python Testing, we shall:

  • Examine the ideas of mock objects in general
  • Learn how to use Python Mocker
  • Learn how to mock the "self" parameter of a method
Read Python Testing: Mock Objects in full

Python Text Processing with NLTK 2.0: Creating Custom Corpora

by Jacob Perkins | November 2010 | Open Source

Natural Language Processing is used everywhere—in search engines, spell checkers, mobile phones, computer games, and even in your washing machine. Python's Natural Language Toolkit (NLTK) suite of libraries has rapidly emerged as one of the most efficient tools for Natural Language Processing.

In this article by Jacob Perkins, author of the book Python Text Processing with NLTK 2.0 Cookbook, we will cover:

  • Setting up a custom corpus
  • Creating a word list corpus
  • Creating a part-of-speech tagged word corpus
  • Creating a chunked phrase corpus
  • Creating a categorized text corpus
  • Creating a categorized chunk corpus reader
  • Lazy corpus loading
  • Creating a custom corpus view
  • Creating a MongoDB backed corpus reader
  • Corpus editing with file locking
Read Python Text Processing with NLTK 2.0: Creating Custom Corpora in full

Python Text Processing with NLTK 2: Transforming Chunks and Trees

by Jacob Perkins | December 2010 | Open Source

Natural Language Processing is used everywhere—in search engines, spell checkers, mobile phones, computer games, and even in your washing machine. Python's Natural Language Toolkit (NLTK) suite of libraries has rapidly emerged as one of the most efficient tools for Natural Language Processing.

In this by Jacob Perkins, author of the book Python Text Processing with NLTK 2.0 Cookbook, we will cover:

  • Filtering insignificant words
  • Correcting verb forms
  • Swapping verb phrases
  • Swapping noun cardinals
  • Swapping infinitive phrases
  • Singularizing plural nouns
  • Chaining chunk transformations
  • Converting a chunk tree to text
  • Flattening a deep tree
  • Creating a shallow tree
  • Converting tree nodes
Read Python Text Processing with NLTK 2: Transforming Chunks and Trees in full

Python Text Processing with NLTK: Storing Frequency Distributions in Redis

by Jacob Perkins | November 2010 | Open Source

Natural Language Processing is used everywhere—in search engines, spell checkers, mobile phones, computer games, and even in your washing machine. Python's Natural Language Toolkit (NLTK) suite of libraries has rapidly emerged as one of the most efficient tools for Natural Language Processing.

In the previous article by Jacob Perkins, author of the book Python Text Processing with NLTK 2.0 Cookbook, we saw how to use execnet to do parallel and distributed processing with NLTK.

In this article, we will cover:

  • Storing a frequency distribution in Redis
  • Storing a conditional frequency distribution in Redis
  • Storing an ordered dictionary in Redis
  • Distributed word scoring with Redis and execnet
Read Python Text Processing with NLTK: Storing Frequency Distributions in Redis in full

Python: Unit Testing with Doctest

by Daniel Arbuckle | September 2010 | Beginner's Guides Open Source

In this article by Daniel Arbuckle, author of Python Testing, we shall:

  • Discuss in detail what Unit testing is
  • Talk about the ways in which Unit testing helps various stages of development
  • Work with examples that illustrate Unit testing and its advantages
Read Python: Unit Testing with Doctest in full

Python: Using doctest for Documentation

by Greg L. Turnquist | May 2011 | Open Source

Python provides the useful ability to embed comments inside functions that are accessible from a Python shell. These are known as docstrings. A docstring provides the ability to embed not only information, but also code samples that are runnable.In this article, we will explore different ways to use doctest to develop documentation.

In this article by Greg Lee Turnquist, author of Python Testing Cookbook, we will cover:

  • Documenting the basics
  • Catching stack traces
  • Running doctests from the command line
  • Printing out all your documentation including a status report
Read Python: Using doctest for Documentation in full

Q Replication Components in IBM Replication Server

by Pav Kumar-Chatterjee | August 2010 | Enterprise Articles IBM

In this article by Pav Kumar-Chatterjee, author of IBM InfoSphere Replication Server and Data Event Publisher, we will discuss three layers—The DB2 database layer, the WebSphere MQ layer, and the Q replication layer that make up a Q replication solution, and the relationship between Replication/Publication Queue Map, Q subscription, and subscription group. We will also take a look at the internals of the Q Capture and Q Apply programs.

Read Q Replication Components in IBM Replication Server in full

Q Subscription Maintenance in IBM Infosphere

by Pav Kumar-Chatterjee | November 2010 | Enterprise Articles IBM

In this article by Pav Kumar-Chatterjee, author of IBM InfoSphere Replication Server and Data Event Publisher, we will cover the following topics:

  • Checking the state of a Q subscription
  • Stop, drop, alter or start a Q subscription
  • Sending a signal using ASNCLP
Read Q Subscription Maintenance in IBM Infosphere in full

Qmail Quickstarter: Virtualization

by Kyle Wheeler | July 2008 | Linux Servers Networking & Telephony

One of the most interesting extensions to the standard mail setup is that of virtualization. In this article by Kyle Wheeler, let's see the many reasons for wanting to virtualize email services, from hosting multiple domains with different users to simply extending the ability to apply policies to different sets of email. There are three basic techniques that are used with a standard qmail system for attaining different forms of virtualization: qmail's control/virtualdomains file, user-definable address extensions, and running multiple qmail instances on the same system.

Read Qmail Quickstarter: Virtualization in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software