Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 8

IronPython is a new implementation of the Python programming language running on .NET. It supports an interactive console with fully dynamic compilation. It is well integrated with the rest of the .NET Framework and makes all .NET libraries easily available to Python programmers, while maintaining full compatibility with the Python language.

3.66667
   
  0 reviews  |  16 users  |  901,370 lines of code  |  1 current contributor  |  Analyzed about 2 years ago
 
 

Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers. Using this package you can script .NET applications or build entire applications in Python, using ... [More] .NET services and components written in any language that targets the CLR (Managed C++, C#, VB, JScript). [Less]

4.0
   
  0 reviews  |  3 users  |  59,189 lines of code  |  1 current contributor  |  Analyzed 2 days ago
 
 

DevoBot provides a base framework for writing SecondLife bots that are controlled via commands sent through instant messages. The main goal is to allow extremely rapid development by providing the ability to modify source code without having to recompile or even relog the bot account. SupportIf ... [More] you have a legitimate bug or patch then by all means use the issue tracker but otherwise please do not request assistance here for issues specific to libomv or for IronPython help as there's already a wealth of information available for these online. Here are some starting points: libomv ironpython.info InstallationNote: Mono users will require at least mono 2.4.x Check out the source code Rename config.py.example to config.py Edit config.py and set the owner and login variables Run run.py with IronPython Adding CommandsSimply add function definitions inside commands.py - these functions only have two requirements. Firstly they must be prefixed with the @bot.Command decorator and secondly they must have two required arguments, client and msg eg: @bot.Command() def my_command(client, msg): # do somethingThe @bot.Command decorator simply identifies the function as a command. This allows you to have other functions and variables inside commands.py that aren't accessible as commands. By default a command is only available to the owner specified in config.py - to make a command publicly accessible add the public keyword argument to the @bot.Command decorator, eg: @bot.Command(public=True) def my_command(client, msg): # do somethingThe types for the two required arguments for a command function are respectively the OpenMetaverse.GridClient object that represents the current bot and the OpenMetaverse.InstantMessage object that represents the instant message used to trigger the command. To trigger a command simply send the bot an instant message with the command name, prefixed with "~", so in order to trigger the quit command you'd send an instant message saying ~quit Adding EventsThere are two ways to specify event handlers. The first is similar to the approach for adding commands whereby event handlers are simply defined inside events.py as functions. To define an event handler simply name the function the same as its event in OpenMetaverse, providing the same list of parameters for the relevant event handler in OpenMetaverse along with an extra initial parameter representing the OpenMetaverse.GridClient object. You must also use the @bot.Event decorator to identify the function as an event handler, eg: @bot.Event() def OnChat(client, msg, audible, type, source, name, id, owner, pos): """print chat""" print "[%s/chat] %s: %s" % (client.Self.Name, name, msg)The second way for defining event handlers is to explicitly assign them inside your own code. To assist in applying many modifications to a bot while it is still logged in, a method is provided for specifically setting a master event handler for each event rather than having to deal with adding and removing multiple event handlers per event. To set a master event handler for a particular event, simply set the handler on bot.events eg: import bot # define a command that creates and sets a master event handler @bot.Command() def set_chat_handler(client, msg): def print_chat(client, msg, lvl, type, src_type, from_name, id, owner_id, pos): """print chat""" print "[%s/chat] %s: %s" % (client.Self.Name, name, msg) bot.events.OnChat = print_chatNote that you must still provide the extra initial parameter representing the OpenMetaverse.GridClient object however in this case it's unnecessary to use the @bot.Event decorator since you're explicitly defining the event handler. The key idea here is that you can modify and run the print_chat function over and over as many times as you like and the OnChat event will only ever be triggered once each time. You can still add event handlers in the traditional way libopenmv intends you to however you may find less than desirable results by doing so with a bot that can be modified while it's running. OnInstantMessageThe OnInstantMessage event is treated specially and unavailable for use within the approaches described above for event handlers. This is not due to the handling of commands as described above but due to the large number of concerns that seem to pass through it. Basically the OnInstantMessage event is broken down into a separate event for each type of InstantMessageDialog so using the approaches described above for event handlers you can add specific handlers for things like OnGroupInvitation and OnInventoryOffered. If you need to handle instant messages that aren't valid commands, simply define a command called default inside commands.py which will be called when an instant message is received and a command is not triggered. Scripting BotsViewing the source of run.py shows that it simply performs an import of the bot module, performs a login on all the credentials provided in config.py and then listens for commands typed in the console. This provides a starting point for scripting your own bots. [Less]

0
 
  0 reviews  |  1 user  |  213 lines of code  |  0 current contributors  |  Analyzed 4 days ago
 
 

Release 00.01.71Davy's Ironpython Editor (DIE) is a clutter free IronPython editor written in IronPython with some basic IDE features. The project intentions is to create a editor along the lines of SPE or DrPython for the IronPython world. DIE is easy to deploy and the mobile version will run ... [More] from a USB key etc. This project is targeted at IronPython 2.0 (works with IronPython 2.6 Beta also) and is developed on the Windows Platform. Currently it uses a modified version of the SyntaxBox component (LGPL) for the text editing component. Here's some ScreenShots. Source code is available via SVN. [Less]

4.0
   
  0 reviews  |  1 user  |  1,741 lines of code  |  0 current contributors  |  Analyzed about 2 years ago
 
 

Cartoon Viewer for Mobile PC.

0
 
  0 reviews  |  1 user  |  1,932 lines of code  |  0 current contributors  |  Analyzed 5 days ago
 
 

The Meta.Numerics library brings scientific computing to the .NET platform. It offers an object-oriented API for matrix algebra, advanced functions of real and complex numbers, and statistics.

0
 
  0 reviews  |  1 user  |  27,265 lines of code  |  1 current contributor  |  Analyzed 3 months ago
 
 

Xna Console allows you to debug and tweak your game on the fly by providing a simple text interface to an interpreter, such as IronPython. You can change variables, test code, or even play your game itself indirectly from the relative safety of a console, all while your game is still running. Since ... [More] Xna Console is designed to work somewhat like other consoles, it's easy to write your own text based games, or implement an interpreter other than IronPython. [Less]

3.0
   
  0 reviews  |  1 user  |  0 current contributors
 
 

Project devoted to providing a community interface for building, implementing, and support extensions to the nuXleus XML Messaging Virtualized Appliance.

0
 
  0 reviews  |  1 user  |  1,751,533 lines of code  |  0 current contributors  |  Analyzed 7 days ago
 
 

Renaming a file works well when there is just one. But when you have a directory full of them it gets tedious quickly. With nametrans you can use search and replace on your list of files as you would on text in a document. And with regular expressions you have even more power to transform file ... [More] names (and whole file paths) systematically. With useful presets for common fixes like lowercasing or capitalization you can keep your filenames nice and tidy, whether 10 or 10,000 of them, in one go. [Less]

5.0
 
  0 reviews  |  1 user  |  3,396 lines of code  |  1 current contributor  |  Analyzed 5 days ago
 
 

MyMediaLite is a recommender system algorithm library. It provides methods for two common tasks in recommender systems/collaborative filtering: rating prediction and item prediction from implicit feedback. MyMediaLite also contains command-line programs that let you use much of the library's functionality without having to program.

5.0
 
  0 reviews  |  1 user  |  25,834 lines of code  |  5 current contributors  |  Analyzed 2 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.