This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# Requires Python >2.7.2 | |
# CAUTION: this script will create a new collection in your Mendeley library and add a bunch of documents to it. | |
import json | |
import urlparse | |
from mendeley_client import MendeleyClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import json | |
import datetime | |
from sqlalchemy import create_engine | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy.orm import sessionmaker | |
from wordpress_xmlrpc import Client, WordPressPost, WordPressComment, WordPressTerm | |
from wordpress_xmlrpc.methods import media, posts, users, comments, taxonomies | |
from wordpress_xmlrpc.compat import xmlrpc_client |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## The subject object. Importantly, the subject object manages DATA & the | |
## history of the subject's experiences | |
subj = Subect(name='B9999', | |
store='json', # csv, postgres | |
path='/home/bird/opdat/B9999' | |
) | |
## Panel objects are defined in ~/.pyoperant/panel_config.py | |
## Panels have methods for manipulating panels. The "availability" of a panel | |
## (that is, light schedules and trial schedules) are governed by the panel |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer