Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deanishe/zothero
/ functions
Functions
438 in github.com/deanishe/zothero
⨍
Functions
438
◇
Types & classes
59
Method
conn
Return connection to the database.
src/lib/zothero/zotero.py:181
Method
conn
Database connection.
src/lib/zothero/cache.py:95
Method
conn
Connection to database.
src/lib/zothero/cache.py:276
Method
conn
Return connection to the database.
src/lib/zothero/index.py:136
Method
content
Raw content of response (i.e. bytes). :returns: Body of HTTP response :rtype: str
src/lib/workflow/web.py:297
Method
creators
Properly formatted authors. Returns 'xxx.' if there are no creators, otherwise joins them with commas & "and", and adds a full stop.
src/lib/zothero/formatting.py:49
Method
csl
CSL data for `Entry` for converting to CSL-JSON. Returns: dict: Entry data converted to CSL types.
src/lib/zothero/models.py:134
Method
csljson
CSL-JSON for `Entry`. Returns: str: JSON array containing CSL data for one `Entry`.
src/lib/zothero/models.py:145
Method
cursor
Context manager providing database cursor.
src/lib/zothero/cache.py:293
Method
data_serializer
Name of default data serializer. .. versionadded:: 1.8 This serializer is used by :meth:`store_data()` and :meth:`stored_dat
src/lib/workflow/workflow.py:1517
Method
datadir
Path to workflow's data directory. The data directory is a subdirectory of Alfred's own data directory in ``~/Library/Application Sup
src/lib/workflow/workflow.py:1256
Method
debugging
Whether Alfred's debugger is open. :returns: ``True`` if Alfred's debugger is open. :rtype: ``bool``
src/lib/workflow/workflow.py:1108
Method
decode_stream
(iterator, r)
src/lib/workflow/web.py:355
Method
delete_paths
Clear one or more data stores
src/lib/workflow/workflow.py:1624
Method
dict
Convert `Download` to `dict`.
src/lib/workflow/update.py:163
Method
do_help
()
src/lib/workflow/workflow.py:2567
Method
do_update
()
src/lib/workflow/workflow.py:2554
Function
docopt
Parse `argv` based on command-line interface described in `doc`. `docopt` creates your command-line interface based on its description that y
src/lib/docopt.py:493
Method
dumbify_punctuation
Convert non-ASCII punctuation to closest ASCII equivalent. This method replaces "smart" quotes and n- or m-dashes with their workaday
src/lib/workflow/workflow.py:2724
Method
dump
Serialize object ``obj`` to open pickle file. .. versionadded:: 1.8 :param obj: Python object to serialize :type obj: Python
src/lib/workflow/workflow.py:650
Method
dump
Serialize object ``obj`` to open pickle file. .. versionadded:: 1.8 :param obj: Python object to serialize :type obj: Python
src/lib/workflow/workflow.py:688
Method
editors
Creators whose type is ``editor``. Returns: list: Sequence of `Creator` objects.
src/lib/zothero/models.py:124
Method
either
Transform pattern into an equivalent, with only top-level Either.
src/lib/docopt.py:72
Method
elem
Create and return feedback item for Alfred. :returns: :class:`ElementTree.Element <xml.etree.ElementTree.Element>` instance for t
src/lib/workflow/workflow.py:740
Method
empty
Return ``True`` if index database is empty.
src/lib/zothero/index.py:188
Method
encode
(self, input, final=False)
src/lib/rtfunicode.py:46
Method
encoding
Text encoding of document or ``None``. :returns: Text encoding if found. :rtype: str or ``None``
src/lib/workflow/web.py:284
Method
entry
Retrieve `Entry` for ``key``. Args: key (str): Zotero database key Returns: zothero.zotero.Entry: `Entry` fo
src/lib/zothero/core.py:183
Method
entry
Return `Entry` for `entry_id`. Args: id (int): Zotero database ID Returns: zothero.zotero.Entry: `Entry` for
src/lib/zothero/index.py:205
Function
entry_icon
Return the appropriate icon for an `Entry`.
src/lib/zothero/icons.py:29
Method
filter
Fuzzy search filter. Returns list of ``items`` that match ``query``. ``query`` is case-insensitive. Any item that does not contain the
src/lib/workflow/workflow.py:1765
Method
first_run
Return ``True`` if it's the first time this version has run. .. versionadded:: 1.9.10 Raises a :class:`ValueError` if :attr:`version
src/lib/workflow/workflow.py:2190
Method
flat
(self, *types)
src/lib/docopt.py:149
Method
fold_default
()
src/lib/workflow/workflow.py:2528
Method
fold_off
()
src/lib/workflow/workflow.py:2524
Method
fold_on
()
src/lib/workflow/workflow.py:2520
Method
from_json
Create a `CSLStyle` from a JSON object.
src/lib/zothero/models.py:273
Function
get
Initiate a GET request. Arguments as for :func:`request`. :returns: :class:`Response` instance
src/lib/workflow/web.py:582
Method
getvar
Return value of workflow variable for ``name`` or ``default``. Args: name (unicode): Variable name. default (None, op
src/lib/workflow/workflow3.py:191
Method
getvar
Return value of workflow variable for ``name`` or ``default``. Args: name (unicode): Variable name. default (None, op
src/lib/workflow/workflow3.py:304
Method
getvar
Return value of workflow variable for ``name`` or ``default``. Args: name (unicode): Variable name. default (None, op
src/lib/workflow/workflow3.py:548
Method
handle_data
(self, s)
src/lib/cite/html2rtf.py:63
Method
handle_data
Callback for contents of HTML tags. Args: s (unicode): Text from between HTML tags.
src/lib/zothero/util.py:97
Method
handle_endtag
(self, tag)
src/lib/cite/html2rtf.py:50
Method
handle_starttag
(self, tag, attr)
src/lib/cite/html2rtf.py:37
Function
html2rtf
Convert HTML to RTF.
src/lib/cite/html2rtf.py:74
Method
iterkeys
Iterate over original keys.
src/lib/workflow/web.py:170
Method
json
Decode response contents as JSON. :returns: object decoded from JSON :rtype: list, dict or unicode
src/lib/workflow/web.py:274
Function
json_serialise
Serialise `date` objects. JSON serialisation helper to be passed as the ``default`` argument to `json.dump`. Args: obj (object):
src/lib/zothero/util.py:224
Method
key
Return unique key for style. Returns: unicode: Style key.
src/lib/zothero/models.py:288
Method
keys
Iterate entry keys.
src/lib/zothero/zotero.py:233
Function
kill
Send a signal to job ``name`` via :func:`os.kill`. .. versionadded:: 1.29 Args: name (str): Name of the job sig (int, option
src/lib/workflow/background.py:179
Method
last_updated
Return modified time of database file.
src/lib/zothero/zotero.py:202
Method
last_updated
Return modified time of database file.
src/lib/zothero/index.py:195
Method
last_version_run
Return version of last version to run (or ``None``). .. versionadded:: 1.9.10 :returns: :class:`~workflow.update.Version` instance
src/lib/workflow/workflow.py:2207
Method
list_magic
Display all available magic args in Alfred.
src/lib/workflow/workflow.py:2580
Method
load
Load serialized object from open pickle file. .. versionadded:: 1.8 :param file_obj: file handle :type file_obj: ``file`` ob
src/lib/workflow/workflow.py:636
Method
load
Load serialized object from open pickle file. .. versionadded:: 1.8 :param file_obj: file handle :type file_obj: ``file`` ob
src/lib/workflow/workflow.py:674
Method
locked
``True`` if file is locked by this instance.
src/lib/workflow/util.py:415
Method
logfile
Path to logfile. :returns: path to logfile within workflow's cache directory :rtype: ``unicode``
src/lib/workflow/workflow.py:1372
Method
logger
Logger that logs to both console and a log file. If Alfred's debugger is open, log level will be ``DEBUG``, else it will be ``INFO``.
src/lib/workflow/workflow.py:1382
Function
lookup
Return canonical Locale for string ``code``. Args: code (str): Locale code. Returns: Locale: Locale for code or ``None`` if
src/lib/cite/locales/__init__.py:76
Function
main
Run command in a background process. Load cached arguments, fork into background, then call :meth:`subprocess.call` with cached arguments.
src/lib/workflow/background.py:248
Method
match
(self, left, collected=None)
src/lib/docopt.py:119
Method
match
(self, left, collected=None)
src/lib/docopt.py:228
Method
match
(self, left, collected=None)
src/lib/docopt.py:241
Method
match
(self, left, collected=None)
src/lib/docopt.py:255
Method
name
(self)
src/lib/docopt.py:218
Method
name
Name of locale in local language and English. Returns: unicode: Locale name.
src/lib/cite/locales/__init__.py:46
Method
name
Workflow name from Alfred's environmental vars or ``info.plist``. :returns: workflow name :rtype: ``unicode``
src/lib/workflow/workflow.py:1118
Method
obj
Return ``alfredworkflow`` `dict`.
src/lib/workflow/workflow3.py:70
Method
obj
Modifier formatted for JSON serialization for Alfred 3. Returns: dict: Modifier for serializing to JSON.
src/lib/workflow/workflow3.py:205
Method
obj
Item formatted for JSON serialization. Returns: dict: Data suitable for Alfred 3 feedback.
src/lib/workflow/workflow3.py:345
Method
obj
Feedback formatted for JSON serialization. Returns: dict: Data suitable for Alfred 3 feedback.
src/lib/workflow/workflow3.py:674
Method
open_cachedir
Open the workflow's :attr:`cachedir` in Finder.
src/lib/workflow/workflow.py:2644
Method
open_datadir
Open the workflow's :attr:`datadir` in Finder.
src/lib/workflow/workflow.py:2648
Method
open_log
Open :attr:`logfile` in default app (usually Console.app).
src/lib/workflow/workflow.py:2640
Method
open_terminal
Open a Terminal window at workflow's :attr:`workflowdir`.
src/lib/workflow/workflow.py:2656
Method
open_workflowdir
Open the workflow's :attr:`workflowdir` in Finder.
src/lib/workflow/workflow.py:2652
Method
parse
(class_, source)
src/lib/docopt.py:164
Function
parse_date
Parse a Zotero date into YYYY-MM-DD, YYYY-MM or YYYY format. Zotero dates are in the format "YYYY-MM-DD <in words>", where <in words> may be
src/lib/zothero/util.py:198
Function
paste
Simulate CMD+V to paste clipboard.
src/lib/pasteboard.py:76
Method
path
Path to CSL locale definition file. Returns: str: Path to XML locale file.
src/lib/cite/locales/__init__.py:58
Function
post
Initiate a POST request. Arguments as for :func:`request`. :returns: :class:`Response` instance
src/lib/workflow/web.py:594
Method
prereleases
Whether workflow should update to pre-release versions. .. versionadded:: 1.16 :returns: ``True`` if pre-releases are enabled with t
src/lib/workflow/workflow.py:2282
Method
prereleases_off
()
src/lib/workflow/workflow.py:2550
Method
prereleases_on
()
src/lib/workflow/workflow.py:2546
Function
rank
Rank function for SQLite. `matchinfo` is defined as returning 32-bit unsigned integers in machine byte order (see http://www.
src/lib/zothero/index.py:103
Function
read
Load data and attachments directories from Zotero prefs.
src/lib/zothero/config.py:30
Method
redirect_request
Ignore redirect.
src/lib/workflow/web.py:102
Method
rerun
How often (in seconds) Alfred should re-run the Script Filter.
src/lib/workflow/workflow3.py:494
Function
rtfunicode
(name)
src/lib/rtfunicode.py:57
Function
run
(argv)
cpjs/cite.js:179
Function
run_jxa
Execute a JXA script and return its output. .. versionadded:: 1.31 Wrapper around :func:`run_applescript` that passes ``lang=JavaScript``.
src/lib/workflow/util.py:222
Method
save_password
Save account credentials. If the account exists, the old password will first be deleted (Keychain throws an error otherwise).
src/lib/workflow/workflow.py:2386
Method
search
Search the Zotero database.
src/lib/zothero/core.py:195
Method
send_feedback
Print stored items to console/Alfred as JSON.
src/lib/workflow/workflow3.py:718
Method
serializers
Return names of registered serializers.
src/lib/workflow/workflow.py:580
Method
session_id
A unique session ID every time the user uses the workflow. .. versionadded:: 1.25 The session ID persists while the user is using th
src/lib/workflow/workflow3.py:508
Method
setdefault
Override :class:`dict` method to save on update.
src/lib/workflow/workflow.py:882
← previous
next →
301–400 of 438, ranked by callers