200 likes | 224 Views
Understand IronPython, an open-source .NET implementation of Python, enhancing Python with .NET libraries while maintaining compatibility with CPython. Learn about FePy, a Sourceforge project providing add-ons and enhancements for IronPython.
E N D
Pumping Iron into Python: Intro to FePy Sarah Dutkiewicz The Coding Geekette www.codinggeekette.com
What is IronPython? IronPython is the open source .NET implementation of the Python programming language, giving Python programmers the benefits of the .NET libraries while still maintaining compatibility with CPython.
What is .NET? The .NET Framework is Microsoft's comprehensive and consistent programming model for building applications that have visually stunning user experiences, seamless and secure communication, and the ability to model a range of business processes. - Taken from the Microsoft .NET Framework Home Page
What is FePy? • FePy, in terms of this presentation, represents two things: • A play on the name Iron (Fe) and Python (Py) • A project on Sourceforge that provides add-ons and enhancements to IronPython FePy
FePy and IPCE • FePy • Open source project on Sourceforge • Goal to provide add-ons and enhancements for IronPython • IronPython Community Edition (IPCE) • FePy and some third party add-ons are included • Included in Mono, as of Mono 1.2.3
IronPython vs CPython This base language difference leads to issues with IronPython and Python libraries written in C. However…
IronClad Open source project sponsored by Resolver Systems to reimplement the Python C API
IronClad Targets • numpy 1.2 • scipy 0.7 • matplotlib • bz2 from Python 2.5 • _hashlib, _elementtree, _socket, _ssl, winsound from Python 2.5
Multi-threading + Multi-core procs = IronPython CPython
Introducing Mono Mono is a cross-platform, open source implementation of the .NET development framework.
More on Mono • Features: • Common Language Infrastructure virtual machine with a class loader, JiT compiler, and garbage collector • Class library to work with any language that runs on the CLR • C# compiler
IronPython on Mono Demos
Web References • Official IronPython Site: http://www.codeplex.com/ironpython • IronPython in Action: http://www.ironpythoninaction.com • IronPython Cookbook: http://www.ironpython.info • The Voidspace Techie Blog: http://www.voidspace.org.uk/python/weblog/ • DevHawk’s Blog: http://www.devhawk.net/ • The Mono Project: http://mono-project.com • FePy and IronPython Community Edition http://fepy.sourceforge.net • IronClad: http://code.google.com/p/ironclad/
Web References (continued) • Resolver Systems: http://www.resolversystems.com/ • Resolver Hacks: http://www.resolverhacks.net/
PyOhio 2009 What: A mini-conference on Python When: Summer 2009 Where: Columbus, OH More info:http://www.pyohio.org
Contact Information Blog: http://www.codinggeekette.com Email: sarah@codinggeekette.com