Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/deanishe/zothero
/ functions
Functions
438 in github.com/deanishe/zothero
⨍
Functions
438
◇
Types & classes
59
Method
__call__
Trap ``SIGTERM`` and call wrapped function.
src/lib/workflow/util.py:529
Method
__contains__
(self, key)
src/lib/workflow/web.py:130
Method
__del__
Clear up `self.lockfile`.
src/lib/workflow/util.py:493
Method
__delitem__
Implement :class:`dict` interface.
src/lib/workflow/workflow.py:872
Method
__enter__
Acquire lock.
src/lib/workflow/util.py:484
Method
__eq__
(self, other)
src/lib/docopt.py:34
Method
__exit__
Release lock.
src/lib/workflow/util.py:489
Method
__ge__
Implement comparison.
src/lib/workflow/update.py:329
Method
__get__
Decorator API.
src/lib/workflow/util.py:549
Method
__getattr__
Look up attribute as dictionary key. Args: key (str): Dictionary key/attribute name. Returns: obj: Dictionar
src/lib/zothero/models.py:36
Method
__gt__
Implement comparison.
src/lib/workflow/update.py:317
Method
__hash__
(self)
src/lib/docopt.py:37
Method
__init__
(self, message='')
src/lib/docopt.py:28
Method
__init__
(self, name, value=None)
src/lib/docopt.py:109
Method
__init__
(self, *children)
src/lib/docopt.py:142
Method
__init__
(self, name, value=False)
src/lib/docopt.py:172
Method
__init__
(self, source, error)
src/lib/docopt.py:291
Method
__init__
(self)
src/lib/cite/html2rtf.py:33
Method
__init__
Create a new `Locale` for abbreviation ``code``. Args: code (str): Abbreviation of locale, e.g. 'en' or 'en-GB'. Raises:
src/lib/cite/locales/__init__.py:23
Method
__init__
Load Zotero data from ``datadir``. Args: datadir (str): Path to Zotero's data directory. dbpath (str, optional): Path
src/lib/zothero/zotero.py:165
Method
__init__
Create new `ZotHero` using ``cachedir``. Args: cachedir (str): Directory to store cached data in. zot_data_dir (str,
src/lib/zothero/core.py:42
Method
__init__
Create new `Store`. Args: name (str): Name of store (and database table). cache (Cache): `Cache` object managing the
src/lib/zothero/cache.py:79
Method
__init__
Open/create and open cache at `filepath`. Args: filepath (str): Path of cache sqlite database.
src/lib/zothero/cache.py:264
Method
__init__
Create new `AttrDict`. Args: *args (objects): Arguments to `dict.__init__()` **kwargs (objects): Keyword arguments to
src/lib/zothero/models.py:26
Method
__init__
Create new `Attachment` object. Args: *args: Optional initialisation data. As for `dict`. **kwargs: Optional initiali
src/lib/zothero/models.py:206
Method
__init__
Create new `Collection` object. Args: *args: Optional initialisation data. As for `dict`. **kwargs: Optional initiali
src/lib/zothero/models.py:226
Method
__init__
Create new `Creator` object. Args: *args: Optional initialisation data. As for `dict`. **kwargs: Optional initialisat
src/lib/zothero/models.py:248
Method
__init__
Create a new style. Args: *args: Optional initialisation data. As for `dict`. **kwargs: Optional initialisation data.
src/lib/zothero/models.py:277
Method
__init__
Load Better Bibtex database from Zotero data directory. Args: datadir (unicode, optional): Zotero's data directory. Rais
src/lib/zothero/betterbibtex.py:30
Method
__init__
New Styles containing styles from ``stylesdir``. Args: stylesdir (unicode): Directory to load styles from. cachedir (
src/lib/zothero/styles.py:106
Method
__init__
Create new HTMLText.
src/lib/zothero/util.py:92
Method
__init__
Create a new search index. Args: dbpath (str): Path to SQLite database file.
src/lib/zothero/index.py:125
Method
__init__
Create new `EntryFormatter` for `Entry`.
src/lib/zothero/formatting.py:23
Method
__init__
Create new SerializerManager object.
src/lib/workflow/workflow.py:523
Method
__init__
Create new :class:`Settings` object.
src/lib/workflow/workflow.py:820
Method
__init__
Create new :class:`Workflow` object.
src/lib/workflow/workflow.py:939
Method
__init__
Create new case-insensitive dictionary.
src/lib/workflow/web.py:120
Method
__init__
Call `request` with :mod:`urllib2` and process results. :param request: :class:`urllib2.Request` instance :param stream: Whether to s
src/lib/workflow/web.py:200
Method
__init__
Create a new `Variables` object.
src/lib/workflow/workflow3.py:63
Method
__init__
Create a new :class:`Modifier`. Don't use this class directly (as it won't be associated with any :class:`Item3`), but rather use :me
src/lib/workflow/workflow3.py:152
Method
__init__
Create a new :class:`Workflow3` object. See :class:`~workflow.Workflow` for documentation.
src/lib/workflow/workflow3.py:463
Method
__init__
Create new :class:`LockFile` object.
src/lib/workflow/util.py:405
Method
__init__
Decorate `func`.
src/lib/workflow/util.py:519
Method
__init__
Create a new Download. Args: url (str): URL of workflow file. filename (str): Filename of workflow file.
src/lib/workflow/update.py:135
Method
__init__
Create new `Version` object. Args: vstr (basestring): Semantic version string.
src/lib/workflow/update.py:227
Method
__le__
Implement comparison.
src/lib/workflow/update.py:323
Method
__lt__
Compare Downloads based on version numbers.
src/lib/workflow/update.py:194
Method
__ne__
Compare Downloads based on version numbers.
src/lib/workflow/update.py:190
Method
__ne__
Implement comparison.
src/lib/workflow/update.py:313
Method
__repr__
(self)
src/lib/docopt.py:113
Method
__repr__
(self)
src/lib/docopt.py:145
Method
__repr__
(self)
src/lib/docopt.py:221
Method
__repr__
(self)
src/lib/docopt.py:489
Method
__repr__
Code-like representation of style.
src/lib/zothero/models.py:305
Method
__repr__
Code-like representation of `Download`.
src/lib/workflow/update.py:177
Method
__repr__
Return 'code' representation of `Version`.
src/lib/workflow/update.py:342
Method
__setattr__
Add `value` to the dictionary under `key`. Args: key (str): Dictionary key/attribute name. value (obj): Value to stor
src/lib/zothero/models.py:54
Method
__setitem__
Implement :class:`dict` interface.
src/lib/workflow/workflow.py:866
Method
__str__
Return RTF.
src/lib/cite/html2rtf.py:66
Method
__str__
Title, year and author(s) of `Entry`. Returns: str: UTF8-encoded string.
src/lib/zothero/models.py:154
Method
__str__
Return UTF-8 representation of style.
src/lib/zothero/models.py:301
Method
__str__
Return text UTF-8 encoded.
src/lib/zothero/util.py:105
Method
__str__
Convert to ``alfredworkflow`` JSON object. Returns: str: UTF-8 encoded ``alfredworkflow`` JSON object
src/lib/workflow/workflow3.py:102
Method
__str__
Format `Download` for printing.
src/lib/workflow/update.py:168
Method
__str__
Return semantic version string.
src/lib/workflow/update.py:333
Method
__unicode__
Title, year and author(s) of `Entry`. Returns: unicode: Description of `Entry`.
src/lib/zothero/models.py:163
Method
__unicode__
Return Unicode representation of style.
src/lib/zothero/models.py:297
Method
__unicode__
Return text as Unicode.
src/lib/zothero/util.py:109
Method
__unicode__
Convert to ``alfredworkflow`` JSON object. Returns: unicode: ``alfredworkflow`` JSON object
src/lib/workflow/workflow3.py:87
Method
_default_cachedir
Alfred 2's default cache directory.
src/lib/workflow/workflow.py:1247
Method
_default_cachedir
Alfred 4's default cache directory.
src/lib/workflow/workflow3.py:478
Method
_default_datadir
Alfred 2's default data directory.
src/lib/workflow/workflow.py:1283
Method
_default_datadir
Alfred 4's default data directory.
src/lib/workflow/workflow3.py:487
Function
_fetch
()
src/lib/workflow/update.py:403
Method
_is_session_file
(filename)
src/lib/workflow/workflow3.py:665
Function
_nullop
Do-nothing handler. Simply returns ``value``.
src/lib/zothero/cache.py:61
Function
_replace
(match)
src/lib/rtfunicode.py:17
Method
_session_prefix
Filename prefix for current session.
src/lib/workflow/workflow3.py:593
Method
_store
()
src/lib/workflow/workflow.py:1659
Method
add_modifier
Add alternative values for a modifier key. Args: key (unicode): Modifier key, e.g. ``"cmd"`` or ``"alt"`` subtitle (u
src/lib/workflow/workflow3.py:317
Method
alfred_env
Dict of Alfred's environmental variables minus ``alfred_`` prefix. .. versionadded:: 1.7 The variables Alfred 2.4+ exports are:
src/lib/workflow/workflow.py:1003
Method
alfred_version
Alfred version as :class:`~workflow.update.Version` object.
src/lib/workflow/workflow.py:997
Method
alfred_version
Minimum Alfred version based on filename extension.
src/lib/workflow/update.py:155
Function
all
Return all locales. Returns: list: Sequence of `Locale` objects for all supported locales.
src/lib/cite/locales/__init__.py:67
Function
appinfo
Get information about an installed application. .. versionadded:: 1.31 Args: name (str): Name of application to look up. Return
src/lib/workflow/util.py:316
Function
applescriptify
Escape string for insertion into an AppleScript string. .. versionadded:: 1.31 Replaces ``"`` with `"& quote &"`. Use this function if you w
src/lib/workflow/util.py:145
Method
args
Return command line args as normalised unicode. Args are decoded and normalised via :meth:`~Workflow.decode`. The encoding and norma
src/lib/workflow/workflow.py:1184
Method
attachments_dir
Path to Zotero's external attachment base directory.
src/lib/zothero/zotero.py:214
Method
attachments_dir
Path to Zotero's optional attachments base directory.
src/lib/zothero/core.py:97
Method
authors
Creators whose type is ``author``. Returns: list: Sequence of `Creator` objects.
src/lib/zothero/models.py:114
Method
bbt
Return BetterBibTex.
src/lib/zothero/zotero.py:191
Method
bundleid
Workflow bundle ID from environmental vars or ``info.plist``. :returns: bundle ID :rtype: ``unicode``
src/lib/workflow/workflow.py:1092
Method
cache_data
Cache API with session-scoped expiry. .. versionadded:: 1.25 Args: name (str): Cache key data (object): Data
src/lib/workflow/workflow3.py:601
Method
cache_serializer
Name of default cache serializer. .. versionadded:: 1.8 This serializer is used by :meth:`cache_data()` and :meth:`cached_da
src/lib/workflow/workflow.py:1474
Method
cached_data
Cache API with session-scoped expiry. .. versionadded:: 1.25 Args: name (str): Cache key data_func (callable
src/lib/workflow/workflow3.py:625
Method
cachedir
Path to workflow's cache directory. The cache directory is a subdirectory of Alfred's own cache directory in ``~/Library/Caches``. Th
src/lib/workflow/workflow.py:1220
Method
caches
Synonym for `stores`.
src/lib/zothero/cache.py:345
Method
callback
(func, msg)
src/lib/workflow/workflow.py:2493
Method
clear_session_cache
Remove session data from the cache. .. versionadded:: 1.25 .. versionchanged:: 1.27 By default, data belonging to the curren
src/lib/workflow/workflow3.py:651
Method
code
Canonical locale code. Returns: unicode: Code for locale.
src/lib/cite/locales/__init__.py:37
← previous
next →
201–300 of 438, ranked by callers