Nothing Special   »   [go: up one dir, main page]

Tags : Browse Projects

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

trnltk

Compare

  Analyzed about 2 hours ago

Turkish Natural Language Toolkit

15.5K lines of code

0 current contributors

almost 7 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This

python-spidermonkey

Compare

  Analyzed about 14 hours ago

Python-SpidermonkeyThis Python module allows for the implementation of Javascript? classes, objects and functions in Python, as well as the evaluation and calling of Javascript scripts and functions. It borrows heavily from Claes Jacobssen's Javascript Perl module, which in turn is based on ... [More] Mozilla's PerlConnect Perl binding. This code was originally written by John J. Lee in 2003. After being unmaintained for a number of years, it was subsequently picked up by Atul Varma in 2008. TutorialThe first thing you'll want to do is create a Runtime instance, which encapsulates a JSRuntime object from Spidermonkey. From the JSAPI User Guide: A JSRuntime, or runtime, is the space in which the Javascript variables, objects, scripts, and contexts used by your application are allocated. Every JSContext and every object in an application lives within a JSRuntime. They cannot travel to other runtimes or be shared across runtimes. Most applications only need one runtime. Creating the Runtime instance is straightforward: >>> from spidermonkey import Runtime >>> rt = Runtime()You'll then want to use the Runtime to create a Contextinstance, which encapsulates a JSContext object from Spidermonkey. From the JSAPI User Guide: A JSContext, or context, is like a little machine that can do many things involving Javascript code and objects. It can compile and execute scripts, get and set object properties, call Javascript functions, convert Javascript data from one type to another, create objects, and so on. In Firefox, for instance, a different context is used for each webpage you view. A separate context is even created for each physical browser window, because much of Firefox's functionality is actually written in Javascript. Contexts can have their own security policies associated with them, and objects can be shared between multiple contexts. Creating a context in Python-Spidermonkey is done like so: >>> cx = rt.new_context()Now that you've got a context, you can do lots of things, like evaluating arbitrary Javascript expressions and using their results in Python code: >>> cx.eval_script("1 + 2") + 3 6We can create classes in Python and access them in Javascript, too: >>> class Foo: ... def hello(self): ... print "Hello, Javascript world!" >>> cx.bind_class(Foo, bind_constructor=True) >>> cx.eval_script("var f = new Foo(); f.hello();") Hello, Javascript world!We can also get back objects from Javascript and use them: >>> f = cx.eval_script("f;") >>> f.hello() Hello, Javascript world!LimitationsThe module currently has a number of features that still need to be implemented. For instance, it's not yet possible to call a function defined in Javascript: >>> cx.eval_script("function foo(x) { return x + 1; }; foo;") {'prototype': {}}Errors in Javascript code also don't produce particularly helpful tracebacks: >>> cx.eval_script("3 + undefinedVariable") Traceback (most recent call last): ... JSError: can't evaluate Javascript scriptInstallationNote that at present, installation has only been tested on OS X and 64-bit Ubuntu Linux; support for Windows is forthcoming. At present, you'll need a C compiler on your system to install this extension, as well as the Pyrex package. Check out the Python-Spidermonkey module from the SVN repository. From the root of your checkout, run: python setup.py buildDon't worry about the compiler warnings. Then, with appropriate permissions, run: python setup.py installTestingThe module has a test suite. Just run: python test.pyNote that one of the tests currently prints out a Javascript error message. This isn't a test failure (though it is a bug). AcknowledgementsThanks to Brendan Eich for help with several Spidermonkey issues (and for all his Mozilla work), and to Erwin on the freenode #c IRC channel for gdb tips. [Less]

79.4K lines of code

0 current contributors

about 14 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This

pyiso8601

Compare

  No analysis available

Many file formats and standards use the ISO 8601 date format (e.g. 2007-01-14T20:34:22+00:00) to store dates in a neutral, unambiguous manner. This simple module parses the most common forms encountered and returns datetime objects. >>> import iso8601 >>> ... [More] iso8601.parse_date("2007-06-20T12:34:40+03:00") datetime.datetime(2007, 6, 20, 12, 34, 40, tzinfo=) >>> iso8601.parse_date("2007-06-20T12:34:40Z") datetime.datetime(2007, 6, 20, 12, 34, 40, tzinfo=) [Less]

0 lines of code

0 current contributors

0 since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This
Mostly written in language not available
Licenses: mit

propython

Compare

  No analysis available

Programas-exemplo para aprender e ensinar a linguagem Python. Entre 1/mar/2009 e 4/out/2009 este repositório foi para o Github e depois para o Bitbucket, mas agora está de volta aqui no Googlecode.

0 lines of code

0 current contributors

0 since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This
Mostly written in language not available
Licenses: bsd
Tags python

opengst-openstc

Compare

  Analyzed about 13 hours ago

Module OpenERP de gestion des interventions pour la solution OpenSTC

1.89K lines of code

0 current contributors

over 10 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This

SublimeRope

Compare

  Analyzed 3 days ago

Adds Python completions and some IDE-like functions to Sublime Text 2, through the use of the Rope library

14.3K lines of code

0 current contributors

about 11 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This
Licenses: No declared licenses

tempi music BPM discovery

Compare

  Analyzed about 14 hours ago

Add tempo metadata (BPM) to your music collection using The Echo Nest

199 lines of code

0 current contributors

over 10 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This

lector

Compare

  Analyzed about 12 hours ago

LectorA graphical ocr solution for GNU/Linux based on Python, Qt4 and Tesseract OCR. Author: Davide Setti IntroductionLector lets you select areas on which you want to do OCR. Then you can run tesseract-ocr on them by a simple click on a button. The read text can be modified directly in ... [More] Lector. Finally the work can be saved in RTF. It's not possible to use a scanner directly yet; you have to use Kooka or something similar, save an image (png, tiff, ...) and then load that. UsingRequirementsFirst check the requirements. Stable (recommended)Download the latest stable version of Lector from here. Latest release is 0.2.1.1 (October 24, 2008). DevelopmentYou can also use SVN version. ScreenshotHere you can find screenshots too. [Less]

6.8K lines of code

0 current contributors

over 6 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This

gopher-love

Compare

  Analyzed about 13 hours ago

An extensible gopher browser.

387 lines of code

0 current contributors

5 months since last commit

0 users on Open Hub

Very Low Activity
0.0
 
I Use This

Beaker Notebook

Compare

  Analyzed about 9 hours ago

Notebook-style development provides a more exploratory way to write code than with traditional IDEs. Notebook interfaces are comprised of a series of code blocks, called cells, which can stand alone or act in unison. The development process is one of discovery, where a developer experiments in one ... [More] cell, then can continue to write code in a subsequent cell depending on results from the first. Particularly when analyzing large datasets, this conversational approach allows researchers to quickly discover patterns or other artifacts of the data. [Less]

173 lines of code

12 current contributors

about 4 years since last commit

0 users on Open Hub

Inactive
0.0
 
I Use This