Filter by products, topics, and types of content

(419 Products)

(751 Topics)

(20 Industries)

(15 Types)

1 - 100 of 157 results | Next
Show Summaries | Hide Summaries
View Results
Title none Type none Date down
On demand data in Python, Part 2: The magic of itertools
Python's motto has always been "Batteries included," to highlight its extensive standard library. There are many well-kept secrets among the standard modules, including itertools, which is less well known in part because iterators and generators are less well known. This is a shame because the routines in itertools and related modules such as functools and operators can save developers many hours in developing big data operators. Learn by copious examples how to use itertools to address the most common MapReduce-style data science tasks.
Also available in: Chinese   Japanese  
Articles 22 Jun 2018
On demand data in Python, Part 1: Python iterators and generators
The oldest known way to process data in Python is building up data in lists, dictionaries and other such data structures. Though such techniques work well in many cases, they cause major problems when dealing with large quantities of data. It's easy to find that your code is running painfully slowly or running out of memory. Generators and iterators help address this problem. These techniques have been around in Python for a while but are not well understood. Used properly, they can bring big data tasks down to size so that they don't require a huge hardware investment to complete.
Also available in: Chinese   Japanese  
Articles 21 Jun 2018
Develop a blockchain application from scratch in Python
This tutorial introduces Python developers, of any programming skill level, to blockchain. You'll discover exactly what a blockchain is by implementing a public blockchain from scratch and building a simple application to leverage it. Python is an easy programming language to understand, and so I've chosen it for this tutorial.
Tutorial 03 Apr 2018
Code pattern: Mine insights from software development artifacts
There is a lot of unstructured text content that is generated in any domain – software development lifecycle, finance, healthcare, social media, etc. Valuable insights can be generated by analyzing unstructured text content and correlating the information across various document sources. This pattern uses Watson Natural Language Understanding, Python Natural Language Toolkit, OrientDB, Node-RED, and IBM Data Science Experience to build a complete analytics solution that generates insights for informed decision-making.
Articles 24 Jan 2018
Using data science to manage a software project in a GitHub organization, Part 1: Create a data science project from scratch
In this two-part series, I explain how to find project management insights from a GitHub organization and how to create and publish tools to the Python Package Index.
Also available in: Chinese  
Articles 13 Nov 2017
Social power, influence, and performance in the NBA, Part 2: Exploring the individual NBA players
In this tutorial series, learn how to analyze how social media affects the NBA using Python, pandas, Jupyter Notebooks, and a touch of R. Part 2 explores individual athletes in the NBA: endorsement data, true on-the-court performance, and social power with Twitter and Wikipedia.
Also available in: Chinese   Japanese   Portuguese   Spanish  
Articles 06 Sep 2017
Social power, influence, and performance in the NBA, Part 1: Explore valuation and attendance using data science and machine learning
In this tutorial series, learn how to analyze how social media affects the NBA using Python, pandas, Jupyter Notebooks, and a touch of R. Here in Part 1, learn the basics of data science and machine learning around the teams in the NBA.
Also available in: Chinese   Japanese   Portuguese   Spanish  
Articles 31 Aug 2017
Create a scalable and fault-tolerant REST endpoint using Flask and Python
Learn how to deploy a simple Flask application with an AngularJS user interface to IBM Cloud using the Cloud Foundry command-line tool. For this tutorial, we chose Flask over other frameworks like Django, Pyramid, and web2py because it is very lightweight and therefore easy to understand. For just writing up a REST endpoint it is a perfect fit. In addition, we also show you how a single REST endpoint can be used to multiplex between different functions.
Also available in: Chinese   Japanese  
Articles 05 Jul 2017
An easy way to provision and invoke actions in IBM OpenWhisk
IBM OpenWhisk is a simple open source service that rapidly launches and runs code tidbits on-demand, in response to an incoming REST request. In this tutorial, learn how to issue OpenWhisk commands manually. Then see how to use a Python library that makes it even easier to issue those commands.
Also available in: Chinese   Japanese   Portuguese   Spanish  
Articles 25 Oct 2016
Ask Watson what Twitter is telling you, Part 4: Extract image text and analyze sentiments
Quickly build an app to get data from Twitter and then use the data for cognitive insights by using IBM Watson services such as Tone Analyzer, Visual Recognition, and Alchemy. In just a few minutes, you can create a running Python app on IBM Cloud that analyzes pictures that are included in tweets.
Also available in: Chinese   Japanese  
Articles 22 Aug 2016
Streamline your operations with IBM SoftLayer tagging
This tutorial describes how to use SoftLayer APIs to tag and list devices using the Python programming language. We provide detailed instructions for installing the required Python and SoftLayer packages, and we describe several use cases that cover various scenarios, such as setting and deleting tags and listing devices associated with tags by calling the respective APIs.
Also available in: Japanese  
Articles 09 Aug 2016
Ask Watson what Twitter is telling you, Part 3: Analyze tweet pictures for categorization and recognition
Quickly build an app to get data from Twitter and then use the data for cognitive insights by using IBM Watson services such as Tone Analyzer, Visual Recognition, and Alchemy. In just a few minutes, you can create a running Python app on IBM Cloud that analyzes pictures that are included in tweets.
Also available in: Chinese   Japanese  
Articles 19 Jul 2016
Analyze weather data within your browser using Spark on IBM Cloud
Apache Spark is a next generation distributed data processing engine that for the first time is making available entirely new capabilities to data scientists, business analysts, and application developers. Analytics for Apache Spark works with commonly used tools available in IBM Cloud so that you can quickly start tapping into the full power of Apache Spark. This tutorial shows you how to use iPython Notebook, which uses the Spark API, to analyze raw weather data from the real world. You can easily use this example as a basis for more analytics on IBM Cloud.
Also available in: Japanese   Portuguese  
Articles 22 Mar 2016
Docker: A boon for the modern developer
Use Docker to code more productively and expand your skills more efficiently. Declutter your development environment, eliminate dependency conflicts, and reduce development and learning time by working with containerized applications.
Also available in: Chinese   Japanese  
Articles 05 Jan 2016
Scripting in IBM PureApplication System
This tutorial shows you how to get started with IBM PureApplication System scripting using the command-line tool and REST API, and provides some useful sample scripts.
Also available in: Chinese   Russian  
Articles 01 Apr 2015
Going Further with the SoftLayer API Python Client, Part 3
Part 1 and Part 2 of this blog series covered many general aspects of how to use the SoftLayer API effectively. This post dives into how to order SoftLayer resources using the SoftLayer API. For ordering virtual servers, read Simplified CCI Creation (http://sldn.softlayer.com/blog/phil/Simplified-CCI-Creation) for a great explanation of the simplified virtual server ordering process.
Blog 20 Mar 2015
Going Further with the SoftLayer API Python Client - Part 1
The SoftLayer API has bindings for many different languages and formats in addition to python (ruby, perl, c#, SOAP, RESTful, etc.). Learn how to translate the code snippets in those other languages to your situation.
Articles 09 Mar 2015
Going Further with the SoftLayer API Python Client - Part 2
In Part 1, I covered how to navigate the SoftLayer Services website, and how to query the SoftLayer API efficiently. In this post, I'll cover additional aspects of using the SoftLayer API with the python client.
Articles 09 Mar 2015
Build a chat app with Pyramid, SQLDB, and Bluemix
This tutorial shows how to create Bluemix-friendly applications using the Pyramid framework. Use the SQLAlchemy abstraction layer to make the app database agnostic, leaving the database choice for deployment time. Examples of using SQLite, PostgreSQL, and DB2 as databases are provided. This tutorial also demonstrates interoperability between a NodeJS SocketIO communication layer and a Python-based web app framework.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 03 Feb 2015
Detecting bootable IBM Power server ISO images
Most ISO images use an ISO 9660 extension that allows the image to be bootable by the basic input/output system (BIOS). IBM Power Systems firmware, on the other hand, does not use such extension. This means that the detection of the bootability of images differ between computer architectures. In software such as hypervisors or even virtual machine (VM) managers, this detection can't consume too many resources and take too much time due to the number of the images they need to manipulate. This makes options like such as trying to boot the image by trial and error or even trying to mount the image in the file system not viable. This article describes a way to detect if an IBM Power server image is bootable by reading the ISO data stream directly, showing a working Python code that illustrates the concepts.
Also available in: Chinese   Russian   Japanese  
Articles 20 Oct 2014
Use notebooks in the cloud for great data science
Deploy an IPython Notebook server to SoftLayer: Provision a virtual machine with the Docker application-container engine on it, pull an official IPython repository from Docker Hub, and run the IPython Notebook server in a container. Then upload and play with a sample notebook that explores airline on-time performance data from Data.gov.
Also available in: Chinese   Russian   Japanese  
Tutorial 20 Oct 2014
Build and deploy a World Bank charting app on Bluemix using Python, Django, and MongoDB
Develop a charting application that uses the Django framework and deploy it to IBM Bluemix. The front end is developed using the JavaScript charting engine HighCharts. You can follow the steps provided in this article to develop a Django application with MongoDB at the back end and quickly create high-performing, elegant web applications that can be hosted on the IBM Bluemix cloud platform.
Also available in: Chinese   Russian   Japanese   Portuguese  
Tutorial 14 Oct 2014
Run IPython Notebook on IBM Bluemix
This article shows how get a password-protected IPython Notebook server up and running along with a few popular Python scientific-computing packages (numpy, Pandas, and matplotlib) on IBM Bluemix.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 05 Aug 2014
Managing SoftLayer object storage through REST APIs
With SoftLayer object storage you can archive, manage, and serve large amounts of unstructured data with ease and cost-effectiveness. You can use different clients like PHP or Python for managing your object storage account. However, this blog will show how to manage your SoftLayer object storage directly through REST APIs.
Articles 13 May 2014
Leverage Python, SciKit, and text classification for behavioral profiling
Learn how to build a behavioral profile model for customers based on text attributes of previously purchased product descriptions. With SciKit, a powerful Python-based machine learning package for model construction and evaluation, learn how to build and apply a model to simulated customer product purchase histories. In a sample scenario, construct a model that assigns music-listener profiles to individual customers, based on the specific products each customer purchases and the corresponding textual product descriptions.
Also available in: Chinese   Russian   Japanese  
Articles 17 Apr 2014
IBM Business Analytics Proven Practices: Introduction to Python Scripting in IBM SPSS Modeler
This document provides an introduction to Python scripting in IBM SPSS Modeler.
Also available in: Russian  
Articles 16 Apr 2014
Extend Flex System Manager
IBM PureFlex System with integrated network and storage virtualization and the Kernel-based virtual machine (KVM) hypervisor provides an open and cost-effective virtualization and cloud solution. This article shows PureFlex System administrators how to extend the functionality of Flex System Manager to advanced management scenarios in a KVM virtualization environment. Using the scripting language of your choice, you can also script these scenarios for reuse and repeatability. Downloadable Python script examples show you how.
Also available in: Chinese   Russian   Japanese  
Articles 21 Jan 2014
Simplifying scalable cloud software development with Apache Thrift
Apache Thrift is a framework that enables scalable cross-language development, resulting in unambiguous communication among components in cloud environments. This article introduces the ideas around Thrift (an interface definition for remote procedure call with multilanguage bindings), and then demonstrates Thrift in a multilanguage client and server application.
Also available in: Russian   Japanese   Portuguese  
Articles 12 Nov 2013
Import users from an LDAP directory to IBM Security Access Manager
Systems administrators frequently need a way to import existing user accounts from an LDAP repository into IBM Security Access Manager. In this article, get started with an import script written in Python that you can use to read users in an LDAP repository, then import them using the IBM Security Access Manager pdadmin command.
Also available in: Russian  
Articles 15 Oct 2013
Calling Python code from IBM InfoSphere Streams
The Python programming language is a popular choice among enterprise developers to quickly put together working solutions. Many companies adopt Python to build IT assets for regular use. IBM InfoSphere Streams is a novel middleware product designed for implementing logic directly in C++ and Java. It is also possible to call Python code within the context of a Streams application. Learn how to call Python code directly from IBM InfoSphere Streams applications.
Also available in: Chinese   Russian  
Articles 15 Apr 2013
Data science in the cloud
Data Science is a growing specialization that can touch on many of the following topics: Cloud computing, big data, math, business theory, and computer science theory. A scripting language like Python is often a great choice for the typical cycle of prototyping to make sure the math of the problem works, then "productizing" the result to a distributed farm of cloud servers. This article presents some hands-on examples of investment analysis and statistical analysis using IPython and pandas.
Also available in: Chinese   Spanish  
Articles 21 Feb 2013
Build rapid and lightweight static websites with Hyde
Web publishing frameworks are great, but sometimes they're just too much and you want a simple, static site that you can rely on for good and consistent performance. Static site generators are a useful hybrid for those occasions when you want the convenience of a web publishing framework without the overhead. Hyde is a popular site generator that provides powerful templating, based on Django, and metadata management. It's implemented in Python but does not strictly require Python knowledge. In this article, learn to use Hyde to accelerate development of static websites.
Also available in: Chinese   Russian   Japanese  
Articles 05 Feb 2013
Wrap GObjects in Python
Learning how to wrap GTK+ C modules for use in Python will enable you to use a C-coded GObject in Python whenever you like, whether or not you're especially proficient in C.
Also available in: Japanese   Portuguese  
Articles 15 Nov 2012
System versus SQL name, Part 2: Accessing database objects
When running SQL statements, you can run them either using system or SQL naming convention. The previous article was focused on the differences in ownership and access authorities when creating database objects with the SQL and system naming convention. This article examines the behavior differences with system and SQL naming when accessing tables and views as well as stored procedures and user-defined functions (UDFs), focusing mainly on the different behaviors when using unqualified references to those objects.
Also available in: Chinese  
Articles 14 Aug 2012
Explore Linux as a scientific computing platform
Linux is a great platform for scientific computing and is heavily used by the academic community for numerous tasks. While many open source projects address specific applications, the Sage mathematical project delivers a more generic problem-solving capability. Python is the primary language for many of the highest profile scientific applications, which this article discusses.
Also available in: Chinese   Russian   Japanese   Portuguese   Spanish  
Articles 07 Aug 2012
The OpenStack network
Networking is an essential part of an IaaS system; that is no different with OpenStack, an open source, Infrastructure as a Service, cloud computing project by Rackspace Cloud and NASA. In this article, the author describes the iptable chains and rules behind the OpenStack Cloud Compute-Nova project, a cloud computing fabric controller (the main part of an IaaS system) written in Python that uses many external libraries. The author details the nova-network FlatDHCPManager component, as well as other OpenStack components. An iptable is a user-space application program that allows a system administrator to configure the tables provided by the Linux kernel firewall.
Also available in: Chinese   Russian   Japanese   Portuguese  
Articles 26 Jul 2012
Learning next-generation build tools for software management
If you are part of a software development team, you have probably had instances where your code ran well in isolation only to fail during integration testing. Discover two tools CruiseControl and SCons allowing continuous integration and builds respectively, thus making integration testing easier.
Articles 29 Jun 2012
Enabling communication between IBM WebSphere Process Server and IBM WebSphere Portal via command line operations
Learn how to enable SSO and generate LTPA tokens between IBM WebSphere Process Server and an IBM WebSphere Portal server in cross-cell mode; that is, via command line operations (silent mode). Included is a detailed example .zip file with python scripts.
Articles 24 Feb 2012
Introducing PyPy
Improve the performance of your Python development and add flexibility with PyPy with just-in-time compiler implementation. Learn about PyPy, its benefits, and how it can accelerate development of high-performance applications.
Also available in: Chinese   Russian   Japanese  
Articles 14 Feb 2012
Scripting KVM with Python, Part 2: Add a GUI to manage KVM with libvirt and Python
Further explore how to use Python to create scripts for managing virtual machines using KVM. Learn how to add a GUI to expand on the simple status and display tool.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 17 Jan 2012
TWOdW: RichFaces, AIX storage, jQuery mobile API, open source Python, WebSphere Extreme Scale
This week on developerWorks, John Swanson and Scott Laningham talk about new developerWorks content and Lotusphere 2012, going on this Sunday through Thursday in Orlando, Florida. Look for coverage next week from Todd Watson, Gary Barnett,and others.
Videos 12 Jan 2012
Create successful Python projects
Creating a successful open source Python project involves more than just writing useful code. It's about community engagement, increasing cooperation opportunities, craftsmanship, and support. Explore best practices to help you create your own successful project.
Also available in: Chinese   Russian   Japanese   Portuguese  
Articles 10 Jan 2012
Android applications using Python and SL4A, Part 1: Set up your development environment
This series of articles explores how to use Python and Scripting Layer for Android (SL4A) to build applications for the Google Android platform. This article, the first in the series, shows what you need to do to get everything installed and running.
Also available in: Chinese   Russian   Portuguese  
Articles 19 Dec 2011
Your first cup of CoffeeScript, Part 1: Getting started
There's a lot of hype and fuss about CoffeeScript, a new programming language built on top of JavaScript. CoffeeScript offers a clean syntax that should appeal to those who like Python or Ruby. It also provides many functional programming features inspired by languages such as Haskell and Lisp. CoffeeScript compiles into efficient JavaScript, and in addition to running the JavaScript in a web browser, you can use it with technologies such as Node.js for server applications. In this first article of a four-part series, get started with CoffeeScript and learn about the perks for developers. You will set up the CoffeeScript compiler and use it to create code that's ready to run in a browser or server.
Also available in: Chinese   Russian   Japanese  
Articles 06 Dec 2011
Easy and beautiful documentation with Sphinx
Create maintainable, style-driven documents that can be automatically distributed in different formats using Sphinx. Discover how Sphinx abstracts the tedious parts and offers automatic functions to solve common problems like title indexing and special code highlighting.
Also available in: Chinese   Russian   Japanese   Portuguese   Spanish  
Articles 29 Nov 2011
Build an Eclipse development environment for Perl, Python, and PHP
Eclipse presents a wealth of capabilities for building tools for compiled languages like C and the Java programming language, but provides little support for scripting languages like Perl, Python, and PHP. For these and similar languages, the Eclipse Dynamic Languages Toolkit (DLTK) comes to the rescue. Walk through the process of building a DLTK-based IDE and discover sample code for each step.
Tutorial 27 Oct 2011
A guide to Python packaging
The best open source Python applications have great packaging. Learn more about what packaging is and basic implementation. Then, go a step farther and discover versioning and distribution as they relate to packaging.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 18 Oct 2011
WebSphere Application Server Administration Using Jython
This book’s expert authors begin with practical introductions to both WebSphere Application Server administration and Jython, today’s powerful, Java implementation of Python. Next, they cover a broad spectrum of WebSphere management tasks and techniques, presenting real, easy-to-adapt solutions for everything from server configuration and security to database management.
Books 15 Jul 2011
Build a digital book with EPUB
Need to distribute documentation, create an eBook, or just archive your favorite blog posts? EPUB is an open specification for digital books based on familiar technologies like XML, CSS, and XHTML, and EPUB files can be read on portable e-ink devices, mobile phones, and desktop computers. This tutorial explains the EPUB format in detail, demonstrates EPUB validation using Java technology, and moves step-by-step through automating EPUB creation using DocBook and Python.
Also available in: Japanese   Portuguese   Spanish  
Tutorial 13 Jul 2011
Build a Python app for parsing shared memory dumps
Learn how to parse a machine-readable shared memory dump on a Linux platform and extract your expected data format using Python and the struct utility. In this article, you'll first see how to determine the format of the data by reading the binary file format of the dump file; you need this in order to parse, extract, and analyze the data. Next, you'll see how to parse the file based on the format, and then match the results with the expected format to output a validation result. Update: In the Downloads section you'll find a working Python application and dump file that you can use as-is or modify for your own needs. We changed the name of the dump file throughout this article to match the name used in the download. -Ed.
Also available in: Chinese   Russian   Japanese   Spanish  
Articles 30 May 2011
Use Python to write plug-ins for GIMP
GNU Image Manipulation Program (GIMP) provides a strong, open-source alternative for doing detailed graphical work such as photo editing, making it a good replacement for commercial software. However, GIMP's API offers developers a number of ways to customize and even embed its functionality to fit specific needs. Learn more about GIMP scripting with Python and see how you can put it to work for you.
Also available in: Russian   Japanese   Portuguese  
Articles 29 Mar 2011
High-performance XML parsing in Python with lxml
lxml is a fast yet flexible library for XML processing in Python. It comes bundled with support for XML Path Language (XPath) and Extensible Stylesheet Language Transformation (XSLT), and it implements the familiar ElementTree API. In this article, you focus both on the ease of use provided by lxml and on its high-performance profile when processing very large XML data.
Also available in: Chinese   Russian   Japanese  
Articles 24 Mar 2011
Use Django and jQuery to create a spreadsheet application
jQuery is an excellent tool for creating dynamic web applications, with a growing community that's contributed a large library of plug-ins. Using jQuery's UI, SlickGrid, and Django as a back-end controller, you'll see how to create a Microsoft Excel-style web application with multiple data sheets.
Also available in: Chinese   Japanese  
Articles 15 Mar 2011
Scripting the Linux desktop, Part 2: Scripting Nautilus
This series of articles explores how to use Python to create scripts for the GNOME desktop, the screenlets framework, and Nautilus to deliver a highly productive environment. Scripts on the desktop enable drag-and-drop functionality and quick access to the information and services you commonly use. In this installment, learn how to use Python to add functionality to extend Nautilus on your desktop.
Also available in: Russian   Japanese   Portuguese  
Articles 16 Feb 2011
Scripting the Linux desktop, Part 1: Basics
This series of articles explores how to use Python to create scripts for the GNOME desktop, the screenlets framework, and Nautilus to deliver a highly productive environment. Scripts on the desktop enable drag-and-drop functionality and quick access to the information and services you commonly use. In this installment, learn how to build a desktop application using the screenlets widget toolkit.
Also available in: Russian   Portuguese  
Articles 18 Jan 2011
Developing custom plug-ins for the Vim editor
Learn how to extend the popular and versatile Vim editor to suit your systems administration needs using Vim's custom scripting language and options such as Perl and Python.
Also available in: Chinese  
Articles 09 Nov 2010
Read and index documents with Xapian and Omega
Storing and providing access to documentation and information is an ever-growing problem for many companies. There are many solutions for addressing the problem, including wikis and structured documentation stores, but full-text indexes are often the only way to gain the information you need from a wide array of documents. Xapian is an open source tool that reads and indexes documents, including those in HTML, PDF, OpenOffice, Microsoft Office, and many others, and with programmable interfaces to add and extract information, including Java technology, allowing you to support document indexing within your WebSphere-deployed environment. In this article, examine how to install and deploy a typical Xapian installation indexing a variety of information, then see some examples for extracting the information using the different language bindings. The process will focus on how this could be used within a typical company intranet environment. The article will also provide a quick overview of Omega, a custom tool designed to work with the Xapian infrastructure.
Articles 26 Oct 2010
Import XML data to Google App Engine
The Google App Engine launched in April 2008, and included a method to upload bulk data stored in CSV files using Python. Java language support was added a year later. To date, the App Engine lacks Java-native support for bulk uploads and CSV remains the only data storage medium supported by the bulk uploading tool. Explore the various methods to store data from XML documents on the App Engine persistent database in this article.
Also available in: Chinese   Russian   Japanese  
Articles 07 Sep 2010
Add your own GIMP features
The GNU Image Manipulation Program (GIMP) is a robust application for editing and manipulating digital images. Because it's open source software, any developer is allowed to modify and extend it with even more features. In this article, you will learn how to get started with the GIMP code, how to build the project from the Git repositories, and how to find your way around the code tree. And you will build an example application that creates a whole new painting tool for the program.
Also available in: Japanese   Portuguese  
Articles 20 Jul 2010
Continuous integration with Buildbot
The days of cowboy coding are long gone at most organizations, replaced by a renewed interest in generating quality software. Continuous integration (CI) testing is a vital component in the practice of agile programming techniques that lead to high-quality software. Learn the theory and practice of CI testing by exploring Buildbot, an open source CI system written in Python.
Also available in: Japanese   Portuguese  
Articles 02 Jun 2010
Simple server-side 2G phone apps
Mobile phones are transforming economies and societies all over the world, but often with phones that might be considered out-of-date by gadget geeks in more developed nations. The good news is that applications that work with these phones can be very simple to write, and they give your application a huge potential user base. In this article, learn how to write programs that respond to specialized requests for information from 2G phones.
Also available in: Chinese   Russian   Japanese  
Articles 25 May 2010
A CMIS API library for Python, Part 1: Introducing cmislib
This is the first of a two-part series which will introduce you to cmislib, a client-side library for working with CMIS content libraries. Content Management Interoperability Services (CMIS) is a specification that provides a standard way to access content, regardless of the underlying repository implementation or the choice of the front-end programming language. In this article, learn about the cmislib API for Python using examples.
Also available in: Chinese   Russian   Portuguese   Portuguese  
Articles 25 Mar 2010
Introduction to Pyjamas, Part 1: Exploit the synergy of GWT and Python
Pyjamas is a cool tool, or framework, for developing Asynchronous JavaScript and XML (Ajax) applications in Python. It's a versatile tool that you can use to write comprehensive applications without writing any JavaScript code. This series examines the myriad aspects of Pyjamas, and this first article explores Pyjamas's background and basic elements. Step through the process of building a sample application with Pyjamas using the article's examples.
Also available in: Chinese  
Articles 09 Mar 2010
Python basics for PHP developers
Are you an experienced PHP developer who needs to learn Python? This article approaches the world of Python development from a PHP developer's perspective, translating familiar PHP concepts, such as variables, lists, and functions, into their Python equivalents.
Also available in: Japanese  
Articles 09 Feb 2010
Manipulate CSV data with Python and pureXML
IBM DB2 pureXML allows you to store XML data natively in a relational database management system, giving you the power and flexibility to report on this data without disturbing the advantages that its XML format offers. In this tutorial, you will learn how to connect to a DB2 database from the Python programming language, importing data about population from the United States Census Bureau. You will use Python to convert this CSV file into XML, before inserting this XML data natively into DB2. Finally, you will use Python to create a command-line application that produces some informative tables that you can access through a menu system.
Also available in: Chinese   Korean  
Tutorial 22 Dec 2009
Build a Twitter Web application
Learn how to create a Twitter-enabled Web 2.0-style application using Django, jQuery, and the python-twitter wrapper that you can easily use and plug in to your own Django project. With this application, you'll be able to see recent tweets, post updates, and show your friends and followers.
Also available in: Russian   Japanese   Portuguese  
Articles 03 Dec 2009
Charming Python: Easy Web data collection with mechanize and Beautiful Soup
For collecting data from Web pages, the mechanize library automates scraping and interaction with Web sites. Mechanize lets you fill in forms and set and save cookies, and it offers miscellaneous other tools to make a Python script look like a genuine Web browser to an interactive Web site. A frequently used companion tool called Beautiful Soup helps a Python program makes sense of the messy "almost-HTML" that Web sites tend to contain.
Also available in: Russian   Japanese   Portuguese  
Articles 24 Nov 2009
Open output: Producing ODF spreadsheets from your Web services
Writing a Web service that produces data in text format is quite simple, but users often prefer getting something they can work in, like spreadsheets. Producing ODF spreadsheets isn't particularly complicated, and this article introduces some ways of doing so working with PHP and Python.
Also available in: Chinese   Japanese  
Articles 17 Nov 2009
Working with Web server logs
How do you know who is doing what and where on your site? Chances are you have an Apache-style log for your site, and you just need to learn how to mine it for valuable information. Learn about the format of Web server logs and how to access them in code. Along the way, apply a recipe to identify spider traffic from Web crawlers.
Also available in: Chinese   Japanese  
Articles 27 Oct 2009
Conversing through the Internet with cURL and libcurl
cURL is a command-line tool that speaks a number of protocols for file transfer, including HTTP, FTP, Secure Copy (SCP), Telnet, and others. But in addition to conversing with endpoints over the Internet from the command line, you can also write simple to complex programs using libcurl to automate application-layer protocol tasks. This article introduces the cURL command-line tool, then shows you how to build an HTTP client in C and Python using libcurl.
Also available in: Russian   Japanese   Portuguese  
Articles 08 Sep 2009
Google App Engine for Java, Part 1: Rev it up!
Remember when Google App Engine was just for Pythonistas? Those were some dark days. Google Inc. opened up its cloud-computing platform to Java developers in April 2009. In this three-part article series, Java technology author and trainer Rick Hightower gets you started with this reliable, robust, and fun platform for Java-based development. In this article, you'll get an overview of why Google App Engine for Java could be the deployment platform for your next highly scalable killer app, then start using the Google Plugin for Eclipse to build two example apps: one based on Google Web Toolkit (GWT) and one based on the Java Servlet API. You'll learn for yourself what a difference Google App Engine for Java makes, both in building out an application from scratch and in deploying it to the tune of up to five million views. (And that's just the free version.)
Also available in: Chinese   Russian   Japanese   Portuguese  
Articles 11 Aug 2009
Python testing frameworks: Selecting and running tests
The recent emergence of industrial-strength Python testing frameworks means that Python tests are being written more succinctly, more uniformly, and with better reporting of results than ever before. This article examines how the three most popular testing frameworks identify and gather tests, and what support they provide for writing entire layers of tests that share common setup and teardown code.
Also available in: Chinese  
Articles 23 Jun 2009
Python testing frameworks: Finding modules to test
The recent emergence of industrial-strength Python testing frameworks means that Python tests are being written more succinctly, more uniformly, and with better reporting of results than ever before. Here we look at how the leading testing frameworks provide robust auto-discovery of your application tests, and how this replaces the fragile central lists of tests that you used to maintain.
Also available in: Chinese  
Articles 02 Jun 2009
Doing more with the Django admin
The built-in administration console provided by Django is one of its biggest selling points. What if you need to customize more than just the look and feel and a couple of model fields? Find out how to extend the existing admin application without ever modifying the source.
Also available in: Russian   Japanese  
Articles 26 May 2009
Better Django models
After graduating from the five-minute wiki to real-life applications, Django programmers can easily create confusing, hard-to-maintain, or inefficient model classes. Learn how to avoid common querying mistakes, use model managers to encapsulate complex queries, and take advantage of the powerful new aggregation features available in Django V1.1.
Also available in: Russian  
Articles 19 May 2009
Deploying Django applications to a production server
Django is a Python-based open source Web application framework that focuses on making the process of creating database-driven Web sites and Web applications easier. Getting started with developing Django applications is simple, as a development Web server is included with the framework. However, this server is not suitable for use in a production environment, so further steps are required to deploy your Django application to the Web. In this article, you will learn about the Django framework and how to install it on your local machine. Discover how a Django application is made and about the automatic administration interface created for your application. You will then find out how to deploy your Django application to the Web on a server running Apache and mod_python. Finally, learn how Django applications can and should be scaled as your application's requirements grow.
Also available in: Russian   Japanese   Portuguese  
Articles 07 Apr 2009
Ganglia and Nagios, Part 2: Monitor enterprise clusters with Nagios
This is the second article in a two-part series that looks at a hands-on approach to monitoring a data center using the open source tools Ganglia and Nagios. In Part 2, learn how to install and configure Nagios, the popular open source computer system and network monitoring application software that watches hosts and services, alerting users when things go wrong. The article also shows you how to unite Nagios with Ganglia (from Part 1) and add two other features to Nagios for standard clusters, grids, and clouds to help with monitoring network switches and the resource manager.
Also available in: Russian   Japanese  
Articles 25 Mar 2009
A CMIS API library for Python, Part 2: Build real world ECM tools with Python and cmislib
In Part 2 of this series on CMIS and Python, build an xcopy-like data population and migration tool using the Python cmislib library. The tool not only xcopies local file systems to any CMIS repository but is also aware of JPG Exif data and preserves it during the copy if possible. Walk through the source code and learn how to use the tool on the command line. Also, you can download the fully functional source..
Also available in: Chinese   Russian  
Articles 25 Mar 2009
Functional testing for Web applications
If you are entering into the cloud, testing becomes even more critical for your applications to be reliable. Learn to master automated, functional testing using the open source tools, Selenium, Windmill, and twill. The techniques covered in this article work on Google App Engine, blogging software, or your own home grown application.
Also available in: Chinese   Japanese  
Articles 10 Mar 2009
Ganglia and Nagios, Part 1: Monitor enterprise clusters with Ganglia
This is the first article in a two-part series that looks at a hands-on approach to monitoring a data center using the open source tools Ganglia and Nagios. In Part 1, see how to install and configure Ganglia, the scalable, distributed monitoring system for high-performance clusters based on a hierarchical design. Also learn how to add more monitoring capability by writing Ganglia plug-ins and by enabling external-source spoofing.
Also available in: Russian   Japanese   Portuguese  
Articles 04 Mar 2009
Using E4X on the server-side with Jaxer
The ECMAScript for XML (E4X) standard gives JavaScript developers a powerful API to work with XML. As it is not supported in Internet Explorer, you might not get to use it often. That is not an issue if you use JavaScript on the server with Jaxer. In this article, you see how JavaScript and E4X make it easy to work with XML on the server. Combine this key ingredient with Jaxer to create Ajax applications using nothing but JavaScript.
Also available in: Chinese   Japanese  
Articles 03 Mar 2009
Build a digital book with EPUB
Need to distribute documentation, create an eBook, or just archive your favorite blog posts? EPUB is an open specification for digital books based on familiar technologies like XML, CSS, and XHTML, and EPUB files can be read on portable e-ink devices, mobile phones, and desktop computers. This tutorial explains the EPUB format in detail, demonstrates EPUB validation using Java technology, and moves step-by-step through automating EPUB creation using DocBook and Python.
Tutorials 05 Feb 2009
Connecting Apple's iPhone to Google's cloud computing offerings
Cloud computing and software development for handheld devices are two very hot technologies that are increasingly being combined to create hybrid solutions. With this article, learn how to connect Google App Engine, Google's cloud computing offering, with the iPhone, Apple's mobile platform. You'll also see how to use the open source library, TouchEngine, to dynamically control application data on the iPhone by connecting to the App Engine cloud and caching that data for offline use.
Also available in: Chinese   Japanese  
Articles 20 Jan 2009
Ruby for systems administrators
Apart from its use as a powerful Web application development platform, in combination with the Rails framework Ruby has another less-heralded side of itself, which is as a powerful scripting language, such as Python or Perl. It has immense capabilities, owing to the availability of many built-in and external libraries, the power of which can be harnessed to solve a great deal of the scripting needs that come up in any typical systems administrative work environment. Also, it's fun to program in Ruby!
Also available in: Chinese   Russian  
Articles 09 Dec 2008
Python and LDAP
At some point in their careers, most systems administrators need to interact with an LDAP server. This article shows how LDAP can be used for Apache authentication, as well as how to perform CRUD, or Create, Read, Update, and Delete operations on an OpenLDAP database, using the Python module python-ldap.
Also available in: Chinese  
Articles 28 Oct 2008
Writing plug-ins in Python
Learn how to extend your Python command-line tools by writing plug-ins.
Also available in: Chinese  
Articles 02 Sep 2008
Automatic deployment toolkit for an SOA project environment, Part 1: Overview of the automatic deployment toolkit
This article series introduces an automatic deployment toolkit (Automatic-DT), which helps infrastructure architects install and configure deployment nodes with IBM software installed and configured automatically. It also helps testers or developers refresh builds in their daily tests or integration life cycle. This first article in the series gives you an overview of Automatic-DT.
Also available in: Chinese  
Articles 22 Aug 2008
Creating mashups on the Google App Engine using Eclipse, Part 3: Using RESTful Web services
Social networks are making it easier to take data and mash it up to create innovative Web applications. You still, however, must deal with all the usual issues with creating a scalable Web application. Now the Google App Engine (GAE) makes that easier for you. With it, you can forget all about managing pools of application servers, and, instead, you can concentrate on creating a great mashup. In this article, the last of a three-part "Creating mashups on the Google App Engine using Eclipse" series, we will take the application built in the first two parts and further enhance it. We will add the ability to view other users of the app and subscribe to their aggregate feeds. We will then complete the mashup circle by exposing the app as a Web service that can be used by other mashups.
Articles 19 Aug 2008
Manage widget geometry in PyGTK
Several container widgets exist in GTK+, and with the toolkit's API, you can create user-defined containers. This API is also exposed to PyGTK. In this article, learn how to create a "weighted-table" container in PyGTK. The implementation introduces you to the basic model of GTK+ geometry management and gives you a feel for what to consider and expect when implementing container widgets.
Also available in: Chinese   Russian  
Articles 20 May 2008
Example-driven ZODB
Relational databases are not the only solution available for Python programmers in the enterprise. Often an object database can be a more natural fit for solving certain problems. This article discusses ZODB, a scalable and redundant object database that specializes in storing extensible objects, without the natural Object-relational impedance mismatch that can occur by attempting to make an Object Oriented Language and a Relational Query System map objects to relations.
Also available in: Chinese  
Articles 15 Apr 2008
Application development for the OLPC laptop
The XO laptop (of the One-Laptop-Per-Child initiative) is an inexpensive laptop project intended to help educate children around the world. The XO laptop includes many innovations, such as a novel, inexpensive, and durable hardware design and the use of GNU/Linux as the underlying operating system. The XO also includes an application environment written in Python with a human interface called Sugar, accessible to everyone (including kids). Explore the Sugar APIs and learn how to develop and debug a graphical activity in Sugar using Python.
Tutorial 18 Dec 2007
Metaclass programming in Python, Part 3
Too much cleverness in programming makes designs more complicated, code more fragile, learning curves steeper, and worst of all, it makes debugging harder. Michele and David feel, in part, responsible for some excesses of cleverness in Python metaclasses. In this article, they attempt to make amends, by helping programmers eschew cleverness.
Also available in: Russian   Japanese  
Articles 25 Sep 2007
Using Python in WebSphere MQ applications
PyMQI, an open-source Python extension for WebSphere MQ, is an open-source library built on top of the WebSphere MQ MQI library. This article shows you how PyMQI lets you use the power of Python to developing tools and applications for WebSphere MQ.
Articles 29 Aug 2007
Web development tips: Use antipool.py for threaded Python database access
Databases are happy to handle many parallel requests (doing so is almost in the definition of a database). However, active processes (threaded or forked) almost inevitably eat up a valuable resource: database connections. The antipool.py module in Martin Blais' "antiorm" library does a nice job of making the pooling and reuse of connections transparent to programmers, and in a RDBMS-agnostic fashion.
Also available in: Russian   Japanese  
Articles 21 Aug 2007
Ruby: A gem of a language
from The Rational Edge: Take a closer look at Ruby, a dynamic programming language that is growing rapidly in popularity. Explore its intriguing features and learn what programmers are doing with it.
Also available in: Chinese  
Articles 15 Jul 2007
Selenium
Selenium is a browser-based testing tool for web applications. It can be used to create functional tests and to ensure that applications run correctly on a wide variety of browsers and platforms. With the Selenium Remote Control add-on, tests can be written in Java, .NET, Perl, Python, or Ruby.
Downloads 04 Jan 2007
ANTLR
ANTLR, ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. ANTLR supports tree construction, tree walking, and translation.
Downloads 10 Nov 2006
StringTemplate
StringTemplate is a Java template engine (with ports for C# and Python) for generating source code, web pages, email, or any other formatted text output. StringTemplate is particularly good at multitargeted code generators, multiple site skins, and internationalization/localization.
Downloads 10 Nov 2006
Mix and match Web components with Python WSGI
Learn to create and reuse components in your Web server using Python. The Python community created the Web Server Gateway Interface (WSGI), a standard for creating Python Web components that work across servers and frameworks. It provides a way to develop Web applications that take advantage of the many strengths of different Web tools. This article introduces WSGI and shows how to develop components that contribute to well-designed Web applications.
Also available in: Russian  
Articles 22 Aug 2006
Develop applications using Python and DB2 Express-C
Python is an incredibly powerful, general purpose, high-level, object-oriented, dynamically-typed programming language that is easy to read and understand, and fun to write. To make it really exciting, all we need do is to be able to connect it to an equally powerful, and attractively priced version of the IBM DB2 core engine. DB2 Express-C is a no-charge data server for use in development and deployment, that allows us to do this. This article provides step-by-step instructions for obtaining, installing, and configuring all that you need in order to use Python to connect to, and start using a DB2 Express-C instance.
Also available in: Chinese   Japanese  
Articles 22 Jun 2006
1 - 100 of 157 results | Next
Show Summaries | Hide Summaries