MCPcopy Index your code

hub / github.com/deanishe/zothero / functions

Functions438 in github.com/deanishe/zothero

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
Methodadd_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
Methodalfred_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
Methodalfred_version
Alfred version as :class:`~workflow.update.Version` object.
src/lib/workflow/workflow.py:997
Methodalfred_version
Minimum Alfred version based on filename extension.
src/lib/workflow/update.py:155
Functionall
Return all locales. Returns: list: Sequence of `Locale` objects for all supported locales.
src/lib/cite/locales/__init__.py:67
Functionappinfo
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
Functionapplescriptify
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
Methodargs
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
Methodattachments_dir
Path to Zotero's external attachment base directory.
src/lib/zothero/zotero.py:214
Methodattachments_dir
Path to Zotero's optional attachments base directory.
src/lib/zothero/core.py:97
Methodauthors
Creators whose type is ``author``. Returns: list: Sequence of `Creator` objects.
src/lib/zothero/models.py:114
Methodbbt
Return BetterBibTex.
src/lib/zothero/zotero.py:191
Methodbundleid
Workflow bundle ID from environmental vars or ``info.plist``. :returns: bundle ID :rtype: ``unicode``
src/lib/workflow/workflow.py:1092
Methodcache_data
Cache API with session-scoped expiry. .. versionadded:: 1.25 Args: name (str): Cache key data (object): Data
src/lib/workflow/workflow3.py:601
Methodcache_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
Methodcached_data
Cache API with session-scoped expiry. .. versionadded:: 1.25 Args: name (str): Cache key data_func (callable
src/lib/workflow/workflow3.py:625
Methodcachedir
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
Methodcaches
Synonym for `stores`.
src/lib/zothero/cache.py:345
Methodcallback
(func, msg)
src/lib/workflow/workflow.py:2493
Methodclear_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
Methodcode
Canonical locale code. Returns: unicode: Code for locale.
src/lib/cite/locales/__init__.py:37
← previousnext →201–300 of 438, ranked by callers