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/juju/theblues/_get | LDU_FT | [
"<BEGIN>\n## `list_models`",
"Get the logged in user's models from the JIMM controller.",
" @param macaroons The discharged JIMM macaroons.\n @return The json decoded list of environments.\n<END>",
"<BEGIN>\n## `make_request`",
"Make a request with the provided data.",
" @param url The ur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get 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 _get 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... | Make a get request against the charmstore.
This method is used by other API methods to standardize querying.
@param url The full url to query
(e.g. https://api.jujucharms.com/charmstore/v4/macaroon) | "Make a get request against the charmstore.\n\n This method is used by other API methods to standardize querying.\n @param url The full url to query\n (e.g. https://api.jujucharms.com/charmstore/v4/macaroon)" | 141 | false | juju/theblues | _get | 22,673 | |
LDU_FT/miquelo/resort/custom_resource | LDU_FT | [
"<BEGIN>\n## `insert`",
"Build the project.",
"\t\t:param resort.engine.execution.Context context:\n\t\t Current execution context.\n<END>",
"<BEGIN>\n## `load`",
"Load the profile with the given name.",
"\t\t:param str prof_name:\n\t\t Profile name.\n\t\t:rtype:\n\t\t ProfileStub\n\t\t:return:\n\t\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the custom_resource 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 custom_resource 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... | Domain custom resource.
:param str name:
Resource name.
:param str restype:
Resource type.
:param str factclass:
Resource factory class.
:param dict props:
Resource properties.
:rtype:
CustomResource | "Domain custom resource.\n\t\t\n\t\t:param str name:\n\t\t Resource name.\n\t\t:param str restype:\n\t\t Resource type.\n\t\t:param str factclass:\n\t\t Resource factory class.\n\t\t:param dict props:\n\t\t Resource properties.\n\t\t:rtype:\n\t\t CustomResource" | 125 | false | miquelo/resort | custom_resource | 22,674 | |
LDU_FT/amperser/proselint/check_misc | LDU_FT | [
"<BEGIN>\n## `check`",
"Flag offensive words based on the GLAAD reference guide.\n<END>",
"<BEGIN>\n## `score`",
"Compute the linter's score on the corpus.",
" Proselint's score reflects the desire to have a linter that catches many\n errors, but which takes false alarms seriously. It is better not to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_misc 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 check_misc 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... | Avoid mixing metaphors.
source: Garner's Modern American Usage
source_url: http://bit.ly/1T4alrY | "Avoid mixing metaphors.\n\n source: Garner's Modern American Usage\n source_url: http://bit.ly/1T4alrY" | 94 | false | amperser/proselint | check_misc | 22,675 | |
LDU_FT/dadadel/pyment/isin | LDU_FT | [
"<BEGIN>\n## `isin_alone`",
"Check if an element from a list is the only element of a string.",
" :type elems: list\n :type line: str\n<END>",
"<BEGIN>\n## `isin_start`",
"Check if an element from a list starts a string.",
" :type elems: list\n :type line: str\n<END>",
"<BEGIN>\n## `isin`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isin 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 isin 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... | Check if an element from a list is in a string.
:type elems: list
:type line: str | "Check if an element from a list is in a string.\n\n :type elems: list\n :type line: str" | 165 | false | dadadel/pyment | isin | 22,676 | |
LDU_FT/fhs/pyhdf/attrinfo | LDU_FT | [
"<BEGIN>\n## `end`",
"Close the V interface.",
" Args::",
" No argument",
" Returns::",
" None",
" C library equivalent : Vend\n<END>",
"<BEGIN>\n## `attach`",
"Open an existing vgroup given its name or its reference\n number, or create a new vgroup, ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attrinfo 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 attrinfo 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 info about all the vgroup attributes.
Args::
no argument
Returns::
dictionnary describing each vgroup attribute; for each attribute,
a (name,data) pair is added to the dictionary, where 'data' is
a tuple holding:
- attribute data type (one of... | "Return info about all the vgroup attributes.\n\n Args::\n\n no argument\n\n Returns::\n\n dictionnary describing each vgroup attribute; for each attribute,\n a (name,data) pair is added to the dictionary, where 'data' is\n a tuple holding:\n\n - attribute data... | 605 | false | fhs/pyhdf | attrinfo | 22,677 | |
LDU_FT/MartinThoma/mpu/_s3_path_split | LDU_FT | [
"<BEGIN>\n## `timing`",
"Measure the execution time of a function call and print the result.\n<END>",
"<BEGIN>\n## `deprecated`",
"Mark functions as deprecated.",
" It will result in a warning being emitted when the function is used.\n<END>",
"<BEGIN>\n## `get_currency`",
"Convert an identifier for a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _s3_path_split 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 _s3_path_split 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... | Split an S3 path into bucket and key.
Parameters
----------
s3_path : str
Returns
-------
splitted : (str, str)
(bucket, key)
Examples
--------
>>> _s3_path_split('s3://my-bucket/foo/bar.jpg')
S3Path(bucket_name='my-bucket', key='foo/bar.jpg') | "Split an S3 path into bucket and key.\n\n Parameters\n ----------\n s3_path : str\n\n Returns\n -------\n splitted : (str, str)\n (bucket, key)\n\n Examples\n --------\n >>> _s3_path_split('s3://my-bucket/foo/bar.jpg')\n S3Path(bucket_name='my-bucket', key='foo/bar.jpg')" | 255 | false | MartinThoma/mpu | _s3_path_split | 22,678 | |
LDU_FT/qubell/contrib-python-qubell-client/clone | LDU_FT | [
"<BEGIN>\n## `request_upload_secret`",
":return: json with \"keyId\" as secret and \"url\" for posting key\n<END>",
"<BEGIN>\n## `entity`",
"CLI for tonomi.com using contrib-python-qubell-client",
" To enable completion:",
" eval \"$(_NOMI_COMPLETE=source nomi)\"\n<END>",
"<BEGIN>\n## `import_ap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone 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 clone 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... | :param name: new env name
:rtype: Environment | ":param name: new env name\n :rtype: Environment" | 112 | false | qubell/contrib-python-qubell-client | clone | 22,679 | |
LDU_FT/workforce-data-initiative/skills-utils/quarter_boundaries | LDU_FT | [
"<BEGIN>\n## `quarter_boundaries`",
"Returns first and last day of a quarter",
" Args:\n quarter (str) quarter, in format '2015Q1'",
" Returns: (tuple) datetime.dates for the first and last days of the quarter\n<END>",
"<BEGIN>\n## `metta_config`",
"Returns metta metadata for a quarter's SOC ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quarter_boundaries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quarter_boundaries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns first and last day of a quarter
Args:
quarter (str) quarter, in format '2015Q1'
Returns: (tuple) datetime.dates for the first and last days of the quarter | "Returns first and last day of a quarter\n\n Args:\n quarter (str) quarter, in format '2015Q1'\n\n Returns: (tuple) datetime.dates for the first and last days of the quarter" | 63 | false | workforce-data-initiative/skills-utils | quarter_boundaries | 22,680 | |
LDU_FT/ORCID/python-orcid/get_token | LDU_FT | [
"<BEGIN>\n## `get_login_url`",
"Return a URL for a user to login/register with ORCID.",
" Parameters\n ----------\n :param scope: string or iterable of strings\n The scope(s) of the authorization request.\n For example '/authenticate'\n :param redirect_uri: stri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract... | Get the token.
Parameters
----------
:param user_id: string
The id of the user used for authentication.
:param password: string
The user password.
:param redirect_uri: string
The redirect uri of the institution.
:param scope: string
... | "Get the token.\n\n Parameters\n ----------\n :param user_id: string\n The id of the user used for authentication.\n :param password: string\n The user password.\n :param redirect_uri: string\n The redirect uri of the institution.\n :param scope... | 54 | false | ORCID/python-orcid | get_token | 22,681 | |
LDU_FT/cloud9ers/pylxc/all_as_dict | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new container\r\n raises ContainerAlreadyExists exception if the container name is reserved already.\r",
" :param template_options: Options passed to the specified template\r\n :type template_options: list or None\n<END>",
"<BEGIN>\n## `all_as_dict`",
"returns a di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_as_dict 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 all_as_dict 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... | returns a dict {'Running': ['cont1', 'cont2'],
'Stopped': ['cont3', 'cont4']
} | "returns a dict {'Running': ['cont1', 'cont2'], \r\n 'Stopped': ['cont3', 'cont4']\r\n }" | 20 | false | cloud9ers/pylxc | all_as_dict | 22,682 | |
LDU_FT/SHDShim/pytheos/cal_pst | LDU_FT | [
"<BEGIN>\n## `constq_grun`",
"calculate Gruneisen parameter for constant q",
" :param v: unit-cell volume in A^3\n :param v0: unit-cell volume in A^3 at 1 bar\n :param gamma0: Gruneisen parameter at 1 bar\n :param q: logarithmic derivative of Grunseinen parameter\n :return: Gruneisen parameter at... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cal_pst 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 cal_pst 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... | calculate static pressure at 300 K.
:param v: unit-cell volume in A^3
:return: static pressure at t_ref (=300 K) in GPa | "calculate static pressure at 300 K.\n\n :param v: unit-cell volume in A^3\n :return: static pressure at t_ref (=300 K) in GPa" | 234 | false | SHDShim/pytheos | cal_pst | 22,683 | |
LDU_FT/tchx84/grestful/_updated_cb | LDU_FT | [
"<BEGIN>\n## `check_is_created`",
"Make sure the Object DOES have an id, already.\n<END>",
"<BEGIN>\n## `check_is_not_created`",
"Make sure the Object does NOT have an id, yet.\n<END>",
"<BEGIN>\n## `asynchronous`",
"Convenience wrapper for GObject.idle_add.\n<END>",
"<BEGIN>\n## `_call`",
"Initiate r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _updated_cb 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 _updated_cb 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... | Emit update signal, including transfer status metadata. | "Emit update signal, including transfer status metadata." | 16 | false | tchx84/grestful | _updated_cb | 22,684 | |
LDU_FT/ricequant/rqalpha/settlement_method | LDU_FT | [
"<BEGIN>\n## `buy_open`",
"买入开仓。",
" :param id_or_ins: 下单标的物\n :type id_or_ins: :class:`~Instrument` object | `str` | List[:class:`~Instrument`] | List[`str`]",
" :param int amount: 下单手数",
" :param float price: 下单价格,默认为None,表示 :class:`~MarketOrder`, 此参数主要用于简化 `style` 参数。",
" :param style: 下... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the settlement_method 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 settlement_method 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... | [str] 交割方式,’CashSettlementRequired’ - 现金交割, ‘PhysicalSettlementRequired’ - 实物交割(期货专用) | "[str] 交割方式,’CashSettlementRequired’ - 现金交割, ‘PhysicalSettlementRequired’ - 实物交割(期货专用)" | 254 | false | ricequant/rqalpha | settlement_method | 22,685 | |
LDU_FT/diffeo/yakonfig/add_arguments | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a sub-object of this factory.",
" Instantiates the `configurable` object with the current saved\n :attr:`config`. This essentially translates to\n ``configurable(**config)``, except services defined in the\n parent and requested by `configurable` (by ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_arguments 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 add_arguments 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... | Add generic command-line arguments to a top-level argparse parser.
After running this, the results from ``argparse.parse_args()``
can be passed to :meth:`main`. | "Add generic command-line arguments to a top-level argparse parser.\n\n After running this, the results from ``argparse.parse_args()``\n can be passed to :meth:`main`." | 114 | false | diffeo/yakonfig | add_arguments | 22,686 | |
LDU_FT/codenerix/django-codenerix-invoicing/create_invoice_from_ticket | LDU_FT | [
"<BEGIN>\n## `buy_product`",
"determina si el customer ha comprado un producto\n<END>",
"<BEGIN>\n## `find`",
"Get a valid CashDiary for today from the given POS, it will return:\n - None: if no CashDiary is available today and older one was already closed\n - New CashDiary: if no CashDi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_invoice_from_ticket 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 create_invoice_from_ticket API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | la pk y list_lines son de ticket, necesitamos la info de las lineas de pedidos | "la pk y list_lines son de ticket, necesitamos la info de las lineas de pedidos" | 38 | false | codenerix/django-codenerix-invoicing | create_invoice_from_ticket | 22,687 | |
LDU_FT/kislyuk/ensure/or_call | LDU_FT | [
"<BEGIN>\n## `ensure_annotations`",
"Decorator to be used on functions with annotations. Runs type checks to enforce annotations. Raises\n :class:`EnsureError` if any argument passed to *f* is not of the type specified by the annotation. Also raises\n :class:`EnsureError` if the return value of *f* is not o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the or_call 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 or_call 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... | Calls **_callable** with supplied args and kwargs if a predicate fails. | "Calls **_callable** with supplied args and kwargs if a predicate fails." | 81 | false | kislyuk/ensure | or_call | 22,688 | |
LDU_FT/pantsbuild/pants/matches | LDU_FT | [
"<BEGIN>\n## `load_file_contents`",
"Loads config from the given string payloads.",
" A handful of seed values will be set to act as if specified in the loaded config file's DEFAULT\n section, and be available for use in substitutions. The caller may override some of these\n seed values.",
" :par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the matches 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 matches 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... | Whether the pattern matches anywhere in the string s. | "Whether the pattern matches anywhere in the string s." | 3,372 | true | pantsbuild/pants | matches | 22,689 | |
LDU_FT/emencia/emencia-django-forum/has_moderator_permissions | LDU_FT | [
"<BEGIN>\n## `get_first_post`",
"Retourne le premier post en date, celui créé lors de la création du fil\n<END>",
"<BEGIN>\n## `save`",
"Fill 'created' and 'modified' attributes on first create\n<END>",
"<BEGIN>\n## `get_paginated_urlargs`",
"Return url arguments to retrieve the Post in a paginated list\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_moderator_permissions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_moderator_permissions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Find if user have global or per object permission firstly on category instance,
if not then on thread instance | "Find if user have global or per object permission firstly on category instance, \n if not then on thread instance" | 23 | false | emencia/emencia-django-forum | has_moderator_permissions | 22,690 | |
LDU_FT/tomer8007/kik-bot-api-unofficial/_send_xmpp_element | LDU_FT | [
"<BEGIN>\n## `_connect`",
"Runs the kik connection thread, which creates an encrypted (SSL based) TCP connection\n to the kik servers.\n<END>",
"<BEGIN>\n## `_on_connection_made`",
"Gets called when the TCP connection to kik's servers is done and we are connected.\n Now we might initiate a login... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_xmpp_element API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_xmpp_element API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Serializes and sends the given XMPP element to kik servers
:param xmpp_element: The XMPP element to send
:return: The UUID of the element that was sent | "Serializes and sends the given XMPP element to kik servers\n\n :param xmpp_element: The XMPP element to send\n :return: The UUID of the element that was sent" | 96 | false | tomer8007/kik-bot-api-unofficial | _send_xmpp_element | 22,691 | |
LDU_FT/jkitzes/macroeco/_call_analysis_function | LDU_FT | [
"<BEGIN>\n## `get_theme_dir`",
"Returns path to directory containing this package's theme.",
" This is designed to be used when setting the ``html_theme_path``\n option within Sphinx's ``conf.py`` file.\n<END>",
"<BEGIN>\n## `_geom_solve_p_from_mu`",
"For the geom_uptrunc, given mu and b, return p.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _call_analysis_function 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 _call_analysis_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Call function from module and get result, using inputs from options
Parameters
----------
options : dict
Option names and values for analysis
module : str
Short name of module within macroeco containing analysis function
Returns
-------
dataframe, array, value, list of tupl... | "Call function from module and get result, using inputs from options\n\n Parameters\n ----------\n options : dict\n Option names and values for analysis\n module : str\n Short name of module within macroeco containing analysis function\n\n Returns\n -------\n dataframe, array, value, ... | 337 | false | jkitzes/macroeco | _call_analysis_function | 22,692 | |
LDU_FT/pymc-devs/pymc/fit | LDU_FT | [
"<BEGIN>\n## `moral_graph`",
"moral_graph(model,format='raw', prog='dot', path=None)",
" Draws the moral graph for this model and writes it to path with filename name.\n Returns the pydot 'dot' object for further user manipulation.",
" GraphViz and PyDot must be installed to use this function.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit 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 fit 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... | N.fit(method='fmin_powell', iterlim=1000, tol=.001):
Causes the normal approximation object to fit itself.
method: May be one of the following, from the scipy.optimize package:
-fmin_l_bfgs_b
-fmin_ncg
-fmin_cg
-fmin_powell
-fmin
no_... | "N.fit(method='fmin_powell', iterlim=1000, tol=.001):\n\n Causes the normal approximation object to fit itself.\n\n method: May be one of the following, from the scipy.optimize package:\n -fmin_l_bfgs_b\n -fmin_ncg\n -fmin_cg\n -fmin_powell\n -fmin\n\... | 1,025 | true | pymc-devs/pymc | fit | 22,693 | |
LDU_FT/pypa/setuptools/require_metadata | LDU_FT | [
"<BEGIN>\n## `indentedBlock`",
"Helper method for defining space-delimited indentation blocks, such as\r\n those used to define block statements in Python source code.\r",
" Parameters:\r\n - blockStatementExpr - expression defining syntax of statement that\r\n is repeated within the indent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_metadata 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 require_metadata 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 ... | Prevent improper installs without necessary metadata. See #659 | "Prevent improper installs without necessary metadata. See #659" | 565 | false | pypa/setuptools | require_metadata | 22,694 | |
LDU_FT/pypa/setuptools_scm/get_version | LDU_FT | [
"<BEGIN>\n## `get_version`",
"If supplied, relative_to should be a file from which root may\n be resolved. Typically called by a script or module that is not\n in the root of the repository to direct setuptools_scm to the\n root of the repository by supplying ``__file__``.\n<END>",
"<BEGIN>\n## `_alway... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version 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_version 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... | If supplied, relative_to should be a file from which root may
be resolved. Typically called by a script or module that is not
in the root of the repository to direct setuptools_scm to the
root of the repository by supplying ``__file__``. | "If supplied, relative_to should be a file from which root may\n be resolved. Typically called by a script or module that is not\n in the root of the repository to direct setuptools_scm to the\n root of the repository by supplying ``__file__``." | 17 | false | pypa/setuptools_scm | get_version | 22,695 | |
LDU_FT/Lucretiel/autocommand/_get_type_description | LDU_FT | [
"<BEGIN>\n## `_launch_forever_coro`",
"This helper function launches an async main function that was tagged with\n forever=True. There are two possibilities:",
" - The function is a normal function, which handles initializing the event\n loop, which is then run forever\n - The function is a corout... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_type_description 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_type_description API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Given an annotation, return the (type, description) for the parameter.
If you provide an annotation that is somehow both a string and a callable,
the behavior is undefined. | "Given an annotation, return the (type, description) for the parameter.\n If you provide an annotation that is somehow both a string and a callable,\n the behavior is undefined." | 39 | false | Lucretiel/autocommand | _get_type_description | 22,696 | |
LDU_FT/jasonkeene/python-ubersmith/validate | LDU_FT | [
"<BEGIN>\n## `init`",
"Initialize ubersmith API module with HTTP request handler.\n<END>",
"<BEGIN>\n## `process_request`",
"Process request over HTTP to ubersmith instance.",
" method: Ubersmith API method string\n data: dict of method arguments\n<END>",
"<BEGIN>\n## `append_qs`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate 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 validate 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... | Validate request data before sending it out. Return True/False. | "Validate request data before sending it out. Return True/False." | 25 | false | jasonkeene/python-ubersmith | validate | 22,697 | |
LDU_FT/polysquare/polysquare-generic-file-linter/_create_technical_words_dictionary | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a Dictionary at spellchecker_cache_path with technical words.\n<END>",
"<BEGIN>\n## `_comment_type_from_line`",
"Return the \"comment header\" (' * ', '# ', 'rem ', '// ', '/* ').",
" This header goes before the content of a start of the\n line in a replacement.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_technical_words_dictionary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_technical_words_dictionary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | Create Dictionary at spellchecker_cache_path with technical words. | "Create Dictionary at spellchecker_cache_path with technical words." | 143 | false | polysquare/polysquare-generic-file-linter | _create_technical_words_dictionary | 22,698 | |
LDU_FT/evetrivia/thanatos/format_question | LDU_FT | [
"<BEGIN>\n## `get_all_regions`",
"Gets a list of all regions.",
" :return: A list of all regions. Results have regionID and regionName.\n :rtype: list\n<END>",
"<BEGIN>\n## `get_all_not_wh_regions`",
"Gets a list of all regions that are not WH regions.",
" :return: A list of all regions not inclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_question 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 format_question 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... | Takes a set of values and converts it to the standard format
expected as a return from self.ask().
:param correct_answer: A tuple of the answer key and text to be shown.
:type correct_answer: tuple
:param possible_wrong_answers: A list of tuples, each tuple being being
(id, dis... | "Takes a set of values and converts it to the standard format\n expected as a return from self.ask().\n\n :param correct_answer: A tuple of the answer key and text to be shown.\n :type correct_answer: tuple\n\n :param possible_wrong_answers: A list of tuples, each tuple being being\n ... | 35 | false | evetrivia/thanatos | format_question | 22,699 | |
LDU_FT/saeschdivara/ArangoPy/create | LDU_FT | [
"<BEGIN>\n## `all`",
"Returns all documents of the collection",
" :param collection Collection instance\n :param skip The number of documents to skip in the query\n :param limit The maximal amount of documents to return. The skip is applied before the limit restriction.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create 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 create 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 ... | Creates document object without really creating it in the collection.
:param collection Collection instance
:returns Document | "Creates document object without really creating it in the collection.\n\n :param collection Collection instance\n\n :returns Document" | 115 | false | saeschdivara/ArangoPy | create | 22,700 | |
LDU_FT/rhayes777/PyAutoFit/create_paramnames_file | LDU_FT | [
"<BEGIN>\n## `residual_map_from_data_mask_and_model_data`",
"Compute the residual map between a masked observed data and model data, where:",
" Residuals = (Data - Model_Data).",
" Parameters\n -----------\n data : np.ndarray\n The observed data that is fitted.\n mask : np.ndarray\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_paramnames_file 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_paramnames_file 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 param_names file lists every parameter's analysis_path and Latex tag, and is used for *GetDist*
visualization.
The parameter names are determined from the class instance names of the model_mapper. Latex tags are
properties of each model class. | "The param_names file lists every parameter's analysis_path and Latex tag, and is used for *GetDist*\n visualization.\n\n The parameter names are determined from the class instance names of the model_mapper. Latex tags are\n properties of each model class." | 243 | false | rhayes777/PyAutoFit | create_paramnames_file | 22,701 | |
LDU_FT/cltk/cltk/to_syllables_with_trailing_spaces | LDU_FT | [
"<BEGIN>\n## `transcribe`",
"Accepts a word and returns a string of an approximate pronounciation (IPA)\n<END>",
"<BEGIN>\n## `syllabify`",
"Syllabifier module for Middle High German",
" The algorithm works by applying the MOP(Maximal Onset Principle)\n on open syllables. For closed syllables,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_syllables_with_trailing_spaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_syllables_with_trailing_spaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Given a line of syllables and spaces, and a list of syllables, produce a list of the
syllables with trailing spaces attached as approriate.
:param line:
:param syllables:
:return:
>>> to_syllables_with_trailing_spaces(' arma virumque cano ',
... ['ar', 'ma', 'vi', 'rum', 'que', 'ca', 'no' ])
... | "Given a line of syllables and spaces, and a list of syllables, produce a list of the\n syllables with trailing spaces attached as approriate.\n\n :param line:\n :param syllables:\n :return:\n\n >>> to_syllables_with_trailing_spaces(' arma virumque cano ',\n ... ['ar', 'ma', 'vi', 'rum', 'que', 'ca', ... | 1,301 | true | cltk/cltk | to_syllables_with_trailing_spaces | 22,702 | |
LDU_FT/Azure/azure-uamqp-python/receive_messages_iter | LDU_FT | [
"<BEGIN>\n## `_close_received`",
"Callback called when a connection CLOSE frame is received.\n This callback will process the received CLOSE error to determine if\n the connection is recoverable or whether it should be shutdown.\n :param error: The error information from the close\n f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive_messages_iter 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 receive_messages_iter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Receive messages by generator. Messages returned in the generator have already been
accepted - if you wish to add logic to accept or reject messages based on custom
criteria, pass in a callback.
:param on_message_received: A callback to process messages as they arrive from the
service.... | "Receive messages by generator. Messages returned in the generator have already been\n accepted - if you wish to add logic to accept or reject messages based on custom\n criteria, pass in a callback.\n\n :param on_message_received: A callback to process messages as they arrive from the\n se... | 299 | false | Azure/azure-uamqp-python | receive_messages_iter | 22,703 | |
LDU_FT/ratt-ru/PyMORESANE/moresane | LDU_FT | [
"<BEGIN>\n## `iuwt_decomposition`",
"This function serves as a handler for the different implementations of the IUWT decomposition. It allows the\n different methods to be used almost interchangeably.",
" INPUTS:\n in1 (no default): Array on which the decomposition is to be perfor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the moresane 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 moresane 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... | Primary method for wavelet analysis and subsequent deconvolution.
INPUTS:
subregion (default=None): Size, in pixels, of the central region to be analyzed and deconvolved.
scale_count (default=None): Maximum scale to be considered - maximum scale considered during
... | "Primary method for wavelet analysis and subsequent deconvolution.\n\n INPUTS:\n subregion (default=None): Size, in pixels, of the central region to be analyzed and deconvolved.\n scale_count (default=None): Maximum scale to be considered - maximum scale considered during\... | 125 | false | ratt-ru/PyMORESANE | moresane | 22,704 | |
LDU_FT/thisfred/val/_build_type_validator | LDU_FT | [
"<BEGIN>\n## `_build_type_validator`",
"Build a validator that only checks the type of a value.\n<END>",
"<BEGIN>\n## `_build_static_validator`",
"Build a validator that checks if the data is equal to an exact value.\n<END>",
"<BEGIN>\n## `_build_callable_validator`",
"Build a validator that checks the re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_type_validator 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_type_validator 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 validator that only checks the type of a value. | "Build a validator that only checks the type of a value." | 28 | false | thisfred/val | _build_type_validator | 22,705 | |
LDU_FT/toomore/grs/__serial_price | LDU_FT | [
"<BEGIN>\n## `real`",
"Real time data",
" :rtype: dict\n :returns:",
" :name: 股票名稱 Unicode\n :no: 股票代碼\n :range: 漲跌價\n :ranges: 漲跌判斷 True, False\n :time: 取得時間\n :max: 漲停價\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __serial_price 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 __serial_price 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... | 取出某一價格序列 *(舊→新)*
預設序列收盤價 *(self.__serial_price(6))*
:rtype: list
:returns: 預設序列收盤價 *(self.__serial_price(6))* | "取出某一價格序列 *(舊→新)*\n\n 預設序列收盤價 *(self.__serial_price(6))*\n\n :rtype: list\n :returns: 預設序列收盤價 *(self.__serial_price(6))*" | 88 | false | toomore/grs | __serial_price | 22,706 | |
LDU_FT/SpikeInterface/spikeextractors/remove_epoch | LDU_FT | [
"<BEGIN>\n## `write_recording`",
"Save recording extractor to MEArec format.\n Parameters\n ----------\n recording: RecordingExtractor\n Recording extractor object to be saved\n save_path: str\n .h5 or .hdf5 path\n<END>",
"<BEGIN>\n## `write_sorting`",
"Save s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_epoch 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 remove_epoch 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... | This function removes an epoch from your recording extractor.
Parameters
----------
epoch_name: str
The name of the epoch to be removed | "This function removes an epoch from your recording extractor.\n\n Parameters\n ----------\n epoch_name: str\n The name of the epoch to be removed" | 115 | false | SpikeInterface/spikeextractors | remove_epoch | 22,707 | |
LDU_FT/manahl/arctic/utc_dt_to_local_dt | 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 utc_dt_to_local_dt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the utc_dt_to_local_dt API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Convert a UTC datetime to datetime in local timezone | "Convert a UTC datetime to datetime in local timezone" | 429 | false | manahl/arctic | utc_dt_to_local_dt | 22,708 | |
LDU_FT/avalente/appmetrics/_lookup | LDU_FT | [
"<BEGIN>\n## `notify`",
"Increment or decrement the value, according to the given value's sign",
" The value should be an integer, an attempt to cast it to integer will be made\n<END>",
"<BEGIN>\n## `new_metric`",
"Create a new metric of the given class.",
" Raise DuplicateMetricError if the giv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _lookup 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 _lookup 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 value associated with "timestamp" if any, else
None. Since the timestamps are floating-point values, they are
considered equal if their absolute difference is smaller than
self.EPSILON | "Return the index of the value associated with \"timestamp\" if any, else\n None. Since the timestamps are floating-point values, they are\n considered equal if their absolute difference is smaller than\n self.EPSILON" | 120 | false | avalente/appmetrics | _lookup | 22,709 | |
LDU_FT/dossier/dossier.models/html_to_fc | LDU_FT | [
"<BEGIN>\n## `run`",
"Generate the report to the given output.",
" :param output: writable file-like object or file path\n<END>",
"<BEGIN>\n## `_generate_report_all`",
"Generate report for all subfolders contained by self.folder_id.\n<END>",
"<BEGIN>\n## `_generate_report_single`",
"Generate repo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the html_to_fc 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 html_to_fc 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... | `html` is expected to be a raw string received over the wire from a
remote webserver, and `encoding`, if provided, is used to decode
it. Typically, encoding comes from the Content-Type header field.
The :func:`~streamcorpus_pipeline._clean_html.make_clean_html`
function handles character encodings. | "`html` is expected to be a raw string received over the wire from a\n remote webserver, and `encoding`, if provided, is used to decode\n it. Typically, encoding comes from the Content-Type header field.\n The :func:`~streamcorpus_pipeline._clean_html.make_clean_html`\n function handles character encodings... | 217 | false | dossier/dossier.models | html_to_fc | 22,710 | |
LDU_FT/twisted/mantissa/editContactItem | LDU_FT | [
"<BEGIN>\n## `createUser`",
"Create a new, blank user account with the given name and domain and, if\n specified, with the given password.",
" @type localpart: C{unicode}\n @param localpart: The local portion of the username. ie, the\n C{'alice'} in C{'alice@example.com'}.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the editContactItem 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 editContactItem 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... | Change the I{number} attribute of C{contact} to C{number}, and the
I{label} attribute to C{label}.
@type contact: L{PhoneNumber}
@type label: C{unicode}
@type number: C{unicode}
@return: C{None} | "Change the I{number} attribute of C{contact} to C{number}, and the\n I{label} attribute to C{label}.\n\n @type contact: L{PhoneNumber}\n\n @type label: C{unicode}\n\n @type number: C{unicode}\n\n @return: C{None}" | 1,120 | true | twisted/mantissa | editContactItem | 22,711 | |
LDU_FT/PureStorage-OpenConnect/rest-client/list_certificates | LDU_FT | [
"<BEGIN>\n## `_check_rest_version`",
"Validate a REST API version is supported by the library and target array.\n<END>",
"<BEGIN>\n## `_choose_rest_version`",
"Return the newest REST API version supported by target array.\n<END>",
"<BEGIN>\n## `_list_available_rest_versions`",
"Return a list of the REST A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_certificates 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 list_certificates 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 the attributes of the current array certificate.
:param \*\*kwargs: See the REST API Guide on your array for the
documentation on the request:
**GET cert**
:type \*\*kwargs: optional
:returns: A list of dictionaries describing all confi... | "Get the attributes of the current array certificate.\n\n :param \\*\\*kwargs: See the REST API Guide on your array for the\n documentation on the request:\n **GET cert**\n :type \\*\\*kwargs: optional\n\n :returns: A list of dictionaries describi... | 166 | false | PureStorage-OpenConnect/rest-client | list_certificates | 22,712 | |
LDU_FT/mgbarrero/xbob.db.atvskeystroke/protocol | LDU_FT | [
"<BEGIN>\n## `dumplist`",
"Dumps lists of files based on your criteria\n<END>",
"<BEGIN>\n## `checkfiles`",
"Checks existence of files based on your criteria\n<END>",
"<BEGIN>\n## `reverse`",
"Returns a list of file database identifiers given the path stems\n<END>",
"<BEGIN>\n## `path`",
"Returns a li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the protocol 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 protocol 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 the protocol object in the database given a certain name. Raises
an error if that does not exist. | "Returns the protocol object in the database given a certain name. Raises\n an error if that does not exist." | 45 | false | mgbarrero/xbob.db.atvskeystroke | protocol | 22,713 | |
LDU_FT/niemasd/TreeSwift/read_tree | LDU_FT | [
"<BEGIN>\n## `plot_ltt`",
"Plot the Lineages Through Time (LTT) curve of a given tree",
" Args:\n ``lineages`` (``dict``): The ``lineages`` dictionary returned by a ``Tree`` object's ``lineages_through_time()`` function call",
" ``show_plot`` (``bool``): ``True`` to show the plot, otherwise `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 extract... | Read a tree from a string or file
Args:
``input`` (``str``): Either a tree string, a path to a tree file (plain-text or gzipped), or a DendroPy Tree object
``schema`` (``str``): The schema of ``input`` (DendroPy, Newick, NeXML, or Nexus)
Returns:
* If the input is Newick, either a ``T... | "Read a tree from a string or file\n\n Args:\n ``input`` (``str``): Either a tree string, a path to a tree file (plain-text or gzipped), or a DendroPy Tree object\n\n ``schema`` (``str``): The schema of ``input`` (DendroPy, Newick, NeXML, or Nexus)\n\n Returns:\n * If the input is Newick, eit... | 280 | false | niemasd/TreeSwift | read_tree | 22,714 | |
LDU_FT/alfredodeza/notario/sift | LDU_FT | [
"<BEGIN>\n## `create_store`",
"A helper for setting the _proxy and slapping the store\n object for us.",
" :return: A thread-local storage as a dictionary\n<END>",
"<BEGIN>\n## `string`",
"Validates a given input is of type string.",
" Example usage::",
" data = {'a' : 21}\n schem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sift 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 sift 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... | Receive a ``data`` object that will be in the form
of a normalized structure (e.g. ``{0: {'a': 0}}``) and
filter out keys that match the ``required_items``. | "Receive a ``data`` object that will be in the form\n of a normalized structure (e.g. ``{0: {'a': 0}}``) and\n filter out keys that match the ``required_items``." | 86 | false | alfredodeza/notario | sift | 22,715 | |
LDU_FT/weijia/djangoautoconf/create_channels_for_related_fields_in_model | LDU_FT | [
"<BEGIN>\n## `load_template_source`",
"Template loader that loads templates from a ZIP file.\n<END>",
"<BEGIN>\n## `set_settings_env`",
"Add all application folders\n :param executable_folder: the folder that contains local and external_app_repos\n :return:\n<END>",
"<BEGIN>\n## `all_valid`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_channels_for_related_fields_in_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_channels_for_related_fields_in_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi... | Create channel for the fields of the model, the channel name can be got by calling get_ajax_config_for_relation_fields
:param model_class:
:return: | "Create channel for the fields of the model, the channel name can be got by calling get_ajax_config_for_relation_fields\n :param model_class:\n :return:" | 32 | false | weijia/djangoautoconf | create_channels_for_related_fields_in_model | 22,716 | |
LDU_FT/seatgeek/fuzzywuzzy/make_type_consistent | LDU_FT | [
"<BEGIN>\n## `extractWithoutOrder`",
"Select the best match in a list or dictionary of choices.",
" Find best matches in a list or dictionary of choices, return a\n generator of tuples containing the match and its score. If a dictionary\n is used, also returns the key for each match.",
" Arguments... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_type_consistent 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 make_type_consistent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | If both objects aren't either both string or unicode instances force them to unicode | "If both objects aren't either both string or unicode instances force them to unicode" | 76 | false | seatgeek/fuzzywuzzy | make_type_consistent | 22,717 | |
LDU_FT/mitodl/PyLmod/get_assignment_by_name | LDU_FT | [
"<BEGIN>\n## `unravel_sections`",
"Unravels section type dictionary into flat list of sections with\n section type set as an attribute.",
" Args:\n section_data(dict): Data return from py:method::get_sections",
" Returns:\n list: Flat list of sections with ``sectionT... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_assignment_by_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_assignment_by_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.... | Get assignment by name.
Get an assignment by name. It works by retrieving all assignments
and returning the first assignment with a matching name. If the
optional parameter ``assignments`` is provided, it uses this
collection rather than retrieving all assignments from the service.
... | "Get assignment by name.\n\n Get an assignment by name. It works by retrieving all assignments\n and returning the first assignment with a matching name. If the\n optional parameter ``assignments`` is provided, it uses this\n collection rather than retrieving all assignments from the service... | 190 | false | mitodl/PyLmod | get_assignment_by_name | 22,718 | |
LDU_FT/googlefonts/glyphsLib/parse_into_object | LDU_FT | [
"<BEGIN>\n## `to_ufo_font_attributes`",
"Generate a list of UFOs with metadata loaded from .glyphs data.",
" Modifies the list of UFOs in the UFOBuilder (self) in-place.\n<END>",
"<BEGIN>\n## `to_glyphs_font_attributes`",
"Copy font attributes from `ufo` either to `self.font` or to `master`.",
" Arg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_into_object 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 parse_into_object 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... | Parse data into an existing GSFont instance. | "Parse data into an existing GSFont instance." | 235 | false | googlefonts/glyphsLib | parse_into_object | 22,719 | |
LDU_FT/common-workflow-language/cwltool/var_spool_cwl_detector | LDU_FT | [
"<BEGIN>\n## `add_volumes`",
"Append volume mappings to the runtime option list.\n<END>",
"<BEGIN>\n## `docker_monitor`",
"Record memory usage of the running Docker container.\n<END>",
"<BEGIN>\n## `adjustFiles`",
"Apply a mapping function to each File path in the object `rec`.\n<END>",
"<BEGIN>\n## `ch... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the var_spool_cwl_detector 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 var_spool_cwl_detector API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Detects any textual reference to /var/spool/cwl. | "Detects any textual reference to /var/spool/cwl." | 161 | false | common-workflow-language/cwltool | var_spool_cwl_detector | 22,720 | |
LDU_FT/dstufft/storages/get_valid_filename | LDU_FT | [
"<BEGIN>\n## `get_valid_filename`",
"Returns the given string converted to a string that can be used for a clean\n filename. Specifically, leading and trailing spaces are removed; other\n spaces are converted to underscores; and anything that is not a unicode\n alphanumeric, dash, underscore, or dot, is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_valid_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_valid_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns the given string converted to a string that can be used for a clean
filename. Specifically, leading and trailing spaces are removed; other
spaces are converted to underscores; and anything that is not a unicode
alphanumeric, dash, underscore, or dot, is removed.
>>> get_valid_filename("john's po... | "Returns the given string converted to a string that can be used for a clean\n filename. Specifically, leading and trailing spaces are removed; other\n spaces are converted to underscores; and anything that is not a unicode\n alphanumeric, dash, underscore, or dot, is removed.\n >>> get_valid_filename(\"joh... | 16 | false | dstufft/storages | get_valid_filename | 22,721 | |
LDU_FT/brocade/pynos/hwvtep_activate_hwvtep | LDU_FT | [
"<BEGIN>\n## `local_asn`",
"Set BGP local ASN.",
" Args:\n local_as (str): Local ASN of NOS deice.\n rbridge_id (str): The rbridge ID of the device on which BGP will be\n configured in a VCS fabric.\n get (bool): Get config instead of editing config. (True,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hwvtep_activate_hwvtep 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 hwvtep_activate_hwvtep API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Activate the hwvtep
Args:
name (str): overlay_gateway name
callback (function): A function executed upon completion of the
method.
Returns:
Return value of `callback`.
Raises:
None | "Activate the hwvtep\n\n Args:\n name (str): overlay_gateway name\n callback (function): A function executed upon completion of the\n method.\n\n Returns:\n Return value of `callback`.\n\n Raises:\n None" | 711 | false | brocade/pynos | hwvtep_activate_hwvtep | 22,722 | |
LDU_FT/kamikaze/webdav/upload_directory | LDU_FT | [
"<BEGIN>\n## `listdir`",
"Returns list of nested files and directories for local directory by path",
" :param directory: absolute or relative path to local directory\n :return: list nested of file or directory names\n<END>",
"<BEGIN>\n## `get_options`",
"Extract options for specified option type from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_directory 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 upload_directory 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 ... | Uploads directory to remote path on WebDAV server.
In case directory is exist on remote server it will delete it and then upload directory with nested files and
directories.
:param remote_path: the path to directory for uploading on WebDAV server.
:param local_path: the path to local di... | "Uploads directory to remote path on WebDAV server.\n In case directory is exist on remote server it will delete it and then upload directory with nested files and\n directories.\n\n :param remote_path: the path to directory for uploading on WebDAV server.\n :param local_path: the path to lo... | 120 | false | kamikaze/webdav | upload_directory | 22,723 | |
LDU_FT/assamite/creamas/add_to_grid | 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 add_to_grid 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 add_to_grid 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... | Add agent to the next available spot in the grid.
:returns:
(x,y) of the agent in the grid. This is the agent's overall
coordinate in the grand grid (i.e. the actual coordinate of the
agent w.t.r **origin**).
:raises: `ValueError` if the grid is full. | "Add agent to the next available spot in the grid.\n\n :returns:\n (x,y) of the agent in the grid. This is the agent's overall\n coordinate in the grand grid (i.e. the actual coordinate of the\n agent w.t.r **origin**).\n\n :raises: `ValueError` if the grid is full." | 529 | false | assamite/creamas | add_to_grid | 22,724 | |
LDU_FT/50onRed/smr/wait_for_instance | LDU_FT | [
"<BEGIN>\n## `get_s3_uri`",
"populates file_names list with urls that matched the regex match object\n returns the total filesize of all the files matched\n<END>",
"<BEGIN>\n## `get_local_uri`",
"populates file_names list with urls that matched the regex match object\n returns the total filesize of all ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_instance 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 wait_for_instance 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... | wait for instance status to be 'running' in which case return True, False otherwise | "wait for instance status to be 'running' in which case return True, False otherwise" | 12 | false | 50onRed/smr | wait_for_instance | 22,725 | |
LDU_FT/l04m33/pyx/parse_http_header | LDU_FT | [
"<BEGIN>\n## `parse_http_header`",
"Parse an HTTP header from a string, and return an ``HttpHeader``.",
" ``header_line`` should only contain one line.\n ``BadHttpHeaderError`` is raised if the string is an invalid header line.\n<END>",
"<BEGIN>\n## `methods`",
"A decorator to mark HTTP methods a reso... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_http_header 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 parse_http_header 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... | Parse an HTTP header from a string, and return an ``HttpHeader``.
``header_line`` should only contain one line.
``BadHttpHeaderError`` is raised if the string is an invalid header line. | "Parse an HTTP header from a string, and return an ``HttpHeader``.\n\n ``header_line`` should only contain one line.\n ``BadHttpHeaderError`` is raised if the string is an invalid header line." | 31 | false | l04m33/pyx | parse_http_header | 22,726 | |
LDU_FT/Yelp/kafka-utils/rebalance_brokers | LDU_FT | [
"<BEGIN>\n## `get_assignment`",
"Parse the given json plan in dict format.\n<END>",
"<BEGIN>\n## `_send_consumer_aware_request`",
"Send a list of requests to the consumer coordinator for the group\n specified using the supplied encode/decode functions. As the payloads\n that use consumer-aware r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rebalance_brokers 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 rebalance_brokers 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... | Rebalance partition-count across brokers. | "Rebalance partition-count across brokers." | 538 | false | Yelp/kafka-utils | rebalance_brokers | 22,727 | |
LDU_FT/alefnula/tea/split | LDU_FT | [
"<BEGIN>\n## `smart_text`",
"Return a unicode object representing 's'.\r",
" Treats bytes using the 'encoding' codec.\r",
" If strings_only is True, don't convert (some) non-string-like objects.\n<END>",
"<BEGIN>\n## `smart_bytes`",
"Return a bytes version of 's' encoded as specified in 'encoding'.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split 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 split 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... | Split the string s using shell-like syntax.
Args:
s (str): String to split
posix (bool): Use posix split
Returns:
list of str: List of string parts | "Split the string s using shell-like syntax.\n\n Args:\n s (str): String to split\n posix (bool): Use posix split\n\n Returns:\n list of str: List of string parts" | 240 | false | alefnula/tea | split | 22,728 | |
LDU_FT/simonw/datasette/convert_unit | LDU_FT | [
"<BEGIN>\n## `fail_if_publish_binary_not_installed`",
"Exit (with error message) if ``binary` isn't installed\n<END>",
"<BEGIN>\n## `path_from_row_pks`",
"Generate an optionally URL-quoted unique identifier\n for a row from its primary keys.\n<END>",
"<BEGIN>\n## `detect_fts`",
"Detect if table has... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_unit 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 convert_unit 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... | If the user has provided a unit in the query, convert it into the column unit, if present. | "If the user has provided a unit in the query, convert it into the column unit, if present." | 36 | false | simonw/datasette | convert_unit | 22,729 | |
LDU_FT/moonso/vcftoolbox/add_contig | LDU_FT | [
"<BEGIN>\n## `get_vcf_header`",
"Get the header lines of a vcf file",
" Args:\n source(iterable): A vcf file",
" Returns:\n head (HeaderParser): A headerparser object\n<END>",
"<BEGIN>\n## `get_variant_dict`",
"Parse a variant line",
" Split a variant line and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_contig 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 add_contig 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... | Add a contig line to the header.
Arguments:
contig_id (str): The id of the alternative line
length (str): A description of the info line | "Add a contig line to the header.\n\n Arguments:\n contig_id (str): The id of the alternative line\n length (str): A description of the info line" | 81 | false | moonso/vcftoolbox | add_contig | 22,730 | |
LDU_FT/ForensicArtifacts/artifacts/RegisterSourceType | LDU_FT | [
"<BEGIN>\n## `_PrintDictAsTable`",
"Prints a table of artifact definitions.",
" Args:\n src_dict (dict[str, ArtifactDefinition]): artifact definitions by name.\n<END>",
"<BEGIN>\n## `PrintStats`",
"Build stats and print in MarkDown format.\n<END>",
"<BEGIN>\n## `AsDict`",
"Represents a source ty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RegisterSourceType API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RegisterSourceType API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Registers a source type.
Source types are identified based on their type indicator.
Args:
source_type_class (type): source type.
Raises:
KeyError: if source types is already set for the corresponding
type indicator. | "Registers a source type.\n\n Source types are identified based on their type indicator.\n\n Args:\n source_type_class (type): source type.\n\n Raises:\n KeyError: if source types is already set for the corresponding\n type indicator." | 160 | false | ForensicArtifacts/artifacts | RegisterSourceType | 22,731 | |
LDU_FT/robotools/extractor/_mergeClasses | LDU_FT | [
"<BEGIN>\n## `_makeScriptOrder`",
"Run therough GPOS and make an alphabetically\n ordered list of scripts. If DFLT is in the list,\n move it to the front.\n<END>",
"<BEGIN>\n## `_gatherDataFromLookups`",
"Gather kerning and classes from the applicable lookups\n and return them in script order.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _mergeClasses 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 _mergeClasses 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... | Look for classes that have the exact same list
of members and flag them for removal.
This returns left classes, left rename map,
right classes and right rename map.
The classes have the standard class structure.
The rename maps have this structure:
{
(1, 1, 3) : (2, 3, 4),
... | "Look for classes that have the exact same list\n of members and flag them for removal.\n This returns left classes, left rename map,\n right classes and right rename map.\n The classes have the standard class structure.\n The rename maps have this structure:\n {\n (1, 1, 3) : (2, 3, 4)... | 26 | false | robotools/extractor | _mergeClasses | 22,732 | |
LDU_FT/citruz/beacontools/run | LDU_FT | [
"<BEGIN>\n## `run`",
"Continously scan for BLE advertisements.\n<END>",
"<BEGIN>\n## `set_scan_parameters`",
"sets the le scan parameters",
" Args:\n scan_type: ScanType.(PASSIVE|ACTIVE)\n interval: ms (as float) between scans (valid range 2.5ms - 10240ms)\n ..not... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run 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 run 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... | Continously scan for BLE advertisements. | "Continously scan for BLE advertisements." | 29 | false | citruz/beacontools | run | 22,733 | |
LDU_FT/cirruscluster/cirruscluster/_enumeration_info | LDU_FT | [
"<BEGIN>\n## `fetch_file`",
"save a remote file to the specified path\n<END>",
"<BEGIN>\n## `_varFindLimitSpace`",
"limits the search space of space to part",
" basically does space.get(part, None), but with\n templating for part and a few more things\n<END>",
"<BEGIN>\n## `_varFind`",
"Searches f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _enumeration_info 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 _enumeration_info 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... | returns (pattern, limits) taking a regular pattern and finding out
which parts of it correspond to start/stop offsets. limits is
a tuple of (start, stop) or None | "returns (pattern, limits) taking a regular pattern and finding out\n which parts of it correspond to start/stop offsets. limits is\n a tuple of (start, stop) or None" | 225 | false | cirruscluster/cirruscluster | _enumeration_info | 22,734 | |
LDU_FT/inveniosoftware/invenio-pidstore/get_assigned_object | LDU_FT | [
"<BEGIN>\n## `recid_fetcher`",
"Fetch a record's identifiers.",
" :param record_uuid: The record UUID.\n :param data: The record metadata.\n :returns: A :data:`invenio_pidstore.fetchers.FetchedPID` instance.\n<END>",
"<BEGIN>\n## `get_object`",
"Get an object behind persistent identifier.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_assigned_object 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_assigned_object 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... | Return the current assigned object UUID.
:param object_type: If it's specified, returns only if the PID
object_type is the same, otherwise returns None. (default: None).
:returns: The object UUID. | "Return the current assigned object UUID.\n\n :param object_type: If it's specified, returns only if the PID\n object_type is the same, otherwise returns None. (default: None).\n :returns: The object UUID." | 118 | false | inveniosoftware/invenio-pidstore | get_assigned_object | 22,735 | |
LDU_FT/edx/edx-oauth2-provider/get | LDU_FT | [
"<BEGIN>\n## `_clean_required_args`",
"Validate and clean the command's arguments.",
" Arguments:\n url (str): Client's application URL.\n redirect_uri (str): Client application's OAuth2 callback URI.\n client_type (str): Client's type, indicating whether the Client appli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get 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 get 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... | Respond to a UserInfo request.
Two optional query parameters are accepted, scope and claims.
See the references above for more details. | "Respond to a UserInfo request.\n\n Two optional query parameters are accepted, scope and claims.\n See the references above for more details." | 56 | false | edx/edx-oauth2-provider | get | 22,736 | |
LDU_FT/dahlia/sqlalchemy-imageattach/locate | LDU_FT | [
"<BEGIN>\n## `readlines`",
"Reads until EOF using :meth:`readline()`.",
" :param sizehint: if it's present, instead of reading up to EOF,\n whole lines totalling approximately ``sizehint``\n bytes (or more to accommodate a final whole line)\n :type s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the locate 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 locate 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 ... | Gets the URL of the given ``image``.
:param image: the image to get its url
:type image: :class:`sqlalchemy_imageattach.entity.Image`
:returns: the url of the image
:rtype: :class:`str` | "Gets the URL of the given ``image``.\n\n :param image: the image to get its url\n :type image: :class:`sqlalchemy_imageattach.entity.Image`\n :returns: the url of the image\n :rtype: :class:`str`" | 145 | false | dahlia/sqlalchemy-imageattach | locate | 22,737 | |
LDU_FT/EntilZha/PyFunctional/accumulate_impl | LDU_FT | [
"<BEGIN>\n## `name`",
"Retrieve a pretty name for the function\n :param function: function to get name from\n :return: pretty name\n<END>",
"<BEGIN>\n## `map_t`",
"Transformation for Sequence.map\n :param func: map function\n :return: transformation\n<END>",
"<BEGIN>\n## `starmap_t`",
"Transfo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accumulate_impl 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 accumulate_impl 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... | Implementation for accumulate
:param sequence: sequence to accumulate
:param func: accumulate function | "Implementation for accumulate\n :param sequence: sequence to accumulate\n :param func: accumulate function" | 249 | false | EntilZha/PyFunctional | accumulate_impl | 22,738 | |
LDU_FT/ContextLab/hypertools/procrustes | LDU_FT | [
"<BEGIN>\n## `default_params`",
"Loads and updates default model parameters",
" Parameters\n ----------",
" model : str\n The name of a model",
" update_dict : dict\n A dict to update default parameters",
" Returns\n ----------",
" params : dict\n A dictionary o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the procrustes 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 procrustes 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... | Function to project from one space to another using Procrustean
transformation (shift + scaling + rotation + reflection).
The implementation of this function was based on the ProcrusteanMapper in
pyMVPA: https://github.com/PyMVPA/PyMVPA
See also: http://en.wikipedia.org/wiki/Procrustes_transformation
... | "Function to project from one space to another using Procrustean\n transformation (shift + scaling + rotation + reflection).\n\n The implementation of this function was based on the ProcrusteanMapper in\n pyMVPA: https://github.com/PyMVPA/PyMVPA\n\n See also: http://en.wikipedia.org/wiki/Procrustes_transfor... | 239 | false | ContextLab/hypertools | procrustes | 22,739 | |
LDU_FT/Neurosim-lab/netpyne/convConn | LDU_FT | [
"<BEGIN>\n## `add_scalebar`",
"Add scalebars to axes\n Adds a set of scale bars to *ax*, matching the size to the ticks of the plot\n and optionally hiding the x and y axes\n - ax : the axis to attach ticks to\n - matchx,matchy : if True, set size of scale bars to spacing between ticks\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convConn 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 convConn 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... | Generates connections between all pre and post-syn cells based on probability values | "Generates connections between all pre and post-syn cells based on probability values" | 234 | false | Neurosim-lab/netpyne | convConn | 22,740 | |
LDU_FT/thautwarm/Redy/sum_from | LDU_FT | [
"<BEGIN>\n## `map_by`",
"when pycharm supports type hinting for any implementation of currying,\n map_with and map_on would be deprecated.\n >>> from Redy.Collections import Traversal, Flow\n >>> def double(x: int) -> int: return x * 2\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sum_from 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 sum_from 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... | >>> from Redy.Collections import Traversal, Flow
>>> lst: Iterable[int] = [1, 2, 3]
>>> x = Flow(lst)[Traversal.sum_from(0)].unbox
>>> assert x is 6
>>> x = Flow(lst)[Traversal.sum_from()].unbox
>>> assert x is 6 | ">>> from Redy.Collections import Traversal, Flow\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traversal.sum_from(0)].unbox\n >>> assert x is 6\n\n >>> x = Flow(lst)[Traversal.sum_from()].unbox\n >>> assert x is 6" | 83 | false | thautwarm/Redy | sum_from | 22,741 | |
LDU_FT/PyMySQL/PyMySQL/convert_timedelta | LDU_FT | [
"<BEGIN>\n## `close`",
"Closing a cursor just exhausts all remaining data.\n<END>",
"<BEGIN>\n## `mogrify`",
"Returns the exact string that is sent to the database by calling the\n execute() method.",
" This method follows the extension to the DB API 2.0 followed by Psycopg.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_timedelta 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 convert_timedelta 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... | Returns a TIME column as a timedelta object:
>>> timedelta_or_None('25:06:17')
datetime.timedelta(1, 3977)
>>> timedelta_or_None('-25:06:17')
datetime.timedelta(-2, 83177)
Illegal values are returned as None:
>>> timedelta_or_None('random crap') is None
True
Note that MyS... | "Returns a TIME column as a timedelta object:\n\n >>> timedelta_or_None('25:06:17')\n datetime.timedelta(1, 3977)\n >>> timedelta_or_None('-25:06:17')\n datetime.timedelta(-2, 83177)\n\n Illegal values are returned as None:\n\n >>> timedelta_or_None('random crap') is None\n True\n\n ... | 88 | false | PyMySQL/PyMySQL | convert_timedelta | 22,742 | |
LDU_FT/base4sistemas/satcomum/as_cnpjcpf | LDU_FT | [
"<BEGIN>\n## `dados_qrcode`",
"Compila os dados que compõem o QRCode do CF-e-SAT, conforme a\n documentação técnica oficial **Guia para Geração do QRCode pelo Aplicativo\n Comercial**, a partir de uma instância de ``ElementTree`` que represente a\n árvore do XML do CF-e-SAT.",
" :param cfe: Instânci... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_cnpjcpf 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 as_cnpjcpf 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... | Formata um número de CNPJ ou CPF. Se o número não for um CNPJ ou CPF
válidos apenas retorna o argumento sem qualquer modificação. | "Formata um número de CNPJ ou CPF. Se o número não for um CNPJ ou CPF\n válidos apenas retorna o argumento sem qualquer modificação." | 61 | false | base4sistemas/satcomum | as_cnpjcpf | 22,743 | |
LDU_FT/blue-yonder/turbodbc/fetchone | LDU_FT | [
"<BEGIN>\n## `cursor`",
"Create a new ``Cursor`` instance associated with this ``Connection``",
" :return: A new ``Cursor`` instance\n<END>",
"<BEGIN>\n## `close`",
"Close the connection and all associated cursors. This will implicitly\n roll back any uncommitted operations.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchone 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 fetchone 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 single row of a result set. Requires an active result set on the database
generated with ``execute()`` or ``executemany()``.
:return: Returns ``None`` when no more rows are available in the result set | "Returns a single row of a result set. Requires an active result set on the database\n generated with ``execute()`` or ``executemany()``.\n\n :return: Returns ``None`` when no more rows are available in the result set" | 54 | false | blue-yonder/turbodbc | fetchone | 22,744 | |
LDU_FT/dpkp/kafka-python/refresh_committed_offsets_if_needed | LDU_FT | [
"<BEGIN>\n## `send_fetches`",
"Send FetchRequests for all assigned partitions that do not already have\n an in-flight fetch or pending fetch data.",
" Returns:\n List of Futures: each future resolves to a FetchResponse\n<END>",
"<BEGIN>\n## `reset_offsets_if_needed`",
"Lookup and se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh_committed_offsets_if_needed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh_committed_offsets_if_needed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | Fetch committed offsets for assigned partitions. | "Fetch committed offsets for assigned partitions." | 787 | false | dpkp/kafka-python | refresh_committed_offsets_if_needed | 22,745 | |
LDU_FT/mgedmin/imgdiff/parse_color | LDU_FT | [
"<BEGIN>\n## `parse_color`",
"Parse a color value.",
" I've decided not to expect a leading '#' because it's a comment character\n in some shells.",
" >>> parse_color('4bf') == (0x44, 0xbb, 0xff, 0xff)\n True\n >>> parse_color('ccce') == (0xcc, 0xcc, 0xcc, 0xee)\n True\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_color 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_color 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 a color value.
I've decided not to expect a leading '#' because it's a comment character
in some shells.
>>> parse_color('4bf') == (0x44, 0xbb, 0xff, 0xff)
True
>>> parse_color('ccce') == (0xcc, 0xcc, 0xcc, 0xee)
True
>>> parse_color('d8b4a2') == (0xd8, 0xb4, 0xa2... | "Parse a color value.\n\n I've decided not to expect a leading '#' because it's a comment character\n in some shells.\n\n >>> parse_color('4bf') == (0x44, 0xbb, 0xff, 0xff)\n True\n >>> parse_color('ccce') == (0xcc, 0xcc, 0xcc, 0xee)\n True\n >>> parse_color('d8b4a2') == (0xd8, ... | 65 | false | mgedmin/imgdiff | parse_color | 22,746 | |
LDU_FT/bgyori/pykqml/set | LDU_FT | [
"<BEGIN>\n## `translate_argv`",
"Enables conversion from system arguments.",
" Parameters\n ----------\n raw_args : list\n Arguments taken raw from the system input.",
" Returns\n -------\n kwargs : dict\n The input arguments formatted as a kwargs dict.\n To use as input... | 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 doc... | 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 doc... | Set the element of the list after the given keyword.
Parameters
----------
keyword : str
The keyword parameter to find in the list.
Putting a colon before the keyword is optional, if no colon is
given, it is added automatically (e.g. "keyword" will be found a... | "Set the element of the list after the given keyword.\n\n Parameters\n ----------\n keyword : str\n The keyword parameter to find in the list.\n Putting a colon before the keyword is optional, if no colon is\n given, it is added automatically (e.g. \"keyword\" will ... | 30 | false | bgyori/pykqml | set | 22,747 | |
LDU_FT/linuxsoftware/ls.joyous/getGroupUpcomingEvents | LDU_FT | [
"<BEGIN>\n## `getLocalTime`",
"Get the time in the local timezone from date and time\n<END>",
"<BEGIN>\n## `getLocalDateAndTime`",
"Get the date and time in the local timezone from date and optionally time\n<END>",
"<BEGIN>\n## `getLocalDatetime`",
"Get a datetime in the local timezone from date and optio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getGroupUpcomingEvents 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 getGroupUpcomingEvents 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 all the upcoming events that are assigned to the specified group.
:param request: Django request object
:param group: for this group page
:rtype: list of the namedtuple ThisEvent (title, page, url) | "Return all the upcoming events that are assigned to the specified group.\n\n :param request: Django request object\n :param group: for this group page\n :rtype: list of the namedtuple ThisEvent (title, page, url)" | 192 | false | linuxsoftware/ls.joyous | getGroupUpcomingEvents | 22,748 | |
LDU_FT/brutasse/rache/pending_jobs | LDU_FT | [
"<BEGIN>\n## `job_details`",
"Returns the job data with its scheduled timestamp.",
" :param job_id: the ID of the job to retrieve.\n<END>",
"<BEGIN>\n## `schedule_job`",
"Schedules a job.",
" :param job_id: unique identifier for this job\n :param schedule_in: number of seconds from now in which t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pending_jobs 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 pending_jobs 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... | Gets the job needing execution.
:param reschedule_in: number of seconds in which returned jobs should be
auto-rescheduled. If set to None (default), jobs are not auto-rescheduled.
:param limit: max number of jobs to retrieve. If set to None (default),
retrieves all pending jobs with no limit. | "Gets the job needing execution.\n\n :param reschedule_in: number of seconds in which returned jobs should be\n auto-rescheduled. If set to None (default), jobs are not auto-rescheduled.\n :param limit: max number of jobs to retrieve. If set to None (default),\n retrieves all pending jobs with no limit." | 18 | false | brutasse/rache | pending_jobs | 22,749 | |
LDU_FT/abseil/abseil-py/find_log_dir | LDU_FT | [
"<BEGIN>\n## `_register_bounds_validator_if_needed`",
"Enforces lower and upper bounds for numeric flags.",
" Args:\n parser: NumericParser (either FloatParser or IntegerParser), provides lower\n and upper bounds, and help text to display.\n name: str, name of the flag\n flag_values: FlagValues... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_log_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_log_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 extr... | Returns the most suitable directory to put log files into.
Args:
log_dir: str|None, if specified, the logfile(s) will be created in that
directory. Otherwise if the --log_dir command-line flag is provided,
the logfile will be created in that directory. Otherwise the logfile
will be crea... | "Returns the most suitable directory to put log files into.\n\n Args:\n log_dir: str|None, if specified, the logfile(s) will be created in that\n directory. Otherwise if the --log_dir command-line flag is provided,\n the logfile will be created in that directory. Otherwise the logfile\n will ... | 432 | false | abseil/abseil-py | find_log_dir | 22,750 | |
LDU_FT/p3trus/slave/scan_temperature | LDU_FT | [
"<BEGIN>\n## `_typelist`",
"Helper function converting all items of x to instances.\n<END>",
"<BEGIN>\n## `write`",
"Generates and sends a command message unit.",
" :param transport: An object implementing the `.Transport` interface.\n It is used by the protocol to send the message.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_temperature 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 scan_temperature 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 ... | Performs a temperature scan.
Measures until the target temperature is reached.
:param measure: A callable called repeatedly until stability at target
temperature is reached.
:param temperature: The target temperature in kelvin.
:param rate: The sweep rate in kelvin per minu... | "Performs a temperature scan.\n\n Measures until the target temperature is reached.\n\n :param measure: A callable called repeatedly until stability at target\n temperature is reached.\n :param temperature: The target temperature in kelvin.\n :param rate: The sweep rate in kelvin ... | 189 | false | p3trus/slave | scan_temperature | 22,751 | |
LDU_FT/Koed00/django-q/get | LDU_FT | [
"<BEGIN>\n## `loads`",
"Reverse of dumps(), raise BadSignature if signature fails.",
" The serializer is expected to accept a bytestring.\n<END>",
"<BEGIN>\n## `unsign`",
"Retrieve original value and check it wasn't signed more\n than max_age seconds ago.\n<END>",
"<BEGIN>\n## `get_broker`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get 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 get 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... | gets the current status for the cluster
:param cluster_id: id of the cluster
:return: Stat or Status | "gets the current status for the cluster\n :param cluster_id: id of the cluster\n :return: Stat or Status" | 96 | false | Koed00/django-q | get | 22,752 | |
LDU_FT/mvn23/pyotgw/set_setback_temp | LDU_FT | [
"<BEGIN>\n## `connection_made`",
"Gets called when a connection to the gateway is established.\n Initialise the protocol object.\n<END>",
"<BEGIN>\n## `connection_lost`",
"Gets called when the connection to the gateway is lost.\n Tear down and clean up the protocol object.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_setback_temp 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 set_setback_temp 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 ... | Configure the setback temperature to use in combination with
GPIO functions HOME (5) and AWAY (6).
Return the new setback temperature, or None on failure.
This method is a coroutine | "Configure the setback temperature to use in combination with\n GPIO functions HOME (5) and AWAY (6).\n Return the new setback temperature, or None on failure.\n\n This method is a coroutine" | 115 | false | mvn23/pyotgw | set_setback_temp | 22,753 | |
LDU_FT/materialsproject/custodian/postprocess | LDU_FT | [
"<BEGIN>\n## `from_spec`",
"Load a Custodian instance where the jobs are specified from a\n structure and a spec dict. This allows simple\n custom job sequences to be constructed quickly via a YAML file.",
" Args:\n spec (dict): A dict specifying job. A sample of the dict in\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the postprocess 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 postprocess 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... | Postprocessing includes renaming and gzipping where necessary. | "Postprocessing includes renaming and gzipping where necessary." | 90 | false | materialsproject/custodian | postprocess | 22,754 | |
LDU_FT/SetBased/py-etlt/condense | LDU_FT | [
"<BEGIN>\n## `_split_scheme`",
"Splits the scheme and actual expression",
" :param str expression: The expression.",
" :rtype: str\n<END>",
"<BEGIN>\n## `register_scheme`",
"Registers a scheme.",
" :param str scheme: The scheme.\n :param callable constructor: The SimpleCondit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the condense 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 condense 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... | Condense the data set to the distinct intervals based on the pseudo key. | "Condense the data set to the distinct intervals based on the pseudo key." | 155 | false | SetBased/py-etlt | condense | 22,755 | |
LDU_FT/bioasp/caspo/to_funset | LDU_FT | [
"<BEGIN>\n## `from_str`",
"Creates a literal from a string",
" Parameters\n ----------\n string : str\n If the string starts with '!', it's interpreted as a negated variable",
" Returns\n -------\n caspo.core.literal.Literal\n Created object inst... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_funset 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 to_funset 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... | Converts the clamping to a set of `gringo.Fun`_ object instances
Parameters
----------
index : int
An external identifier to associate several clampings together in ASP
name : str
A function name for the clamping
Returns
-------
set
... | "Converts the clamping to a set of `gringo.Fun`_ object instances\n\n Parameters\n ----------\n index : int\n An external identifier to associate several clampings together in ASP\n\n name : str\n A function name for the clamping\n\n Returns\n -------\n ... | 366 | false | bioasp/caspo | to_funset | 22,756 | |
LDU_FT/SeabornGames/Table/txt_to_obj | LDU_FT | [
"<BEGIN>\n## `list_to_obj`",
":param list_: list of list or list of dictionary to use as the\n source\n :param columns: list of strings to label the columns when\n converting to str\n :param row_columns: list of columns in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the txt_to_obj 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 txt_to_obj 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... | This will convert text file or text to a seaborn table
and return it
:param file_path: str of the path to the file
:param text: str of the csv text
:param columns: list of str of columns to use
:param row_columns: list of str of columns in data but not to use
:param remov... | "This will convert text file or text to a seaborn table\n and return it\n :param file_path: str of the path to the file\n :param text: str of the csv text\n :param columns: list of str of columns to use\n :param row_columns: list of str of columns in data but not to use\n :para... | 93 | false | SeabornGames/Table | txt_to_obj | 22,757 | |
LDU_FT/smarie/python-autoclass/autoprops | LDU_FT | [
"<BEGIN>\n## `autohash`",
"A decorator to makes objects of the class implement __hash__, so that they can be used correctly for example in\n sets.",
" Parameters allow to customize the list of attributes that are taken into account in the hash.",
" :param include: a tuple of explicit attribute names ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autoprops 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 autoprops 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... | A decorator to automatically generate all properties getters and setters from the class constructor.
* if a @contract annotation exist on the __init__ method, mentioning a contract for a given parameter, the
parameter contract will be added on the generated setter method
* The user may override the generate... | "A decorator to automatically generate all properties getters and setters from the class constructor.\n * if a @contract annotation exist on the __init__ method, mentioning a contract for a given parameter, the\n parameter contract will be added on the generated setter method\n * The user may override the gene... | 94 | false | smarie/python-autoclass | autoprops | 22,758 | |
LDU_FT/zblz/naima/estimate_B | LDU_FT | [
"<BEGIN>\n## `memoize`",
"Cache decorator for functions inside model classes\n<END>",
"<BEGIN>\n## `lnprior`",
"Return probability of parameter values according to prior knowledge.\n Parameter limits should be done here through uniform prior ditributions\n<END>",
"<BEGIN>\n## `get_sampler`",
"Generate ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the estimate_B 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 estimate_B 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... | Estimate magnetic field from synchrotron to Inverse Compton luminosity
ratio
Estimate the magnetic field from the ratio of X-ray to gamma-ray emission
according to:
.. math::
\\frac{L_\mathrm{xray}}{L_\gamma} =
\\frac{u_\mathrm{B}}{u_\mathrm{ph}} =
\\frac{B^2}{ 8 \pi u_\mathrm... | "Estimate magnetic field from synchrotron to Inverse Compton luminosity\n ratio\n\n Estimate the magnetic field from the ratio of X-ray to gamma-ray emission\n according to:\n\n .. math::\n\n \\\\frac{L_\\mathrm{xray}}{L_\\gamma} =\n \\\\frac{u_\\mathrm{B}}{u_\\mathrm{ph}} =\n \\\\frac{... | 279 | false | zblz/naima | estimate_B | 22,759 | |
LDU_FT/maweigert/gputools/tv2 | LDU_FT | [
"<BEGIN>\n## `gaussian_filter`",
"blurs data with a gaussian kernel of given sigmas",
" Parameters\n ----------\n data: ndarray\n 2 or 3 dimensional array \n sigma: scalar or tuple\n the sigma of the gaussian \n truncate: float \n truncate the kernel after truncate*sigma \n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tv2 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 tv2 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... | chambolles tv regularized denoising
weight should be around 2+1.5*noise_sigma | "chambolles tv regularized denoising\n\n weight should be around 2+1.5*noise_sigma" | 199 | false | maweigert/gputools | tv2 | 22,760 | |
LDU_FT/giancosta86/Iris/safeRmTree | LDU_FT | [
"<BEGIN>\n## `getFlag`",
"Creates a flag having path <variables dir path><os.sep><flagName>\n<END>",
"<BEGIN>\n## `getFriendlyString`",
"Returns the version, printed in a friendly way.",
" More precisely, it trims trailing zero components.\n<END>",
"<BEGIN>\n## `getVersions`",
"Returns the versio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safeRmTree 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 safeRmTree 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... | Deletes a tree and returns true if it was correctly deleted | "Deletes a tree and returns true if it was correctly deleted" | 45 | false | giancosta86/Iris | safeRmTree | 22,761 | |
LDU_FT/pypa/setuptools/_augment_exception | LDU_FT | [
"<BEGIN>\n## `indentedBlock`",
"Helper method for defining space-delimited indentation blocks, such as\r\n those used to define block statements in Python source code.\r",
" Parameters:\r\n - blockStatementExpr - expression defining syntax of statement that\r\n is repeated within the indent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _augment_exception API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _augment_exception API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Add details to the exception message to help guide the user
as to what action will resolve it. | "Add details to the exception message to help guide the user\n as to what action will resolve it." | 565 | false | pypa/setuptools | _augment_exception | 22,762 | |
LDU_FT/opennode/waldur-core/set_instance_erred | LDU_FT | [
"<BEGIN>\n## `subfield_get`",
"Verbatim copy from:\n https://github.com/django/django/blob/1.9.13/django/db/models/fields/subclassing.py#L38\n<END>",
"<BEGIN>\n## `_preprocess_kwargs`",
"Replace generic key related attribute with filters by object_id and content_type fields\n<END>",
"<BEGIN>\n## `list`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_instance_erred API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_instance_erred API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Mark instance as erred and save error message | "Mark instance as erred and save error message" | 526 | false | opennode/waldur-core | set_instance_erred | 22,763 | |
LDU_FT/JelteF/PyLaTeX/create | LDU_FT | [
"<BEGIN>\n## `fill_document`",
"Add a section, a subsection and some text to the document.",
" :param doc: the document\n :type doc: :class:`pylatex.document.Document` instance\n<END>",
"<BEGIN>\n## `dumps_content`",
"r\"\"\"Represent the container as a string in LaTeX syntax.",
" Args\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create 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 create 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 ... | Add a LaTeX object to current container, context-manager style.
Args
----
child: `~.Container`
An object to be added to the current container | "Add a LaTeX object to current container, context-manager style.\n\n Args\n ----\n child: `~.Container`\n An object to be added to the current container" | 183 | false | JelteF/PyLaTeX | create | 22,764 | |
LDU_FT/quantopian/empyrical/beta_aligned | LDU_FT | [
"<BEGIN>\n## `_adjust_returns`",
"Returns the returns series adjusted by adjustment_factor. Optimizes for the\n case of adjustment_factor being 0 by returning returns itself, not a copy!",
" Parameters\n ----------\n returns : pd.Series or np.ndarray\n adjustment_factor : pd.Series or np.ndarray ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the beta_aligned 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 beta_aligned 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... | Calculates beta.
If they are pd.Series, expects returns and factor_returns have already
been aligned on their labels. If np.ndarray, these arguments should have
the same shape.
Parameters
----------
returns : pd.Series or np.ndarray
Daily returns of the strategy, noncumulative.
... | "Calculates beta.\n\n If they are pd.Series, expects returns and factor_returns have already\n been aligned on their labels. If np.ndarray, these arguments should have\n the same shape.\n\n Parameters\n ----------\n returns : pd.Series or np.ndarray\n Daily returns of the strategy, noncumulati... | 253 | false | quantopian/empyrical | beta_aligned | 22,765 | |
LDU_FT/davgeo/clear/_GetShowID | LDU_FT | [
"<BEGIN>\n## `_SetGuide`",
"Select guide corresponding to guideName",
" Parameters\n ----------\n guideName : string\n Name of guide to use.",
" Note\n ----------\n Supported guide names are: EPGUIDES\n<END>",
"<BEGIN>\n## `_GetUniqueFileShowNames`",
"Return a list containing al... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _GetShowID 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 _GetShowID 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 epguides show id for a given show name.
Attempts to match the given show name against a show title in
self._showTitleList and, if found, returns the corresponding index
in self._showIDList.
Parameters
----------
showName : string
Show name to get show ID for.
Returns
---... | "Get epguides show id for a given show name.\n\n Attempts to match the given show name against a show title in\n self._showTitleList and, if found, returns the corresponding index\n in self._showIDList.\n\n Parameters\n ----------\n showName : string\n Show name to get show ID for.\n\n Ret... | 298 | false | davgeo/clear | _GetShowID | 22,766 | |
LDU_FT/nickoala/telepot/deleteChatStickerSet | LDU_FT | [
"<BEGIN>\n## `answer`",
"Create a task that calls ``compute fn`` (along with additional arguments\n ``*compute_args`` and ``**compute_kwargs``), then applies the returned value to\n :meth:`.Bot.answerInlineQuery` to answer the inline query.\n If a preceding task is already working for a user,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deleteChatStickerSet 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 deleteChatStickerSet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | See: https://core.telegram.org/bots/api#deletechatstickerset | "See: https://core.telegram.org/bots/api#deletechatstickerset" | 312 | false | nickoala/telepot | deleteChatStickerSet | 22,767 | |
LDU_FT/laymonage/kbbi-python/_init_contoh | LDU_FT | [
"<BEGIN>\n## `ambil_teks_dalam_label`",
"Mengambil semua teks dalam sup label HTML (tanpa anak-anaknya).",
" :param sup: BeautifulSoup dari suatu label HTML\n :type sup: BeautifulSoup\n :returns: String semua teks dalam sup label HTML\n :rtype: str\n<END>",
"<BEGIN>\n## `_init_entri`",
"Membuat ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_contoh 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 _init_contoh 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... | Memproses contoh yang ada dalam makna.
:param makna_label: BeautifulSoup untuk makna yang ingin diproses.
:type makna_label: BeautifulSoup | "Memproses contoh yang ada dalam makna.\n\n :param makna_label: BeautifulSoup untuk makna yang ingin diproses.\n :type makna_label: BeautifulSoup" | 30 | false | laymonage/kbbi-python | _init_contoh | 22,768 | |
LDU_FT/bovee/Aston/as_sound | LDU_FT | [
"<BEGIN>\n## `simple_integrate`",
"Integrate each peak naively; without regard to overlap.",
" This is used as the terminal step by most of the other integrators.\n<END>",
"<BEGIN>\n## `drop_integrate`",
"Resolves overlap by breaking at the minimum value.\n<END>",
"<BEGIN>\n## `_integrate_mpwrap`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_sound 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 as_sound 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... | Convert AstonFrame into a WAV file.
Parameters
----------
filename : str
Name of wavfile to create.
speed : float, optional
How much to speed up for sound recording, e.g. a value of 60
will turn an hour-long AstonFrame into a minute-long sound clip.
... | "Convert AstonFrame into a WAV file.\n\n Parameters\n ----------\n filename : str\n Name of wavfile to create.\n speed : float, optional\n How much to speed up for sound recording, e.g. a value of 60\n will turn an hour-long AstonFrame into a minute-long soun... | 89 | false | bovee/Aston | as_sound | 22,769 | |
LDU_FT/rackerlabs/fastfood/_render_binaries | LDU_FT | [
"<BEGIN>\n## `metadata`",
"Return dict representation of this cookbook's metadata.rb .\n<END>",
"<BEGIN>\n## `berksfile`",
"Return this cookbook's Berksfile instance.\n<END>",
"<BEGIN>\n## `from_dict`",
"Create a MetadataRb instance from a dict.\n<END>",
"<BEGIN>\n## `depends_statement`",
"Return a va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _render_binaries 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 _render_binaries 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 ... | Write binary contents from filetable into files.
Using filetable for the input files, and the list of files, render
all the templates into actual files on disk, forcing to overwrite the file
as appropriate, and using the given open mode for the file. | "Write binary contents from filetable into files.\n\n Using filetable for the input files, and the list of files, render\n all the templates into actual files on disk, forcing to overwrite the file\n as appropriate, and using the given open mode for the file." | 68 | false | rackerlabs/fastfood | _render_binaries | 22,770 | |
LDU_FT/liam-middlebrook/csh_ldap/groups | LDU_FT | [
"<BEGIN>\n## `get_members`",
"Return all members in the group as CSHMember objects\n<END>",
"<BEGIN>\n## `check_member`",
"Check if a Member is in the bound group.",
" Arguments:\n member -- the CSHMember object (or distinguished name) of the member to\n check against",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ... | Get the list of Groups (by dn) that the bound CSH LDAP member object
is in. | "Get the list of Groups (by dn) that the bound CSH LDAP member object\n is in." | 29 | false | liam-middlebrook/csh_ldap | groups | 22,771 | |
LDU_FT/shad7/tvrenamer/get_episode_name | LDU_FT | [
"<BEGIN>\n## `execute`",
"Renames a file based on the name generated using metadata.",
" :param str filename: absolute path and filename of original file\n :param str formatted_name: absolute path and new filename\n<END>",
"<BEGIN>\n## `get_series_by_name`",
"Perform lookup for series",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_episode_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_episode_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 ... | Perform lookup for name of episode numbers for a given series.
:param object series: instance of a series
:param list episode_numbers: the episode sequence number
:param int season_number: numeric season of series
:returns: list of episode name
:rtype: list(str) | "Perform lookup for name of episode numbers for a given series.\n\n :param object series: instance of a series\n :param list episode_numbers: the episode sequence number\n :param int season_number: numeric season of series\n :returns: list of episode name\n :rtype: list(str)" | 135 | false | shad7/tvrenamer | get_episode_name | 22,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.