Neoprene - Using Fabric for Drupal deploys and workflows
Hey Folks,
I've been working on some deploy recipes for Drupal, built upon the great Python tool Fabric. Drush still does most of the heavy lifting, but Fabirc gives me a nice way of putting a several commands together into a single deploy or development workflow command.
I'm packaging these recipes together in a set of modules called Neoprene. It's pretty alpha code at this stage but someone on another group suggested some folks in this channel might find this useful.
https://github.com/scimusmn/neoprene
Read moreA problem with python drupal services
Hi i try to run this code on Drupal 6.x but i get an error :
A fault occurred
Fault code: 1
Fault string: Wrong username or password.
can some body already try python to access with Drupal xmlrpc and to get authentificate
#
import xmlrpclib, time
Put the URL for your Service in here. See admin/build/services.
config = {
'url': 'http://twitter.connexionservice.com/services/xmlrpc',
'username': 'developer',
'password': 'password',
}
s = xmlrpclib.Server(config['url'], allow_none=True)
class node:
Python code using XML-RPC to create a node and upload/attach a file.
I've searched the web looking for something more than a "create a node" example for Drupal Services. There are some good examples for Flash/Flex and some bits and pieces in Python or PHP but nothing that helps me to figure out what I am doing wrong.
Since my client is planning to develop a cross platform application that interacts with their Drupal site, I thought I would create a sample app in Python - just to show the Flash, iPhone, Droid, Blackberry developers how the Drupal Services API works.
Read moreDrupal Authorization
Hello. I am trying to get services using authorization to work but I am running into an issue. I have services 6.x-1.x-dev installed, key authentication, json server and xmlrpc server. I have the node,search,system,user and views service turned on and I am running the latest stable drupal 6. I am trying to use the python script below to connect and return a node from services (I have also tried with a view and also using php but run into similar problems). If I go to site building -> services -> settings and remove the use keys and use sessid (and don't send the auth.
Read moreVPK (Virtual Python Kit)
What? The idea for this module is to add Python functionality to Drupal using 'virtual python', so enabling Drupal to make use of Python even in shared hosting which does not offer Python, and where user doesn't have SSH access - i.e. usable almost anywhere Drupal can be installed.
Is it feasible? Yes - for proof of concept I've tested setting this up manually in shared hosting which does not offer Python.
Read moreCreating a node in Python
New Memetracker document: How to install the Python prerequisites for Memetracker (on Ubuntu Linux)
Hi there folks,
I'm sure many of us are excited about the potential of the Memetracker module (I definitely am!).
Memetracker currently has some Python requirements, and many Drupal folks are not accustomed to installing Python/ Linux packages in general.
As a result, many of the issues in the Memetracker issue queue are about getting the Python packages installed correctly.
To help with this, I've written a document that's purely about installing the Python prerequisites:
Python Services API
Just thought I'd let everyone know I've started the Python Services API project, which provides a set of classes and and tests that Python developers can use as a basis for integration with the Services module. It's fairly bare-bones at the moment, and I'm by no means and expert Python developer, so feedback and contributions are more than welcome.
Read more