incubator-nuvem-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r1085835 - in /incubator/nuvem/trunk/nuvem-parallel/nuvem: fbalbums.py fbfriends.py fbgroups.py twfollowers.py twfriends.py twtimeline.py
Date Sun, 27 Mar 2011 00:02:34 GMT
Author: jsdelfino
Date: Sun Mar 27 00:02:34 2011
New Revision: 1085835

URL: http://svn.apache.org/viewvc?rev=1085835&view=rev
Log:
Add a few components to help work with social APIs.

Added:
    incubator/nuvem/trunk/nuvem-parallel/nuvem/fbalbums.py
    incubator/nuvem/trunk/nuvem-parallel/nuvem/fbfriends.py
    incubator/nuvem/trunk/nuvem-parallel/nuvem/fbgroups.py
    incubator/nuvem/trunk/nuvem-parallel/nuvem/twfollowers.py
    incubator/nuvem/trunk/nuvem-parallel/nuvem/twfriends.py
    incubator/nuvem/trunk/nuvem-parallel/nuvem/twtimeline.py

Added: incubator/nuvem/trunk/nuvem-parallel/nuvem/fbalbums.py
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-parallel/nuvem/fbalbums.py?rev=1085835&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-parallel/nuvem/fbalbums.py (added)
+++ incubator/nuvem/trunk/nuvem-parallel/nuvem/fbalbums.py Sun Mar 27 00:02:34 2011
@@ -0,0 +1,21 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#    
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+def get(r, fbid, fb):
+    fid = fbid.get(r)
+    return fb.get((fid, 'albums'))
+

Added: incubator/nuvem/trunk/nuvem-parallel/nuvem/fbfriends.py
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-parallel/nuvem/fbfriends.py?rev=1085835&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-parallel/nuvem/fbfriends.py (added)
+++ incubator/nuvem/trunk/nuvem-parallel/nuvem/fbfriends.py Sun Mar 27 00:02:34 2011
@@ -0,0 +1,21 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#    
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+def get(r, fbid, fb):
+    fid = fbid.get(r)
+    return fb.get((fid, 'friends'))
+

Added: incubator/nuvem/trunk/nuvem-parallel/nuvem/fbgroups.py
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-parallel/nuvem/fbgroups.py?rev=1085835&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-parallel/nuvem/fbgroups.py (added)
+++ incubator/nuvem/trunk/nuvem-parallel/nuvem/fbgroups.py Sun Mar 27 00:02:34 2011
@@ -0,0 +1,21 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#    
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+def get(r, fbid, fb):
+    fid = fbid.get(r)
+    return fb.get((fid, 'groups'))
+

Added: incubator/nuvem/trunk/nuvem-parallel/nuvem/twfollowers.py
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-parallel/nuvem/twfollowers.py?rev=1085835&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-parallel/nuvem/twfollowers.py (added)
+++ incubator/nuvem/trunk/nuvem-parallel/nuvem/twfollowers.py Sun Mar 27 00:02:34 2011
@@ -0,0 +1,21 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#    
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+def get(r, twid, tw):
+    tid = twid.get(r)
+    return tw.get((("'screen_name", tid),))
+

Added: incubator/nuvem/trunk/nuvem-parallel/nuvem/twfriends.py
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-parallel/nuvem/twfriends.py?rev=1085835&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-parallel/nuvem/twfriends.py (added)
+++ incubator/nuvem/trunk/nuvem-parallel/nuvem/twfriends.py Sun Mar 27 00:02:34 2011
@@ -0,0 +1,21 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#    
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+def get(r, twid, tw):
+    tid = twid.get(r)
+    return tw.get((("'screen_name", tid),))
+

Added: incubator/nuvem/trunk/nuvem-parallel/nuvem/twtimeline.py
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-parallel/nuvem/twtimeline.py?rev=1085835&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-parallel/nuvem/twtimeline.py (added)
+++ incubator/nuvem/trunk/nuvem-parallel/nuvem/twtimeline.py Sun Mar 27 00:02:34 2011
@@ -0,0 +1,21 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#    
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+def get(r, twid, tw):
+    tid = twid.get(r)
+    return tw.get((("'screen_name", tid),))
+



Mime
View raw message