id stringlengths 17 116 | task stringclasses 1
value | context_length stringclasses 1
value | documents listlengths 10 1.02k | question stringlengths 332 403 | question_with_choices stringlengths 332 403 | answer stringlengths 40 43.3k | answer_raw stringlengths 42 43.8k | n_chunks_full int64 10 61.9k | truncated bool 2
classes | repo stringlengths 7 54 | target_name stringlengths 1 72 | document_id int64 2.87k 144k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDU_FT/uralbash/sqlalchemy_mptt/get_tree | LDU_FT | [
"<BEGIN>\n## `mptt_before_insert`",
"Based on example\n https://bitbucket.org/zzzeek/sqlalchemy/src/73095b353124/examples/nested_sets/nested_sets.py?at=master\n<END>",
"<BEGIN>\n## `mptt_before_update`",
"Based on this example:\n http://stackoverflow.com/questions/889527/move-node-in-nested-set\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tree API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | This method generate tree of current node table in dict or json
format. You can make custom query with attribute ``query``. By default
it return all nodes in table.
Args:
session (:mod:`sqlalchemy.orm.session.Session`): SQLAlchemy session
Kwargs:
json (bool): if... | "This method generate tree of current node table in dict or json\n format. You can make custom query with attribute ``query``. By default\n it return all nodes in table.\n\n Args:\n session (:mod:`sqlalchemy.orm.session.Session`): SQLAlchemy session\n\n Kwargs:\n json (... | 59 | false | uralbash/sqlalchemy_mptt | get_tree | 38,573 | |
LDU_FT/totalgood/twip/lsi | LDU_FT | [
"<BEGIN>\n## `lsi`",
"Train an LSI model on a \"corpus\" of documnets, like tweets",
" Arguments:\n tokenize (callable): Function that returns a sequence of tokens (str) when passed a document (str)\n ram (float): Portion of RAM to limit the document generator from consuming before StopIter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lsi API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lsi API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Train an LSI model on a "corpus" of documnets, like tweets
Arguments:
tokenize (callable): Function that returns a sequence of tokens (str) when passed a document (str)
ram (float): Portion of RAM to limit the document generator from consuming before StopIteration
num_docs (int): Num... | "Train an LSI model on a \"corpus\" of documnets, like tweets\n\n Arguments:\n tokenize (callable): Function that returns a sequence of tokens (str) when passed a document (str)\n ram (float): Portion of RAM to limit the document generator from consuming before StopIteration\n num_docs (int): ... | 144 | false | totalgood/twip | lsi | 38,574 | |
LDU_FT/grigi/talkey/configure_default | LDU_FT | [
"<BEGIN>\n## `find_executable`",
"Finds executable in PATH",
" Returns:\n string or None\n<END>",
"<BEGIN>\n## `check_network_connection`",
"Checks if jasper can connect a network server.\n Arguments:\n server -- (optional) the server to connect with (Default:\n \"www.go... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Sets default configuration.
Raises TTSError on error. | "Sets default configuration.\n\n Raises TTSError on error." | 28 | false | grigi/talkey | configure_default | 38,575 | |
LDU_FT/google/pinject/get_child | LDU_FT | [
"<BEGIN>\n## `new`",
"Creates a _InjectionContext.",
" Args:\n injection_site_fn: the initial function being injected into\n Returns:\n a new empty _InjectionContext in the default scope\n<END>",
"<BEGIN>\n## `get_child`",
"Creates a child injection context.",
" A \"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_child API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_child API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Creates a child injection context.
A "child" injection context is a context for a binding used to
inject something into the current binding's provided value.
Args:
injection_site_fn: the child function being injected into
binding: a Binding
Returns:
a new ... | "Creates a child injection context.\n\n A \"child\" injection context is a context for a binding used to\n inject something into the current binding's provided value.\n\n Args:\n injection_site_fn: the child function being injected into\n binding: a Binding\n Returns:\n ... | 58 | false | google/pinject | get_child | 38,576 | |
LDU_FT/datamachine/twx.botapi/send_media_group | LDU_FT | [
"<BEGIN>\n## `export_chat_invite_link`",
"Use this method to generate a new invite link for a chat; any previously generated link is revoked.\n The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.\n :param chat_id: Unique identifier for the target chat or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_media_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_media_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Use this method to send a group of photos or videos as an album. On success, an array of the sent Messages is returned.
:param chat_id: Unique identifier for the target chat or username of the target channel (in the format @channelusername)
:param media: A list of InputMedia objects to be sent, must include 2–... | "Use this method to send a group of photos or videos as an album. On success, an array of the sent Messages is returned.\n\n :param chat_id: Unique identifier for the target chat or username of the target channel (in the format @channelusername)\n :param media: A list of InputMedia objects to be sent, must includ... | 194 | false | datamachine/twx.botapi | send_media_group | 38,577 | |
LDU_FT/finklabs/banana/create_dir | LDU_FT | [
"<BEGIN>\n## `handle`",
"if (globalConfigHasContent()) {\n defaultChoices.splice(defaultChoices.length - 1, 0, {\n name: 'Clear global config',\n value: 'clearConfig'\n });\n }",
" var generatorList = _.chain(app.generators).map(function (generator) {\n if (!generator.appGenerator) {\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | create directory if necessary
:param dst: | "create directory if necessary\n\n :param dst:" | 32 | false | finklabs/banana | create_dir | 38,578 | |
LDU_FT/raamana/hiwenet/extract | LDU_FT | [
"<BEGIN>\n## `diff_medians`",
"Computes the difference in medians between two arrays of values.",
" Given arrays will be flattened (to 1D array) regardless of dimension,\n and any non-finite/NaN values will be ignored.",
" Parameters\n ----------\n array_one, array_two : iterable\n T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Extracts the histogram-distance weighted adjacency matrix.
Parameters
----------
features : ndarray or str
1d array of scalar values, either provided directly as a 1d numpy array,
or as a path to a file containing these values
groups : ndarray or str
Membership array of same le... | "Extracts the histogram-distance weighted adjacency matrix.\n\n Parameters\n ----------\n features : ndarray or str\n 1d array of scalar values, either provided directly as a 1d numpy array,\n or as a path to a file containing these values\n\n groups : ndarray or str\n Membership array ... | 115 | false | raamana/hiwenet | extract | 38,579 | |
LDU_FT/numba/llvmlite/descr_prototype | LDU_FT | [
"<BEGIN>\n## `create_mcjit_compiler`",
"Create a MCJIT ExecutionEngine from the given *module* and\n *target_machine*.\n<END>",
"<BEGIN>\n## `add_module`",
"Ownership of module is transferred to the execution engine\n<END>",
"<BEGIN>\n## `target_data`",
"The TargetData for this execution engine.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the descr_prototype API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the descr_prototype API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Describe the prototype ("head") of the function. | "Describe the prototype (\"head\") of the function." | 226 | false | numba/llvmlite | descr_prototype | 38,580 | |
LDU_FT/cltl/KafNafParserPy/get_deepest_phrase_for_termid | LDU_FT | [
"<BEGIN>\n## `set_id`",
"Set the property identifier\n @type pid: string\n @param pid: property identifier\n<END>",
"<BEGIN>\n## `add_property`",
"Adds a new property to the property layer\n @type pid: string\n @param pid: property identifier\n @type label: string\n @... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_deepest_phrase_for_termid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_deepest_phrase_for_termid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Returns the deepest phrase type for the term identifier and the list of subsumed by the same element
@type termid: string
@param termid: term identifier
@rtype: (string,list)
@return: the label and list of terms subsumed | "Returns the deepest phrase type for the term identifier and the list of subsumed by the same element\n @type termid: string\n @param termid: term identifier\n @rtype: (string,list)\n @return: the label and list of terms subsumed" | 270 | false | cltl/KafNafParserPy | get_deepest_phrase_for_termid | 38,581 | |
LDU_FT/Robpol86/appveyor-artifacts/query_job_ids | LDU_FT | [
"<BEGIN>\n## `setup_logging`",
"Setup console logging. Info and below go to stdout, others go to stderr.",
" :param bool verbose: Print debug statements.\n :param str logger: Which logger to set handlers to. Used for testing.\n<END>",
"<BEGIN>\n## `with_log`",
"Automatically adds a named logger to a f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_job_ids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_job_ids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get one or more job IDs and their status associated with a build version.
Filters jobs by name if --job-name is specified.
:raise HandledError: On invalid JSON data or bad job name.
:param str build_version: AppVeyor build version from query_build_version().
:param dict config: Dictionary from get_ar... | "Get one or more job IDs and their status associated with a build version.\n\n Filters jobs by name if --job-name is specified.\n\n :raise HandledError: On invalid JSON data or bad job name.\n\n :param str build_version: AppVeyor build version from query_build_version().\n :param dict config: Dictionary fro... | 54 | false | Robpol86/appveyor-artifacts | query_job_ids | 38,582 | |
LDU_FT/tgbugs/ontquery/delete_relationship | LDU_FT | [
"<BEGIN>\n## `examples`",
"Examples of how to use. Default are that some functions are commented out in order\n to not cause harm to existing metadata within the database.\n<END>",
"<BEGIN>\n## `process_response`",
"Checks for correct data response and status codes\n<END>",
"<BEGIN>\n## `process_syno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_relationship API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_relationship API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Adds relationship connection in Interlex
A relationship exists as 3 different parts:
1. entity with type term, cde, fde, or pde
2. entity with type relationship that connects entity1 to entity2
-> Has its' own meta data, so no value needed
3. entity with type... | "Adds relationship connection in Interlex\n\n A relationship exists as 3 different parts:\n 1. entity with type term, cde, fde, or pde\n 2. entity with type relationship that connects entity1 to entity2\n -> Has its' own meta data, so no value needed\n 3. entity wi... | 44 | false | tgbugs/ontquery | delete_relationship | 38,583 | |
LDU_FT/datamachine/twx/set_params | LDU_FT | [
"<BEGIN>\n## `_ige`",
"Given a key, given an iv, and message\n do whatever operation asked in the operation field.\n Operation will be checked for: \"decrypt\" and \"encrypt\" strings.\n Returns the message encrypted/decrypted.\n message must be a multiple by 16 bytes (for division in 16 byte bloc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector long = ResPQ | "resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector long = ResPQ" | 94 | false | datamachine/twx | set_params | 38,584 | |
LDU_FT/offu/WeRoBot/from_pyfile | LDU_FT | [
"<BEGIN>\n## `make_view`",
"为一个 BaseRoBot 生成 Flask view。",
" Usage ::",
" from werobot import WeRoBot",
" robot = WeRoBot(token='token')",
" @robot.handler\n def hello(message):\n return 'Hello World!'",
" from flask import Flask\n from werobot.con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_pyfile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_pyfile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | 在一个 Python 文件中读取配置。
:param filename: 配置文件的文件名
:return: 如果读取成功,返回 ``True``,如果失败,会抛出错误异常 | "在一个 Python 文件中读取配置。\n\n :param filename: 配置文件的文件名\n :return: 如果读取成功,返回 ``True``,如果失败,会抛出错误异常" | 223 | false | offu/WeRoBot | from_pyfile | 38,585 | |
LDU_FT/deschler/django-modeltranslation/auto_populate | LDU_FT | [
"<BEGIN>\n## `autodiscover`",
"Auto-discover INSTALLED_APPS translation.py modules and fail silently when\n not present. This forces an import on them to register.\n Also import explicit modules.\n<END>",
"<BEGIN>\n## `register`",
"Registers the given model(s) with the given translation options.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_populate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auto_populate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Overrides translation fields population mode (population mode decides which
unprovided translations will be filled during model construction / loading).
Example:
with auto_populate('all'):
s = Slugged.objects.create(title='foo')
s.title_en == 'foo' // True
s.title_de == 'fo... | "Overrides translation fields population mode (population mode decides which\n unprovided translations will be filled during model construction / loading).\n\n Example:\n\n with auto_populate('all'):\n s = Slugged.objects.create(title='foo')\n s.title_en == 'foo' // True\n s.title_... | 122 | false | deschler/django-modeltranslation | auto_populate | 38,586 | |
LDU_FT/jmoiron/micromongo/find_one | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to the database. Passes arguments along to\n ``pymongo.connection.Connection`` unmodified.",
" The Connection returned by this proxy method will be used by micromongo\n for all of its queries. Micromongo will alter the behavior of this\n conneciton object in some ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_one API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_one API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Run a find_one on this model's collection. The arguments to
``Model.find_one`` are the same as to ``pymongo.Collection.find_one``. | "Run a find_one on this model's collection. The arguments to\n ``Model.find_one`` are the same as to ``pymongo.Collection.find_one``." | 30 | false | jmoiron/micromongo | find_one | 38,587 | |
LDU_FT/SheffieldML/GPy/d2logpdf_dlink2 | LDU_FT | [
"<BEGIN>\n## `pdf_link`",
":param link_f: latent variables link(f)\n :type link_f: Nx1 array\n :param y: data\n :type y: Nx1 array\n :param Y_metadata: includes censoring information in dictionary key 'censored'\n :returns: likelihood evaluated for this point\n :rtype: fl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the d2logpdf_dlink2 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the d2logpdf_dlink2 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Hessian at y, given link(f), w.r.t link(f)
i.e. second derivative logpdf at y given link(f_i) and link(f_j) w.r.t link(f_i) and link(f_j)
The hessian will be 0 unless i == j
.. math::
:param link_f: latent variables link(f)
:type link_f: Nx1 array
:param y: data
... | "Hessian at y, given link(f), w.r.t link(f)\n i.e. second derivative logpdf at y given link(f_i) and link(f_j) w.r.t link(f_i) and link(f_j)\n The hessian will be 0 unless i == j\n\n .. math::\n\n\n :param link_f: latent variables link(f)\n :type link_f: Nx1 array\n :param y: ... | 1,670 | true | SheffieldML/GPy | d2logpdf_dlink2 | 38,588 | |
LDU_FT/klen/muffin-babel/set_locale | LDU_FT | [
"<BEGIN>\n## `startup`",
"Initialize a local namespace and setup Jinja2.\n<END>",
"<BEGIN>\n## `get_translations`",
"Load translations for given or configuration domain.",
" :param domain: Messages domain (str)\n :param locale: Locale object\n<END>",
"<BEGIN>\n## `gettext`",
"Translate a s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_locale API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_locale API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return locale from GET lang param or automatically. | "Return locale from GET lang param or automatically." | 16 | false | klen/muffin-babel | set_locale | 38,589 | |
LDU_FT/miguelgrinberg/slam/deploy | LDU_FT | [
"<BEGIN>\n## `on_error`",
"Error handler",
" RuntimeError or ValueError exceptions raised by commands will be handled\n by this function.\n<END>",
"<BEGIN>\n## `on_unexpected_error`",
"Catch-all error handler",
" Unexpected errors will be handled by this function.\n<END>",
"<BEGIN>\n## `_run_la... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deploy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deploy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Deploy the project to the development stage. | "Deploy the project to the development stage." | 18 | false | miguelgrinberg/slam | deploy | 38,590 | |
LDU_FT/grycap/RADL/concrete | LDU_FT | [
"<BEGIN>\n## `parse_radl`",
"Parse a RADL document in JSON.",
" Args.:\n - data(str or list): document to parse.",
" Return(RADL): RADL object.\n<END>",
"<BEGIN>\n## `radlToSimple`",
"Return a list of maps whose values are only other maps or lists.\n<END>",
"<BEGIN>\n## `getValue`",
"Return t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concrete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concrete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return copy and score after being applied other system and soft features.
Args:
- other(system, optional): system to apply just before soft features.
Return(tuple): tuple of the resulting system and its score. | "Return copy and score after being applied other system and soft features.\n\n Args:\n\n - other(system, optional): system to apply just before soft features.\n\n Return(tuple): tuple of the resulting system and its score." | 121 | false | grycap/RADL | concrete | 38,591 | |
LDU_FT/instana/python-sensor/every | LDU_FT | [
"<BEGIN>\n## `run`",
"Span a background thread to periodically report queued spans\n<END>",
"<BEGIN>\n## `record_span`",
"Convert the passed BasicSpan into an JsonSpan and\n add it to the span queue\n<END>",
"<BEGIN>\n## `build_registered_span`",
"Takes a BasicSpan and converts it into a registered... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the every API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the every API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Executes a task every `delay` seconds
:param delay: the delay in seconds
:param task: the method to run. The method should return False if you want the loop to stop.
:return: None | "Executes a task every `delay` seconds\n \n :param delay: the delay in seconds\n :param task: the method to run. The method should return False if you want the loop to stop.\n :return: None" | 76 | false | instana/python-sensor | every | 38,592 | |
LDU_FT/batiste/django-page-cms/do_get_page | LDU_FT | [
"<BEGIN>\n## `register_widget`",
"Register the given widget as a candidate to use in placeholder.\n<END>",
"<BEGIN>\n## `get_widget`",
"Give back a widget class according to his name.\n<END>",
"<BEGIN>\n## `save_model`",
"Move the page in the tree if necessary and save every\n placeholder :class:`C... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_get_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_get_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Retrieve a page and insert into the template's context.
Example::
{% get_page "news" as news_page %}
:param page: the page object, slug or id
:param name: name of the context variable to store the page in | "Retrieve a page and insert into the template's context.\n\n Example::\n\n {% get_page \"news\" as news_page %}\n\n :param page: the page object, slug or id\n :param name: name of the context variable to store the page in" | 218 | false | batiste/django-page-cms | do_get_page | 38,593 | |
LDU_FT/Chyroc/WechatSogou/get_gzh_info_by_history | LDU_FT | [
"<BEGIN>\n## `__hosting_wechat_img`",
"将微信明细中图片托管到云端,同时将html页面中的对应图片替换",
" Parameters\n ----------\n content_info : dict 微信文章明细字典\n {\n 'content_img_list': [], # 从微信文章解析出的原始图片列表\n 'content_html': '', # 从微信文章解析出文章的内容\n }\n hosting_ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_gzh_info_by_history API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_gzh_info_by_history API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | 从 历史消息页的文本 提取公众号信息
Parameters
----------
text : str or unicode
历史消息页的文本
Returns
-------
dict
{
'wechat_name': '', # 名称
'wechat_id': '', # 微信id
'introduction': '', # 描述
'authentica... | "从 历史消息页的文本 提取公众号信息\n\n Parameters\n ----------\n text : str or unicode\n 历史消息页的文本\n\n Returns\n -------\n dict\n {\n 'wechat_name': '', # 名称\n 'wechat_id': '', # 微信id\n 'introduction': '', # 描述\n ... | 99 | false | Chyroc/WechatSogou | get_gzh_info_by_history | 38,594 | |
LDU_FT/RockFeng0/rtsf-web/SelectByIndex | LDU_FT | [
"<BEGIN>\n## `get_remote_executors`",
"Get remote hosts from Selenium Grid Hub Console\r\n @param hub_ip: hub ip of selenium grid hub\r\n @param port: hub port of selenium grid hub\n<END>",
"<BEGIN>\n## `gen_remote_driver`",
"Generate remote drivers with desired capabilities(self.__caps) and com... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SelectByIndex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the SelectByIndex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | 通过索引,选择下拉框选项,
@param index: 下拉框 索引 | "通过索引,选择下拉框选项,\r\n @param index: 下拉框 索引" | 37 | false | RockFeng0/rtsf-web | SelectByIndex | 38,595 | |
LDU_FT/nathankw/pulsarpy/post | LDU_FT | [
"<BEGIN>\n## `get_record_by_name`",
"Searches for a single document in the given index on the 'name' field .\n Performs a case-insensitive search by utilizing Elasticsearch's `match_phrase` query.",
" Args:\n index: `str`. The name of an Elasticsearch index (i.e. biosamples).\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | A wrapper over Model.post() that handles the case where a Library has a PairedBarcode
and the user may have supplied the PairedBarcode in the form of index1-index2, i.e.
GATTTCCA-GGCGTCGA. This isn't the PairedBarcode's record name or a record ID, thus
Model.post() won't be able to figure out ... | "A wrapper over Model.post() that handles the case where a Library has a PairedBarcode\n and the user may have supplied the PairedBarcode in the form of index1-index2, i.e. \n GATTTCCA-GGCGTCGA. This isn't the PairedBarcode's record name or a record ID, thus \n Model.post() won't be able to figure ... | 92 | false | nathankw/pulsarpy | post | 38,596 | |
LDU_FT/hsolbrig/jsonasobj/loads | LDU_FT | [
"<BEGIN>\n## `loads`",
"Convert a json_str into a JsonObj",
" :param s: a str instance containing a JSON document\n :param kwargs: arguments see: json.load for details\n :return: JsonObj representing the json string\n<END>",
"<BEGIN>\n## `load`",
"Deserialize a JSON source.",
" :param source: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loads API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loads API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Convert a json_str into a JsonObj
:param s: a str instance containing a JSON document
:param kwargs: arguments see: json.load for details
:return: JsonObj representing the json string | "Convert a json_str into a JsonObj\n\n :param s: a str instance containing a JSON document\n :param kwargs: arguments see: json.load for details\n :return: JsonObj representing the json string" | 26 | false | hsolbrig/jsonasobj | loads | 38,597 | |
LDU_FT/manahl/arctic/check_quota | LDU_FT | [
"<BEGIN>\n## `delete`",
"Delete all chunks for a symbol.",
" Which are, for the moment, fully contained in the passed in\n date_range.",
" Parameters\n ----------\n symbol : `str`\n symbol name for the item\n date_range : `date.DateRange`\n DateR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_quota API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_quota API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Check whether the user is within quota. Should be called before
every write. Will raise() if the library has exceeded its allotted
quota. | "Check whether the user is within quota. Should be called before\n every write. Will raise() if the library has exceeded its allotted\n quota." | 429 | false | manahl/arctic | check_quota | 38,598 | |
LDU_FT/mattbierner/blotre-py/_is_expired_response | LDU_FT | [
"<BEGIN>\n## `_try_redeem_disposable_app`",
"Attempt to redeem a one time code registred on the client.\n<END>",
"<BEGIN>\n## `_check_app_is_valid`",
"Check to see if the app has valid creds.\n<END>",
"<BEGIN>\n## `create_disposable_app`",
"Use an existing disposable app if data exists or create a new one... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_expired_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_expired_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Check if the response failed because of an expired access token. | "Check if the response failed because of an expired access token." | 19 | false | mattbierner/blotre-py | _is_expired_response | 38,599 | |
LDU_FT/radjkarl/appBase/stateNames | LDU_FT | [
"<BEGIN>\n## `setModule`",
"fill the about about label txt with the module attributes of the module\n<END>",
"<BEGIN>\n## `setInstitutionLogo`",
"takes one or more [logo].svg paths\r\n if logo should be clickable, set\r\n pathList = (\r\n (my_path1.svg,www.something1.h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stateNames API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stateNames API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns:
list: the names of all saved sessions | "Returns:\r\n list: the names of all saved sessions" | 24 | false | radjkarl/appBase | stateNames | 38,600 | |
LDU_FT/hosford42/xcs/prune | LDU_FT | [
"<BEGIN>\n## `random`",
"Create a bit string of the given length, with the probability of\n each bit being set equal to bit_prob, which defaults to .5.",
" Usage:\n # Create a random BitString of length 10 with mostly zeros.\n bits = BitString.random(10, bit_prob=.1)",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prune API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prune API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Reduce the classifier set's population size, if necessary, by
removing lower-quality *rules. Return a list containing any rules
whose numerosities dropped to zero as a result of this call. (The
list may be empty, if no rule's numerosity dropped to 0.) The
model argument is a ClassifierSe... | "Reduce the classifier set's population size, if necessary, by\n removing lower-quality *rules. Return a list containing any rules\n whose numerosities dropped to zero as a result of this call. (The\n list may be empty, if no rule's numerosity dropped to 0.) The\n model argument is a Classif... | 159 | false | hosford42/xcs | prune | 38,601 | |
LDU_FT/morngrar/betterdialogs/load_image | LDU_FT | [
"<BEGIN>\n## `load_image`",
"Takes a tk.Canvas and a filepath, loads image into canvas\n<END>",
"<BEGIN>\n## `load_image`",
"Loads new image into canvas, updating size if needed.\n<END>",
"<BEGIN>\n## `parse_geometry`",
"Takes a geometry string, returns map of parameters.\n<END>",
"<BEGIN>\n## `buttons`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Takes a tk.Canvas and a filepath, loads image into canvas | "Takes a tk.Canvas and a filepath, loads image into canvas" | 20 | false | morngrar/betterdialogs | load_image | 38,602 | |
LDU_FT/ucsb-cs-education/hairball/path_to_key | LDU_FT | [
"<BEGIN>\n## `main`",
"The entrypoint for the hairball command installed via setup.py.\n<END>",
"<BEGIN>\n## `path_to_key`",
"Return the sha1sum (key) belonging to the file at filepath.\n<END>",
"<BEGIN>\n## `key_to_path`",
"Return the fullpath to the file with sha1sum key.\n<END>",
"<BEGIN>\n## `load`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path_to_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path_to_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return the sha1sum (key) belonging to the file at filepath. | "Return the sha1sum (key) belonging to the file at filepath." | 90 | false | ucsb-cs-education/hairball | path_to_key | 38,603 | |
LDU_FT/harcokuppens/thonny-ev3dev/download_log_of_current_script | LDU_FT | [
"<BEGIN>\n## `_handle_rundebug_from_shell`",
"Handles all commands that take a filename and 0 or more extra arguments.\n Passes the command to backend.",
" (Debugger plugin may also use this method)\n<END>",
"<BEGIN>\n## `download_log`",
"downloads log of given .py file from EV3.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_log_of_current_script API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_log_of_current_script API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | download log of current python script from EV3 | "download log of current python script from EV3" | 11 | false | harcokuppens/thonny-ev3dev | download_log_of_current_script | 38,604 | |
LDU_FT/RedFantom/ttkthemes/build_and_install_wheel | LDU_FT | [
"<BEGIN>\n## `screenshot_themes`",
"Take a screenshot for all themes available\n<END>",
"<BEGIN>\n## `_load_themes`",
"Load the themes into the Tkinter interpreter\n<END>",
"<BEGIN>\n## `_append_theme_dir`",
"Append a theme dir to the Tk interpreter auto_path\n<END>",
"<BEGIN>\n## `set_theme`",
"Set n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_and_install_wheel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_and_install_wheel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Build a binary distribution wheel and install it | "Build a binary distribution wheel and install it" | 54 | false | RedFantom/ttkthemes | build_and_install_wheel | 38,605 | |
LDU_FT/ethereum/py-trie/_set | LDU_FT | [
"<BEGIN>\n## `calc_root`",
"Obtain the merkle root of a given key/value/branch set.\n Can be used to validate a merkle proof or compute it's value from data.",
" :param key: the keypath to decide the ordering of the sibling nodes in the branch\n :param value: the value (or leaf) that starts the merkle ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | If if_delete_subtrie is set to True, what it will do is that it take in a keypath
and traverse til the end of keypath, then delete the whole subtrie of that node.
Note: keypath should be in binary array format, i.e., encoded by encode_to_bin() | "If if_delete_subtrie is set to True, what it will do is that it take in a keypath\n and traverse til the end of keypath, then delete the whole subtrie of that node.\n\n Note: keypath should be in binary array format, i.e., encoded by encode_to_bin()" | 61 | false | ethereum/py-trie | _set | 38,606 | |
LDU_FT/idlesign/django-admirarchy/init_hierarchy | LDU_FT | [
"<BEGIN>\n## `action_checkbox`",
"Renders checkboxes.",
" Disable checkbox for parent item navigation link.\n<END>",
"<BEGIN>\n## `hierarchy_nav`",
"Renders hierarchy navigation elements (folders).\n<END>",
"<BEGIN>\n## `get_queryset`",
"Constructs a query set.",
" :param request:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_hierarchy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_hierarchy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Initializes model admin with hierarchy data. | "Initializes model admin with hierarchy data." | 31 | false | idlesign/django-admirarchy | init_hierarchy | 38,607 | |
LDU_FT/RIPE-NCC/ripe-atlas-cousteau/clean_probes | LDU_FT | [
"<BEGIN>\n## `update_get_params`",
"Update HTTP GET params with the given fields that user wants to fetch.\n<END>",
"<BEGIN>\n## `_fetch_meta_data`",
"Makes an API call to fetch meta data for the given probe and stores the raw data.\n<END>",
"<BEGIN>\n## `_populate_data`",
"Assing some probe's raw meta da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_probes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_probes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Checks format of probe ids and transform it to something API
understands. | "Checks format of probe ids and transform it to something API\n understands." | 62 | false | RIPE-NCC/ripe-atlas-cousteau | clean_probes | 38,608 | |
LDU_FT/frostming/marko/render | LDU_FT | [
"<BEGIN>\n## `camel_to_snake_case`",
"Takes a camelCased string and converts to snake_case.\n<END>",
"<BEGIN>\n## `is_paired`",
"Check if the text only contains:\n 1. blackslash escaped parentheses, or\n 2. parentheses paired.\n<END>",
"<BEGIN>\n## `match_prefix`",
"Check if the line starts with giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Renders the given element to string.
:param element: a element to be rendered.
:returns: the output string or any values. | "Renders the given element to string.\n\n :param element: a element to be rendered.\n :returns: the output string or any values." | 49 | false | frostming/marko | render | 38,609 | |
LDU_FT/SmileyChris/easy-thumbnails/hashed | LDU_FT | [
"<BEGIN>\n## `default`",
"Easy-thumbnails' default name processor.",
" For example: ``source.jpg.100x100_q80_crop_upscale.jpg``\n<END>",
"<BEGIN>\n## `alias`",
"Generate filename based on thumbnail alias name (option ``THUMBNAIL_ALIASES``).",
" For example: ``source.jpg.medium_large.jpg``\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hashed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hashed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Generate a short hashed thumbnail filename.
Creates a 12 character url-safe base64 sha1 filename (plus the extension),
for example: ``6qW1buHgLaZ9.jpg``. | "Generate a short hashed thumbnail filename.\n\n Creates a 12 character url-safe base64 sha1 filename (plus the extension),\n for example: ``6qW1buHgLaZ9.jpg``." | 218 | false | SmileyChris/easy-thumbnails | hashed | 38,610 | |
LDU_FT/ApproxEng/approxeng.input/unique_name | LDU_FT | [
"<BEGIN>\n## `map_into_range`",
"Map an input function into an output value, clamping such that the magnitude of the output is at most 1.0",
" :param low:\n The value in the input range corresponding to zero.\n :param high:\n The value in the input range corresponding to 1.0 or -1.0, dependi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Construct a unique name for the device based on, in order if available, the uniq ID, the phys ID and
finally a concatenation of vendor, product, version and filename.
:param device:
An InputDevice instance to query
:return:
A string containing as unique as possible a name for the physical e... | "Construct a unique name for the device based on, in order if available, the uniq ID, the phys ID and\n finally a concatenation of vendor, product, version and filename.\n\n :param device:\n An InputDevice instance to query\n :return:\n A string containing as unique as possible a name for the phy... | 86 | false | ApproxEng/approxeng.input | unique_name | 38,611 | |
LDU_FT/zalando-stups/lizzy-client/fetch_token | LDU_FT | [
"<BEGIN>\n## `main_with_metrics`",
"Runs main() and reports success and failure metrics\n<END>",
"<BEGIN>\n## `fetch_token`",
"Common function to fetch token\n :return:\n<END>",
"<BEGIN>\n## `parse_stack_refs`",
"Check if items included in `stack_references` are Senza definition\n file paths or stac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Common function to fetch token
:return: | "Common function to fetch token\n :return:" | 14 | false | zalando-stups/lizzy-client | fetch_token | 38,612 | |
LDU_FT/acutesoftware/AIKIF/send_text | LDU_FT | [
"<BEGIN>\n## `where_am_i`",
"high level function that can estimate where user is based \n on predefined setups.\n<END>",
"<BEGIN>\n## `dump_all`",
"prints all attributes and returns them as a dictionary \n (mainly for testing how it will all integrate)\n<END>",
"<BEGIN>\n## `summarise`",
"extrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | sends the text 'txt' to the window handle hwnd using SendMessage | "sends the text 'txt' to the window handle hwnd using SendMessage" | 486 | false | acutesoftware/AIKIF | send_text | 38,613 | |
LDU_FT/tomduck/pandoc-xnos/get_meta | LDU_FT | [
"<BEGIN>\n## `_repeat`",
"Repeats func(...) call until something other than None is returned.\n<END>",
"<BEGIN>\n## `init`",
"Sets or determines the pandoc version. This must be called.",
" The pandoc version is needed for multi-version support.\n See: https://github.com/jgm/pandoc/issues/2640",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_meta API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_meta API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Retrieves the metadata variable 'name' from the 'meta' dict. | "Retrieves the metadata variable 'name' from the 'meta' dict." | 63 | false | tomduck/pandoc-xnos | get_meta | 38,614 | |
LDU_FT/Vagrants/blackbird/add_default_module_dir | LDU_FT | [
"<BEGIN>\n## `helper_import`",
"Return class or module object.\n if the argument is only a module name and return a module object.\n if the argument is a module and class name, and return a class object.\n<END>",
"<BEGIN>\n## `global_import`",
"This function search sys.path[1:], return specified module.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_default_module_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_default_module_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Add directory to store built-in plugins to `module_dir` parameter.
Default directory to store plugins is `BLACKBIRD_INSTALL_DIR/plugins`.
:rtype: None
:return: None | "Add directory to store built-in plugins to `module_dir` parameter.\n Default directory to store plugins is `BLACKBIRD_INSTALL_DIR/plugins`.\n :rtype: None\n :return: None" | 106 | false | Vagrants/blackbird | add_default_module_dir | 38,615 | |
LDU_FT/apetrynet/pyfilemail/get_company_user | LDU_FT | [
"<BEGIN>\n## `not_completed`",
"Decorator function to check if user is loged in.",
" :raises: :class:`FMBaseError` if not logged in\n<END>",
"<BEGIN>\n## `_parse_recipients`",
"Make sure we have a \",\" separated list of recipients",
" :param to: Recipient(s)\n :type to: (str,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_company_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_company_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get company user based on email.
:param email: address of contact
:type email: ``str``, ``unicode``
:rtype: ``dict`` with contact information | "Get company user based on email.\n\n :param email: address of contact\n :type email: ``str``, ``unicode``\n :rtype: ``dict`` with contact information" | 116 | false | apetrynet/pyfilemail | get_company_user | 38,616 | |
LDU_FT/TeamHG-Memex/eli5/explain_weights_xgboost | LDU_FT | [
"<BEGIN>\n## `explain_weights_lightning`",
"Return an explanation of a lightning estimator weights\n<END>",
"<BEGIN>\n## `explain_prediction_lightning`",
"Return an explanation of a lightning estimator predictions\n<END>",
"<BEGIN>\n## `format_as_html`",
"Format explanation as html.\n Most styles are i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the explain_weights_xgboost API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the explain_weights_xgboost API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return an explanation of an XGBoost estimator (via scikit-learn wrapper
XGBClassifier or XGBRegressor, or via xgboost.Booster)
as feature importances.
See :func:`eli5.explain_weights` for description of
``top``, ``feature_names``,
``feature_re`` and ``feature_filter`` parameters.
``target_name... | "Return an explanation of an XGBoost estimator (via scikit-learn wrapper\n XGBClassifier or XGBRegressor, or via xgboost.Booster)\n as feature importances.\n\n See :func:`eli5.explain_weights` for description of\n ``top``, ``feature_names``,\n ``feature_re`` and ``feature_filter`` parameters.\n\n ``ta... | 391 | false | TeamHG-Memex/eli5 | explain_weights_xgboost | 38,617 | |
LDU_FT/eruvanos/openbrokerapi/provision | LDU_FT | [
"<BEGIN>\n## `check_plan_id`",
"Checks that the plan_id exists in the catalog\n :return: boolean\n<END>",
"<BEGIN>\n## `provision`",
"Further readings `CF Broker API#Provisioning <https://docs.cloudfoundry.org/services/api.html#provisioning>`_",
" :param instance_id: Instance id provided by th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the provision API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the provision API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Further readings `CF Broker API#Provisioning <https://docs.cloudfoundry.org/services/api.html#provisioning>`_
:param instance_id: Instance id provided by the platform
:param service_details: Details about the service to create
:param async_allowed: Client allows async creation
:rtype: P... | "Further readings `CF Broker API#Provisioning <https://docs.cloudfoundry.org/services/api.html#provisioning>`_\n\n :param instance_id: Instance id provided by the platform\n :param service_details: Details about the service to create\n :param async_allowed: Client allows async creation\n :rt... | 27 | false | eruvanos/openbrokerapi | provision | 38,618 | |
LDU_FT/jldantas/libmft/_entry_allocated_bitmap | LDU_FT | [
"<BEGIN>\n## `apply_fixup_array`",
"This function reads the fixup array and apply the correct values\n to the underlying binary stream. This function changes the bin_view\n in memory.",
" Args:\n bin_view (memoryview of bytearray) - The binary stream\n fx_offset (int) - Offset to the fixu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _entry_allocated_bitmap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _entry_allocated_bitmap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Checks if a particular index is allocated.
Args:
entry_number (int): Index to verify
Returns:
bool: True if it is allocated, False otherwise. | "Checks if a particular index is allocated.\n\n Args:\n entry_number (int): Index to verify\n\n Returns:\n bool: True if it is allocated, False otherwise." | 107 | false | jldantas/libmft | _entry_allocated_bitmap | 38,619 | |
LDU_FT/whiteclover/dbpy/values | LDU_FT | [
"<BEGIN>\n## `compile`",
"Building the sql expression",
" :param db: the database instance\n<END>",
"<BEGIN>\n## `find`",
"Find and load the user from database by uid(user id)\n<END>",
"<BEGIN>\n## `find_by_username`",
"Return user by username if find in database otherwise None\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | The values for insert ,
it can be a dict row or list tuple row. | "The values for insert , \n it can be a dict row or list tuple row." | 41 | false | whiteclover/dbpy | values | 38,620 | |
LDU_FT/cdgriffith/Reusables/directory_duplicates | LDU_FT | [
"<BEGIN>\n## `datetime_format`",
"Replaces format style phrases (listed in the dt_exps dictionary)\n with this datetime instance's information.",
" .. code :: python",
" reusables.datetime_format(\"Hey, it's {month-full} already!\")\n \"Hey, it's March already!\"",
" :param desired_fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directory_duplicates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directory_duplicates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Find all duplicates in a directory. Will return a list, in that list
are lists of duplicate files.
.. code: python
dups = reusables.directory_duplicates('C:\\Users\\Me\\Pictures')
print(len(dups))
# 56
print(dups)
# [['C:\\Users\\Me\\Pictures\\IMG_20161127.jpg',
... | "Find all duplicates in a directory. Will return a list, in that list\n are lists of duplicate files.\n\n .. code: python\n\n dups = reusables.directory_duplicates('C:\\\\Users\\\\Me\\\\Pictures')\n\n print(len(dups))\n # 56\n print(dups)\n # [['C:\\\\Users\\\\Me\\\\Pictures\\\\... | 320 | false | cdgriffith/Reusables | directory_duplicates | 38,621 | |
LDU_FT/gbowerman/azurerm/create_media_service_rg | LDU_FT | [
"<BEGIN>\n## `get_rg_from_id`",
"get a resource group name from a VMSS ID string\n<END>",
"<BEGIN>\n## `get_user_agent`",
"User-Agent Header. Sends library identification to Azure endpoint.\n<END>",
"<BEGIN>\n## `do_get`",
"Do an HTTP GET request and return JSON.",
" Args:\n endpoint (str): Az... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_media_service_rg API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_media_service_rg API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Create a media service in a resource group.
Args:
access_token (str): A valid Azure authentication token.
subscription_id (str): Azure subscription id.
rgname (str): Azure resource group name.
location (str): Azure data center location. E.g. westus.
stoname (str): Azure stor... | "Create a media service in a resource group.\n\n Args:\n access_token (str): A valid Azure authentication token.\n subscription_id (str): Azure subscription id.\n rgname (str): Azure resource group name.\n location (str): Azure data center location. E.g. westus.\n stoname (str): Az... | 605 | false | gbowerman/azurerm | create_media_service_rg | 38,622 | |
LDU_FT/maxalbert/tohu/make_dummy_tuples | LDU_FT | [
"<BEGIN>\n## `augment_init_method`",
"Replace the existing cls.__init__() method with a new one which\n also initialises the field generators and similar bookkeeping.\n<END>",
"<BEGIN>\n## `find_field_generators`",
"Return dictionary with the names and instances of\n all tohu.BaseGenerator occurring in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_dummy_tuples API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_dummy_tuples API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Helper function to create a list of namedtuples which are useful
for testing and debugging (especially of custom generators).
Example
-------
>>> make_dummy_tuples(chars='abcd')
[Quux(x='AA', y='aa'),
Quux(x='BB', y='bb'),
Quux(x='CC', y='cc'),
Quux(x='DD', y='dd')] | "Helper function to create a list of namedtuples which are useful\n for testing and debugging (especially of custom generators).\n\n Example\n -------\n >>> make_dummy_tuples(chars='abcd')\n [Quux(x='AA', y='aa'),\n Quux(x='BB', y='bb'),\n Quux(x='CC', y='cc'),\n Quux(x='DD', y='dd')]" | 142 | false | maxalbert/tohu | make_dummy_tuples | 38,623 | |
LDU_FT/mozilla/treeherder/mark_best_classification | LDU_FT | [
"<BEGIN>\n## `dict_to_op`",
"Create a bulk-indexing operation from the given dictionary.\n<END>",
"<BEGIN>\n## `to_dict`",
"Create a filtered dict from the given object.",
" Note: This function is currently specific to the FailureLine model.\n<END>",
"<BEGIN>\n## `build_removals`",
"active_jobs - all... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mark_best_classification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mark_best_classification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Wrapper for setting best_classification on both TextLogError and FailureLine.
Set the given ClassifiedFailure as best_classification for the given
TextLogError. Handles the duplication of best_classification on FailureLine
so you don't have to! | "Wrapper for setting best_classification on both TextLogError and FailureLine.\n\n Set the given ClassifiedFailure as best_classification for the given\n TextLogError. Handles the duplication of best_classification on FailureLine\n so you don't have to!" | 386 | false | mozilla/treeherder | mark_best_classification | 38,624 | |
LDU_FT/WZBSocialScienceCenter/tmtoolkit/print_ldamodel_distribution | LDU_FT | [
"<BEGIN>\n## `compute_models_parallel`",
"Compute several Topic Models in parallel using the \"lda\" package. Use a single or multiple document term matrices\n `data` and optionally a list of varying parameters `varying_parameters`. Pass parameters in `constant_parameters`\n dict to each model calculation. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_ldamodel_distribution API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_ldamodel_distribution API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Print `n_top` top values from a LDA model's distribution `distrib`. Can be used for topic-word distributions and
document-topic distributions. | "Print `n_top` top values from a LDA model's distribution `distrib`. Can be used for topic-word distributions and\n document-topic distributions." | 135 | false | WZBSocialScienceCenter/tmtoolkit | print_ldamodel_distribution | 38,625 | |
LDU_FT/wkentaro/pytorch-fcn/load_hha | LDU_FT | [
"<BEGIN>\n## `setup`",
"Setup data layer according to parameters:",
" - nyud_dir: path to NYUDv2 dir\n - split: train / val / test\n - tops: list of tops to output from {color, depth, hha, label}\n - randomize: load in random order (default: True)\n - seed: seed for randomizat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_hha API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_hha API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Load HHA features from Gupta et al. ECCV14.
See https://github.com/s-gupta/rcnn-depth/blob/master/rcnn/saveHHA.m | "Load HHA features from Gupta et al. ECCV14.\n See https://github.com/s-gupta/rcnn-depth/blob/master/rcnn/saveHHA.m" | 47 | false | wkentaro/pytorch-fcn | load_hha | 38,626 | |
LDU_FT/Mxit/python-mxit/delete_avatar | LDU_FT | [
"<BEGIN>\n## `send_message`",
"Send a message (from a Mxit app) to a list of Mxit users\n<END>",
"<BEGIN>\n## `send_user_to_user_message`",
"Send a message (from a Mxit user) to a list of Mxit users\n<END>",
"<BEGIN>\n## `get_user_id`",
"Retrieve the Mxit user's internal \"user ID\"\n No user authe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_avatar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_avatar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Delete the Mxit user's avatar
User authentication required with the following scope: 'avatar/write' | "Delete the Mxit user's avatar\n User authentication required with the following scope: 'avatar/write'" | 58 | false | Mxit/python-mxit | delete_avatar | 38,627 | |
LDU_FT/peterdemin/pip-compile-multi/parse_value | LDU_FT | [
"<BEGIN>\n## `create_lockfile`",
"Write recursive dependencies list to outfile\n with hard-pinned versions.\n Then fix it.\n<END>",
"<BEGIN>\n## `parse_references`",
"Read filename line by line searching for pattern:",
" -r file.in\n or\n --requirement file.in",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Parse value as comma-delimited list if default value for it is list | "Parse value as comma-delimited list if default value for it is list" | 61 | false | peterdemin/pip-compile-multi | parse_value | 38,628 | |
LDU_FT/yero13/na3x/list_concat | LDU_FT | [
"<BEGIN>\n## `agg_multi_func`",
"Aggregates several functions\n :param values: list of objects (dict)\n :param agg_field: target field to calculate aggregates\n :param agg_funcs: list of aggregate functions\n :param group_by: field used to determine group\n :return: dict {agg_fu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_concat API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_concat API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Concatenates two or more lists and put result into dest field
:param input:
:param params:
:return: | "Concatenates two or more lists and put result into dest field\n :param input:\n :param params:\n :return:" | 82 | false | yero13/na3x | list_concat | 38,629 | |
LDU_FT/gpennington/PyMarvel/get_creators | LDU_FT | [
"<BEGIN>\n## `get_comics`",
"Returns a full ComicDataWrapper object for this creator.",
" /creators/{creatorId}/comics",
" :returns: ComicDataWrapper -- A new request to API. Contains full results set.\n<END>",
"<BEGIN>\n## `get_events`",
"Returns a full EventDataWrapper object for this cre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_creators API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_creators API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns a full CreatorDataWrapper object for this story.
/stories/{storyId}/creators
:returns: CreatorDataWrapper -- A new request to API. Contains full results set. | "Returns a full CreatorDataWrapper object for this story.\n\n /stories/{storyId}/creators\n\n :returns: CreatorDataWrapper -- A new request to API. Contains full results set." | 109 | false | gpennington/PyMarvel | get_creators | 38,630 | |
LDU_FT/pycontribs/python-crowd/get_nested_groups | LDU_FT | [
"<BEGIN>\n## `_get`",
"Wrapper around Requests for GET requests",
" Returns:\n Response:\n A Requests Response object\n<END>",
"<BEGIN>\n## `_get_xml`",
"Wrapper around Requests for GET XML requests",
" Returns:\n Response:\n A Requests Res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nested_groups API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nested_groups API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Retrieve a list of all group names that have <username> as a direct or indirect member.
Args:
username: The account username.
Returns:
list:
A list of strings of group names. | "Retrieve a list of all group names that have <username> as a direct or indirect member.\n\n Args:\n username: The account username.\n\n\n Returns:\n list:\n A list of strings of group names." | 102 | false | pycontribs/python-crowd | get_nested_groups | 38,631 | |
LDU_FT/pyblish/pyblish-nuke/_nuke_set_zero_margins | LDU_FT | [
"<BEGIN>\n## `setup`",
"Setup integration",
" Registers Pyblish for Maya plug-ins and appends an item to the File-menu",
" Arguments:\n console (bool): Display console with GUI\n port (int, optional): Port from which to start looking for an\n available port to connect with Pybli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _nuke_set_zero_margins API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _nuke_set_zero_margins API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Remove Nuke margins when docked UI
.. _More info:
https://gist.github.com/maty974/4739917 | "Remove Nuke margins when docked UI\n .. _More info:\n https://gist.github.com/maty974/4739917" | 19 | false | pyblish/pyblish-nuke | _nuke_set_zero_margins | 38,632 | |
LDU_FT/itamarst/eliot/fields | LDU_FT | [
"<BEGIN>\n## `stopService`",
"Stop the writer thread, wait for it to finish.\n<END>",
"<BEGIN>\n## `bind`",
"Return a new L{Message} with this message's contents plus the\n additional given bindings.\n<END>",
"<BEGIN>\n## `_freeze`",
"Freeze this message for logging, registering it with C{action}."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fields API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Factory for for L{MessageType} and L{ActionType} field definitions.
@param *fields: A L{tuple} of L{Field} instances.
@param **keys: A L{dict} mapping key names to the expected type of the
field's values.
@return: A L{list} of L{Field} instances. | "Factory for for L{MessageType} and L{ActionType} field definitions.\n\n @param *fields: A L{tuple} of L{Field} instances.\n\n @param **keys: A L{dict} mapping key names to the expected type of the\n field's values.\n\n @return: A L{list} of L{Field} instances." | 282 | false | itamarst/eliot | fields | 38,633 | |
LDU_FT/MartijnBraam/python-isc-dhcp-leases/_extract_prop_option | LDU_FT | [
"<BEGIN>\n## `parse_time`",
"Like datetime.datetime.strptime(s, \"%w %Y/%m/%d %H:%M:%S\") but 5x faster.\n<END>",
"<BEGIN>\n## `_extract_prop_option`",
"Extract the (key,value)-tuple from a string like:\n >>> \"option foobar 123\"\n :param line:\n :return: tuple (key, value)\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_prop_option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_prop_option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Extract the (key,value)-tuple from a string like:
>>> "option foobar 123"
:param line:
:return: tuple (key, value) | "Extract the (key,value)-tuple from a string like:\n >>> \"option foobar 123\"\n :param line:\n :return: tuple (key, value)" | 16 | false | MartijnBraam/python-isc-dhcp-leases | _extract_prop_option | 38,634 | |
LDU_FT/Asana/python-asana/delete | LDU_FT | [
"<BEGIN>\n## `fetch_token`",
"Exchange a code (and 'state' token) for a bearer token\n<END>",
"<BEGIN>\n## `find_by_id`",
"Returns the complete tag record for a single tag.",
" Parameters\n ----------\n tag : {Id} The tag to get.\n [params] : {Object} Parameters for the request\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Deletes a specific, existing project status update.
Returns an empty data record.
Parameters
----------
project-status : {Id} The project status update to delete. | "Deletes a specific, existing project status update.\n \n Returns an empty data record.\n\n Parameters\n ----------\n project-status : {Id} The project status update to delete." | 318 | false | Asana/python-asana | delete | 38,635 | |
LDU_FT/aalireza/SimpleAudioIndexer/_get_audio_channels | LDU_FT | [
"<BEGIN>\n## `set_username_ibm`",
"Parameters\n ----------\n username_ibm : str",
" Raises\n ------\n Exception\n If mode is not `ibm`\n<END>",
"<BEGIN>\n## `set_password_ibm`",
"Parameters\n ----------\n password_ibm : str",
" Raises\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_audio_channels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_audio_channels API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Parameters
----------
audio_abs_path : str
Returns
-------
channel_num : int | "Parameters\n ----------\n audio_abs_path : str\n\n Returns\n -------\n channel_num : int" | 159 | false | aalireza/SimpleAudioIndexer | _get_audio_channels | 38,636 | |
LDU_FT/moonso/loqusdb/get_variant_id | LDU_FT | [
"<BEGIN>\n## `update_database`",
"Update a case in the database",
" Args:\n adapter: Connection to database\n variant_file(str): Path to variant file\n sv_file(str): Path to sv variant file\n family_file(str): Path to family file\n family_type(str): Format of fami... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variant_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variant_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Get a variant id on the format chrom_pos_ref_alt | "Get a variant id on the format chrom_pos_ref_alt" | 216 | false | moonso/loqusdb | get_variant_id | 38,637 | |
LDU_FT/Othernet-Project/squery-pg/get_mods | LDU_FT | [
"<BEGIN>\n## `get_mods`",
"List all loadable python modules in a directory",
" This function looks inside the specified directory for all files that look\n like Python modules with a numeric prefix and returns them. It will omit\n any duplicates and return file names without extension.",
" :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mods API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mods API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | List all loadable python modules in a directory
This function looks inside the specified directory for all files that look
like Python modules with a numeric prefix and returns them. It will omit
any duplicates and return file names without extension.
:param package: package object
:returns: ... | "List all loadable python modules in a directory\n\n This function looks inside the specified directory for all files that look\n like Python modules with a numeric prefix and returns them. It will omit\n any duplicates and return file names without extension.\n\n :param package: package object\n :return... | 31 | false | Othernet-Project/squery-pg | get_mods | 38,638 | |
LDU_FT/pyviz/imagen/edge_average | LDU_FT | [
"<BEGIN>\n## `_threeDdot_simple`",
"Return Ma, where M is a 3x3 transformation matrix, for each pixel\n<END>",
"<BEGIN>\n## `_swaplch`",
"Reverse the order of an LCH numpy dstack or tuple for analysis.\n<END>",
"<BEGIN>\n## `convert`",
"Convert image or color \"what\" from \"from_\" colorpace to \"to\"\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edge_average API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edge_average API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return the mean value around the edge of an array. | "Return the mean value around the edge of an array." | 127 | false | pyviz/imagen | edge_average | 38,639 | |
LDU_FT/datascopeanalytics/traces/floor_datetime | LDU_FT | [
"<BEGIN>\n## `duration_to_number`",
"If duration is already a numeric type, then just return\n duration. If duration is a timedelta, return a duration in\n seconds.",
" TODO: allow for multiple types of units.\n<END>",
"<BEGIN>\n## `convert_args_to_list`",
"Convert all iterable pairs of inputs into... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the floor_datetime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the floor_datetime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Floor a datetime to nearest n units. For example, if we want to
floor to nearest three months, starting with 2016-05-06-yadda, it
will go to 2016-04-01. Or, if starting with 2016-05-06-11:45:06
and rounding to nearest fifteen minutes, it will result in
2016-05-06-11:45:00. | "Floor a datetime to nearest n units. For example, if we want to\n floor to nearest three months, starting with 2016-05-06-yadda, it\n will go to 2016-04-01. Or, if starting with 2016-05-06-11:45:06\n and rounding to nearest fifteen minutes, it will result in\n 2016-05-06-11:45:00." | 73 | false | datascopeanalytics/traces | floor_datetime | 38,640 | |
LDU_FT/mretegan/crispy/parent | LDU_FT | [
"<BEGIN>\n## `loadFromDisk`",
"Read the spectra from the files generated by Quanty and store them\n as a list of spectum objects.\n<END>",
"<BEGIN>\n## `populateWidget`",
"Populate the widget using data stored in the state\n object. The order in which the individual widgets are populated\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return the index of the parent for a given index of the
child. Unfortunately, the name of the method has to be parent,
even though a more verbose name like parentIndex, would avoid
confusion about what parent actually is - an index or an item. | "Return the index of the parent for a given index of the\n child. Unfortunately, the name of the method has to be parent,\n even though a more verbose name like parentIndex, would avoid\n confusion about what parent actually is - an index or an item." | 38 | false | mretegan/crispy | parent | 38,641 | |
LDU_FT/vijayvarma392/surfinBH/DownloadData | LDU_FT | [
"<BEGIN>\n## `multiplyQuats`",
"q1, q2 must be [scalar, x, y, z] but those may be arrays or scalars\n<END>",
"<BEGIN>\n## `alignVec_quat`",
"Returns a unit quaternion that will align vec with the z-axis\n<END>",
"<BEGIN>\n## `transformTimeDependentVector`",
"Given (for example) a minimal rotation frame qu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DownloadData API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DownloadData API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Downloads fit data to DataPath() diretory.
If name='all', gets all fit data. | "Downloads fit data to DataPath() diretory.\n If name='all', gets all fit data." | 46 | false | vijayvarma392/surfinBH | DownloadData | 38,642 | |
LDU_FT/chriso/timeseries/timestamps | LDU_FT | [
"<BEGIN>\n## `trend`",
"Override Series.trend() to return a TimeSeries instance.\n<END>",
"<BEGIN>\n## `trend_coefficients`",
"Calculate trend coefficients for the specified order.\n<END>",
"<BEGIN>\n## `moving_average`",
"Calculate a moving average using the specified method and window\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timestamps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timestamps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get all timestamps from all series in the group. | "Get all timestamps from all series in the group." | 18 | false | chriso/timeseries | timestamps | 38,643 | |
LDU_FT/renweizhukov/txt2mobi3/gen_html | LDU_FT | [
"<BEGIN>\n## `_process_lines`",
"循环处理所有的行\n :param lines:\n :type lines:\n :return:\n :rtype:\n<END>",
"<BEGIN>\n## `_is_chapter_title`",
"检测是否章节标题\n :param line:\n :type line:\n :return:\n :rtype:\n<END>",
"<BEGIN>\n## `_start_end_of_index`",
"根据boo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | 生成HTML文件
:return:
:rtype: | "生成HTML文件\n :return:\n :rtype:" | 12 | false | renweizhukov/txt2mobi3 | gen_html | 38,644 | |
LDU_FT/LeastAuthority/txkube/pairwise | LDU_FT | [
"<BEGIN>\n## `pairwise`",
"Generate consecutive pairs of elements from the given iterable.\n<END>",
"<BEGIN>\n## `pick_cert_for_twisted`",
"Pick the right client key/certificate to use for the given server and\n return it in the form Twisted wants.",
" :param NetLocation netloc: The location of the se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pairwise API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pairwise API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Generate consecutive pairs of elements from the given iterable. | "Generate consecutive pairs of elements from the given iterable." | 132 | false | LeastAuthority/txkube | pairwise | 38,645 | |
LDU_FT/peo3/cgroup-utils/get_stats | LDU_FT | [
"<BEGIN>\n## `scan_cgroups`",
"It returns a control group hierarchy which belong to the subsys_name.\n When collecting cgroups, filters are applied to the cgroups. See pydoc\n of apply_filters method of CGroup for more information about the filters.\n<END>",
"<BEGIN>\n## `walk_cgroups`",
"The function a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | It returns a name and a value pairs of control files
which are categorised in the stats group. | "It returns a name and a value pairs of control files\n which are categorised in the stats group." | 24 | false | peo3/cgroup-utils | get_stats | 38,646 | |
LDU_FT/zagaran/mongolia/add_user | LDU_FT | [
"<BEGIN>\n## `exists`",
"Like __init__ but simply returns a boolean as to whether or not the\n object exists, rather than returning the whole object.",
" NOTE: if you pass in a single argument to exists, this will\n match against ID_KEY.",
" @param query: a dictionary specifying ke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Adds a user that can be used for authentication | "Adds a user that can be used for authentication" | 95 | false | zagaran/mongolia | add_user | 38,647 | |
LDU_FT/Cadasta/django-tutelary/find | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Permission checking decorator -- works like the\n ``permission_required`` decorator in the default Django\n authentication system, except that it takes a sequence of actions\n to check, an object must be supplied, and the user must have\n permission to perform all... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Find a key path in the tree, matching wildcards. Return value for
key, along with index path through subtree lists to the result. Throw
``KeyError`` if the key path doesn't exist in the tree. | "Find a key path in the tree, matching wildcards. Return value for\n key, along with index path through subtree lists to the result. Throw\n ``KeyError`` if the key path doesn't exist in the tree." | 50 | false | Cadasta/django-tutelary | find | 38,648 | |
LDU_FT/erocarrera/pefile/dump | LDU_FT | [
"<BEGIN>\n## `is_suspicious`",
"unusual locations of import tables\n non recognized section names\n presence of long ASCII strings\n<END>",
"<BEGIN>\n## `is_probably_packed`",
"Returns True is there is a high likelihood that a file is packed or contains compressed data.",
" The sections of the PE f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Returns a string representation of the structure. | "Returns a string representation of the structure." | 160 | false | erocarrera/pefile | dump | 38,649 | |
LDU_FT/ethereum/pyethereum/starts_with | LDU_FT | [
"<BEGIN>\n## `_canonical_type`",
"Replace aliases to the corresponding type to compute the ids.\n<END>",
"<BEGIN>\n## `method_id`",
"Return the unique method id.",
" The signature is defined as the canonical expression of the basic\n prototype, i.e. the function name with the parenthesised list of par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the starts_with API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the starts_with API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | test whether the items in the part is
the leading items of the full | "test whether the items in the part is\n the leading items of the full" | 138 | false | ethereum/pyethereum | starts_with | 38,650 | |
LDU_FT/Genida/archan/check | LDU_FT | [
"<BEGIN>\n## `validate_rows_length`",
"Validate that all rows have the same length.\n<END>",
"<BEGIN>\n## `validate_square`",
"Validate that the matrix has equal number of rows and columns.\n<END>",
"<BEGIN>\n## `validate_categories_equal_entities`",
"Validate that the matrix has equal number of entities ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Check if matrix and its mediation matrix are compliant.
It means that number of dependencies for each (line, column) is either
0 if the mediation matrix (line, column) is 0, or >0 if the mediation
matrix (line, column) is 1.
Args:
dsm (:class:`DesignStructureMatrix`): the D... | "Check if matrix and its mediation matrix are compliant.\n\n It means that number of dependencies for each (line, column) is either\n 0 if the mediation matrix (line, column) is 0, or >0 if the mediation\n matrix (line, column) is 1.\n\n Args:\n dsm (:class:`DesignStructureMatrix`... | 127 | false | Genida/archan | check | 38,651 | |
LDU_FT/kennethreitz/maya/subtract | LDU_FT | [
"<BEGIN>\n## `comparable`",
"Class decorator that ensures support for the special C{__cmp__} method.\n On Python 2 this does nothing.\n On Python 3, C{__eq__}, C{__lt__}, etc. methods are added to the class,\n relying on C{__cmp__} to implement their comparisons.\n<END>",
"<BEGIN>\n## `validate_class_t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subtract API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subtract API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns a new MayaDT object with the given offsets. | "Returns a new MayaDT object with the given offsets." | 47 | false | kennethreitz/maya | subtract | 38,652 | |
LDU_FT/PyCQA/pyflakes/checkPath | LDU_FT | [
"<BEGIN>\n## `syntaxError`",
"There was a syntax error in C{filename}.",
" @param filename: The path to the file with the syntax error.\n @ptype filename: C{unicode}\n @param msg: An explanation of the syntax error.\n @ptype msg: C{unicode}\n @param lineno: The line number whe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checkPath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the checkPath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Check the given path, printing out any warnings detected.
@param reporter: A L{Reporter} instance, where errors and warnings will be
reported.
@return: the number of warnings printed | "Check the given path, printing out any warnings detected.\n\n @param reporter: A L{Reporter} instance, where errors and warnings will be\n reported.\n\n @return: the number of warnings printed" | 54 | false | PyCQA/pyflakes | checkPath | 38,653 | |
LDU_FT/amaas-fintech/amaas-core-sdk-python/interface_direct_class | LDU_FT | [
"<BEGIN>\n## `deactivate`",
"Is is only possible to deactivate an asset manager if your client_id is also the client_id that was used\n to originally create the asset manager.",
" :param asset_manager_id:\n :return:\n<END>",
"<BEGIN>\n## `quote_datetime`",
"Force the quote_datetime to a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interface_direct_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interface_direct_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | help to direct to the correct interface interacting with DB by class name only | "help to direct to the correct interface interacting with DB by class name only" | 109 | false | amaas-fintech/amaas-core-sdk-python | interface_direct_class | 38,654 | |
LDU_FT/python-astrodynamics/spacetrack/_download_predicate_data | LDU_FT | [
"<BEGIN>\n## `check_git_unchanged`",
"Check git to avoid overwriting user changes.\n<END>",
"<BEGIN>\n## `check_staged`",
"Check if there are 'changes to be committed' in the index.\n<END>",
"<BEGIN>\n## `_raise_for_status`",
"Raise an appropriate error for a given response.",
" Arguments:\n res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download_predicate_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download_predicate_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Get raw predicate information for given request class, and cache for
subsequent calls. | "Get raw predicate information for given request class, and cache for\n subsequent calls." | 71 | false | python-astrodynamics/spacetrack | _download_predicate_data | 38,655 | |
LDU_FT/mcocdawc/chemcoord/sort_values | LDU_FT | [
"<BEGIN>\n## `_check_construction_table`",
"Checks if a construction table uses valid references.\n Raises an exception (UndefinedCoordinateSystem) otherwise.\n<END>",
"<BEGIN>\n## `_get_frag_constr_table`",
"Create a construction table for a Zmatrix.",
" A construction table is basically a Zm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Sort by the values along either axis
Wrapper around the :meth:`pandas.DataFrame.sort_values` method. | "Sort by the values along either axis\n\n Wrapper around the :meth:`pandas.DataFrame.sort_values` method." | 503 | false | mcocdawc/chemcoord | sort_values | 38,656 | |
LDU_FT/icgood/pymap/list_mailboxes | LDU_FT | [
"<BEGIN>\n## `for_executor`",
"Return a subsystem based on the given executor. If ``executor`` is\n None, use :mod:`asyncio`. If ``executor`` is a\n :class:`concurrent.futures.ThreadPoolExecutor`, use :mod:`threading`.",
" Args:\n executor: The executor in use, if any.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_mailboxes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_mailboxes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | List the mailboxes owned by the user.
See Also:
`RFC 3501 6.3.8.
<https://tools.ietf.org/html/rfc3501#section-6.3.8>`_,
`RFC 3501 6.3.9.
<https://tools.ietf.org/html/rfc3501#section-6.3.9>`_
Args:
ref_name: Mailbox reference name.
... | "List the mailboxes owned by the user.\n\n See Also:\n `RFC 3501 6.3.8.\n <https://tools.ietf.org/html/rfc3501#section-6.3.8>`_,\n `RFC 3501 6.3.9.\n <https://tools.ietf.org/html/rfc3501#section-6.3.9>`_\n\n Args:\n ref_name: Mailbox reference name.\n... | 298 | false | icgood/pymap | list_mailboxes | 38,657 | |
LDU_FT/erikrose/more-itertools/_get_values | LDU_FT | [
"<BEGIN>\n## `first`",
"Return the first item of *iterable*, or *default* if *iterable* is\n empty.",
" >>> first([0, 1, 2, 3])\n 0\n >>> first([], 'some default')\n 'some default'",
" If *default* is not provided and there are no items in the iterable,\n raise ``ValueErro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Helper to yield items from the parent iterator that match *value*.
Items that don't match are stored in the local cache as they
are encountered. | "Helper to yield items from the parent iterator that match *value*.\n Items that don't match are stored in the local cache as they\n are encountered." | 342 | false | erikrose/more-itertools | _get_values | 38,658 | |
LDU_FT/python-odin/odinweb/sign_url_path | LDU_FT | [
"<BEGIN>\n## `action`",
"Decorator to apply an action to a resource. An action is applied to a `detail` operation.\n<END>",
"<BEGIN>\n## `listing`",
"Decorator to configure an operation that returns a list of resources.\n<END>",
"<BEGIN>\n## `create`",
"Decorator to configure an operation that creates a r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign_url_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sign_url_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Sign a URL (excluding the domain and scheme).
:param url: URL to sign
:param secret_key: Secret key
:param expire_in: Expiry time.
:param digest: Specify the digest function to use; default is sha256 from hashlib
:return: Signed URL | "Sign a URL (excluding the domain and scheme).\n\n :param url: URL to sign\n :param secret_key: Secret key\n :param expire_in: Expiry time.\n :param digest: Specify the digest function to use; default is sha256 from hashlib\n :return: Signed URL" | 139 | false | python-odin/odinweb | sign_url_path | 38,659 | |
LDU_FT/daviddrysdale/python-phonenumbers/_prefix_number_with_country_calling_code | LDU_FT | [
"<BEGIN>\n## `_get_metadata_for_region`",
"The metadata needed by this class is the same for all regions\n sharing the same country calling code. Therefore, we return the\n metadata for \"main\" region for this country calling code.\n<END>",
"<BEGIN>\n## `_maybe_create_new_template`",
"Returns True if a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prefix_number_with_country_calling_code API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prefix_number_with_country_calling_code API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat... | A helper function that is used by format_number and format_by_pattern. | "A helper function that is used by format_number and format_by_pattern." | 501 | false | daviddrysdale/python-phonenumbers | _prefix_number_with_country_calling_code | 38,660 | |
LDU_FT/janpipek/physt/pair_bars | LDU_FT | [
"<BEGIN>\n## `register`",
"Decorator to wrap common plotting functionality.",
" Parameters\n ----------\n dim : Dimensionality of histogram for which it is applicable\n use_3d : If True, the figure will be 3D.\n use_polar : If True, the figure will be in polar coordinates.\n collection : Wheth... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pair_bars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pair_bars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Draw two different histograms mirrored in one figure.
Parameters
----------
first: Histogram1D
second: Histogram1D
color1:
color2:
orientation: str
Returns
-------
plt.Axes | "Draw two different histograms mirrored in one figure.\n\n Parameters\n ----------\n first: Histogram1D\n second: Histogram1D\n color1:\n color2:\n orientation: str\n\n Returns\n -------\n plt.Axes" | 460 | false | janpipek/physt | pair_bars | 38,661 | |
LDU_FT/assamite/creamas/set_slave_neighbors | LDU_FT | [
"<BEGIN>\n## `configure_logger`",
"Configure logging behvior for the simulations.\n<END>",
"<BEGIN>\n## `fractal_dimension`",
"Estimates the fractal dimension of an image with box counting.\n Counts pixels with value 0 as empty and everything else as non-empty.\n Input image has to be grayscale.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_slave_neighbors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_slave_neighbors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Set neighbor environments for all the slave environments. Assumes
that :attr:`neighbors` are set for this multi-environment. | "Set neighbor environments for all the slave environments. Assumes\n that :attr:`neighbors` are set for this multi-environment." | 529 | false | assamite/creamas | set_slave_neighbors | 38,662 | |
LDU_FT/blockstack/python-utilitybelt/_to_json_type | LDU_FT | [
"<BEGIN>\n## `dev_random_entropy`",
"Reads random bytes from the /dev/random entropy pool.",
" NOTE: /dev/random is a blocking pseudorandom number generator.\n If the entropy pool runs out, this function will block until more\n environmental noise is gathered.\n If entropy re-use is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_json_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_json_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Recursively convert the object instance into a valid JSON type. | "Recursively convert the object instance into a valid JSON type." | 15 | false | blockstack/python-utilitybelt | _to_json_type | 38,663 | |
LDU_FT/lowandrew/OLCTools/epcr_primers | LDU_FT | [
"<BEGIN>\n## `classes`",
"Uses .tfa files included in the ResFinder database to determine the resistance class of gene matches\n :param targetpath: Path to database files\n :return: Dictionary of resistance class: gene set\n<END>",
"<BEGIN>\n## `gene_name`",
"Split the FASTA header string into i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the epcr_primers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the epcr_primers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Read in the primer file, and create a properly formatted output file that takes any degenerate bases
into account | "Read in the primer file, and create a properly formatted output file that takes any degenerate bases\n into account" | 432 | false | lowandrew/OLCTools | epcr_primers | 38,664 | |
LDU_FT/pdkit/pdkit/load_finger_tapping_mpower_data | LDU_FT | [
"<BEGIN>\n## `load`",
"This is a general load data method where the format of data to load can be passed as a parameter,",
" :param str filename: The path to load data from\n :param str format_file: format of the file. Default is CloudUPDRS. Set to mpower for mpower data.\n :ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_finger_tapping_mpower_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_finger_tapping_mpower_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | This method loads data in the `mpower <https://www.synapse.org/#!Synapse:syn4993293/wiki/247859>`_ format | "This method loads data in the `mpower <https://www.synapse.org/#!Synapse:syn4993293/wiki/247859>`_ format" | 344 | false | pdkit/pdkit | load_finger_tapping_mpower_data | 38,665 | |
LDU_FT/gmr/rejected/_republish_dropped_message | LDU_FT | [
"<BEGIN>\n## `active_processes`",
"Return a list of all active processes, pruning dead ones",
" :rtype: list\n<END>",
"<BEGIN>\n## `calculate_stats`",
"Calculate the stats data for our process level data.",
" :param data: The collected stats data to report on\n :type data: dict\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _republish_dropped_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _republish_dropped_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Republish the original message that was received it is being dropped
by the consumer.
This for internal use and should not be extended or used directly.
:param str reason: The reason the message was dropped | "Republish the original message that was received it is being dropped\n by the consumer.\n\n This for internal use and should not be extended or used directly.\n\n :param str reason: The reason the message was dropped" | 368 | false | gmr/rejected | _republish_dropped_message | 38,666 | |
LDU_FT/klahnakoski/mo-json/pypy_json_encode | LDU_FT | [
"<BEGIN>\n## `pypy_json_encode`",
"pypy DOES NOT OPTIMIZE GENERATOR CODE WELL\n<END>",
"<BEGIN>\n## `unicode_key`",
"CONVERT PROPERTY VALUE TO QUOTED NAME OF SAME\n<END>",
"<BEGIN>\n## `parse`",
"INTENDED TO TREAT JSON AS A STREAM; USING MINIMAL MEMORY WHILE IT ITERATES\n THROUGH THE STRUCTURE. ASSUMI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pypy_json_encode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pypy_json_encode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | pypy DOES NOT OPTIMIZE GENERATOR CODE WELL | "pypy DOES NOT OPTIMIZE GENERATOR CODE WELL" | 20 | false | klahnakoski/mo-json | pypy_json_encode | 38,667 | |
LDU_FT/MarcAureleCoste/sqla-filters/_join_tables | LDU_FT | [
"<BEGIN>\n## `filter`",
"Define the filter function that every node must to implement.",
" :param query: The sqlalchemy query.\n :type query: Query",
" :param entity: The entity model.\n :type entity: type",
" :return: The filtered query.\n :rtype: Tuple[Query, Any]... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _join_tables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _join_tables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Method to make the join when relation is found.
:param query: The sqlalchemy query.
:type query: Query
:param join_models: The list of joined models get from the method
`_get_relation`.
:type join_models: Optional[List[type]]
:return: The new Query with the joined ... | "Method to make the join when relation is found.\n\n :param query: The sqlalchemy query.\n :type query: Query\n\n :param join_models: The list of joined models get from the method\n `_get_relation`.\n :type join_models: Optional[List[type]]\n\n :return: The new Query with t... | 32 | false | MarcAureleCoste/sqla-filters | _join_tables | 38,668 | |
LDU_FT/Parsely/birding/overlay | LDU_FT | [
"<BEGIN>\n## `main`",
"Do the default action of `twitter` command.\n<END>",
"<BEGIN>\n## `from_oauth_file`",
"Get an object bound to the Twitter API using your own credentials.",
" The `twitter` library ships with a `twitter` command that uses PIN\n OAuth. Generate your own OAuth credentials b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlay API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlay API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return the overlay of `upper` dict onto `lower` dict.
This operation is similar to `dict.update`, but recurses when it encounters
a dict/mapping, as to allow nested leaf values in the lower collection
which are not in the upper collection. Whenever the upper collection has a
value, its value is used.
... | "Return the overlay of `upper` dict onto `lower` dict.\n\n This operation is similar to `dict.update`, but recurses when it encounters\n a dict/mapping, as to allow nested leaf values in the lower collection\n which are not in the upper collection. Whenever the upper collection has a\n value, its value is u... | 88 | false | Parsely/birding | overlay | 38,669 | |
LDU_FT/DinoTools/python-flextls/get_version_id | LDU_FT | [
"<BEGIN>\n## `get_version_by_version_id`",
"Get the internal version ID be the version.",
" :param Tuple version_id: Major and minor version number\n :return: Internal version ID\n :rtype: Integer|None\n<END>",
"<BEGIN>\n## `get_version_name`",
"Get the name of a protocol version by the internal ve... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Get a tuple with major and minor version number
:param Integer protocol_version: Internal version ID
:return: Tuple of major and minor protocol version
:rtype: Tuple | "Get a tuple with major and minor version number\n\n :param Integer protocol_version: Internal version ID\n :return: Tuple of major and minor protocol version\n :rtype: Tuple" | 19 | false | DinoTools/python-flextls | get_version_id | 38,670 | |
LDU_FT/pudo/dataset/get_table | LDU_FT | [
"<BEGIN>\n## `normalize_column_name`",
"Check if a string is a reasonable thing to use as a column name.\n<END>",
"<BEGIN>\n## `normalize_table_name`",
"Check if the table name is obviously invalid.\n<END>",
"<BEGIN>\n## `safe_url`",
"Remove password from printed connection URLs.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Load or create a table.
This is now the same as ``create_table``.
::
table = db.get_table('population')
# you can also use the short-hand syntax:
table = db['population'] | "Load or create a table.\n\n This is now the same as ``create_table``.\n ::\n\n table = db.get_table('population')\n # you can also use the short-hand syntax:\n table = db['population']" | 128 | false | pudo/dataset | get_table | 38,671 | |
LDU_FT/shmir/PyIxExplorer/get_active_ports | LDU_FT | [
"<BEGIN>\n## `read_stats`",
"Read port statistics from chassis.",
" :param stats: list of requested statistics to read, if empty - read all statistics.\n<END>",
"<BEGIN>\n## `read_stats`",
"Read stream statistics from chassis.",
" :param stats: list of requested statistics to read, if empty ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_active_ports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_active_ports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | :return: dictionary {index: object} of all ports. | ":return: dictionary {index: object} of all ports." | 91 | false | shmir/PyIxExplorer | get_active_ports | 38,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.