Personal tools
Skip to content. | Skip to navigation
Convenience uid/gid helper function used in Zope2.
Interlude for Doctests provides an Interactive Console.
IPython features (tab completion, syntax highlighting, better tracebacks, better introspection) right in pdb.
Python Jenkins is a library for the remote API of the Jenkins continuous integration server. It is useful for creating and managing jobs as well as build nodes.
This library can help you: * Query the test-results of a completed build * Get a objects representing the latest builds of a job * Search for artefacts by simple criteria * Block until jobs are complete * Install artefacts to custom-specified directory structures * username/password auth support for jenkins instances with auth turned on * Ability to search for builds by subversion revision * Ability to add/remove/query Jenkins slaves * Ability to add/remove/modify Jenkins views
python-ldap provides an object-oriented API for working with LDAP within Python programs. It allows access to LDAP directory servers by wrapping the OpenLDAP 2.x libraries, and contains modules for other LDAP-related tasks (including processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
from linkedin import * *Get an authorization url for your user* l = LinkedinAPI(api_key='*your app key*', api_secret='*your app secret*', callback_url='http://www.example.com/callback/', permissions=["r_network"]) auth_props = l.get_authentication_tokens() auth_url = auth_props['auth_url'] oauth_token_secret = auth_props['oauth_token_secret'] print 'Connect with LinkedIn via: %s' % auth_url If you leave callback_url blank, you can get the oauth_verifier from the web browser. It is a five-digit integer. The permissions parameter is optional. It can be a list or string. The [list of permissions](https://developer.linkedin.com/documents/authentication) is in the LinkedIn API documentation. Once you click "Allow" be sure that there is a URL set up to handle getting finalized tokens and possibly adding them to your database to use their information at a later date. \n\n' oauth_token = *Grab oauth token from URL* oauth_verifier = *Grab oauth verifier from URL* l = LinkedinAPI(api_key='*your app key*', api_secret='*your app secret*', oauth_token=oauth_token, oauth_token_secret=session['linkedin_session_keys']['oauth_token_secret']) authorized_tokens = l.get_access_token(oauth_verifier) final_oauth_token = authorized_tokens['oauth_token'] final_oauth_token_secret = authorized_tokens['oauth_token_secret'] l = LinkedinAPI(api_key = '*your app key*', api_secret = '*your app secret*', oauth_token=final_tokens['oauth_token'], oauth_token_secret=final_tokens['oauth_token_secret']) profile = l.get('people/~', fields='first-name,last-name') print profile search = l.get('people-search', params={'keywords':'Hacker'}) print search feed = l.get('people/~/network/updates') print feed share_content = { "comment": "Posting from the API using JSON", "content": { "title": "A title for your share", "submitted-url": "http://www.linkedin.com", "submitted-image-url": "http://lnkd.in/Vjc5ec" }, "visibility": { "code": "anyone" } } share_update = l.post('people/~/shares', params=share_content) print share_update
llist is an extension module for CPython providing basic linked list data structures. Collections implemented in the llist module perform well in problems which rely on fast insertions and/or deletions of elements in the middle of a sequence. For this kind of workload, they can be significantly faster than collections.deque or standard Python lists. This extension requires CPython 2.5 or newer (3.x is supported). If you are looking for an implementation of linked lists in pure Python, visit http://github.com/rgsoda/pypy-llist/ The pypy-llist module has the same API as this extension, but is significantly slower in CPython. Currently llist provides the following types of linked lists: dllist - a doubly linked list sllist - a singly linked list
This package provides a bayesian classifier based on for m01.mongo.
This package provides z3c.form widget converter for m01.mongo components.