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/raamana/mrivis/_verify_shape_compatibility | LDU_FT | [
"<BEGIN>\n## `checkerboard`",
"Checkerboard mixer.",
" Parameters\n ----------\n img_spec1 : str or nibabel image-like object\n MR image (or path to one) to be visualized",
" img_spec2 : str or nibabel image-like object\n MR image (or path to one) to be visualized",
" patch_size... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _verify_shape_compatibility API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _verify_shape_compatibility API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Checks mask shape against input image shape. | "Checks mask shape against input image shape." | 216 | false | raamana/mrivis | _verify_shape_compatibility | 16,973 | |
LDU_FT/buguroo/pyknow/reset | LDU_FT | [
"<BEGIN>\n## `changes`",
"Pass the given changes to the root_node.\n<END>",
"<BEGIN>\n## `build_alpha_part`",
"Given a set of already adapted rules, build the alpha part of\n the RETE network starting at `root_node`.\n<END>",
"<BEGIN>\n## `build_beta_part`",
"Given a set of already adapted rules, a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API.
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 reset API.
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... | Performs a reset as per CLIPS behaviour (resets the
agenda and factlist and declares InitialFact())
Any keyword argument passed to `reset` will be passed to @DefFacts
which have those arguments on their signature.
.. note:: If persistent facts have been added, they'll be
... | "Performs a reset as per CLIPS behaviour (resets the\n agenda and factlist and declares InitialFact())\n\n Any keyword argument passed to `reset` will be passed to @DefFacts\n which have those arguments on their signature.\n\n .. note:: If persistent facts have been added, they'll be\n ... | 78 | false | buguroo/pyknow | reset | 16,974 | |
LDU_FT/weld-project/weld/count | LDU_FT | [
"<BEGIN>\n## `to_weld_type`",
"Summary",
" Args:\n weld_type (TYPE): Description\n dim (TYPE): Description",
" Returns:\n TYPE: Description\n<END>",
"<BEGIN>\n## `evaluate`",
"Summary",
" Args:\n verbose (bool, optional): Description\n decode (bool... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API.
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 count API.
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... | Summary
Returns:
TYPE: Description | "Summary\n\n Returns:\n TYPE: Description" | 210 | false | weld-project/weld | count | 16,975 | |
LDU_FT/FujiMakoto/AgentML/normalize | LDU_FT | [
"<BEGIN>\n## `value`",
"Return the value of the redirect response\n<END>",
"<BEGIN>\n## `get`",
"Evaluate and return the current active topic\n :param user: The active user object\n :type user: agentml.User or None",
" :param agentml: The active AgentML instance\n :type agentml... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API.
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 normalize API.
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... | Normalize input for comparison with other input
:param string: The string to normalize
:type string: str
:param pattern: Allow wildcard symbols for triggers
:type pattern: bool
:param preserve_case: Normalize the message without casefolding
:type preserve_case: bool
:rtype: str | "Normalize input for comparison with other input\n :param string: The string to normalize\n :type string: str\n\n :param pattern: Allow wildcard symbols for triggers\n :type pattern: bool\n\n :param preserve_case: Normalize the message without casefolding\n :type preserve_case: bool\n\n :rtype: ... | 183 | false | FujiMakoto/AgentML | normalize | 16,976 | |
LDU_FT/Geotab/mygeotab-python/localize_datetime | LDU_FT | [
"<BEGIN>\n## `object_deserializer`",
"Helper to deserialize a raw result dict into a proper dict.",
" :param obj: The dict.\n<END>",
"<BEGIN>\n## `login`",
"Logs into a MyGeotab server and stores the returned credentials.",
" :param session: The current Session object.\n :param user: The username... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the localize_datetime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the localize_datetime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Converts a naive or UTC-localized date into the provided timezone.
:param datetime_obj: The datetime object.
:type datetime_obj: datetime
:param tz: The timezone. If blank or None, UTC is used.
:type tz: datetime.tzinfo
:return: The localized datetime object.
:rtype: datetime | "Converts a naive or UTC-localized date into the provided timezone.\n\n :param datetime_obj: The datetime object.\n :type datetime_obj: datetime\n :param tz: The timezone. If blank or None, UTC is used.\n :type tz: datetime.tzinfo\n :return: The localized datetime object.\n :rtype: datetime" | 96 | false | Geotab/mygeotab-python | localize_datetime | 16,977 | |
LDU_FT/saulpw/visidata/nonKeyVisibleCols | LDU_FT | [
"<BEGIN>\n## `expand_cols_deep`",
"expand all visible columns of containers to the given depth (0=fully)\n<END>",
"<BEGIN>\n## `load_pyobj`",
"Return Sheet object of appropriate type for given sources in `args`.\n<END>",
"<BEGIN>\n## `getPublicAttrs`",
"Return all public attributes (not methods or `_`-pre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nonKeyVisibleCols API.
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 nonKeyVisibleCols API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | All columns which are not keysList of unhidden non-key columns. | "All columns which are not keysList of unhidden non-key columns." | 249 | false | saulpw/visidata | nonKeyVisibleCols | 16,978 | |
LDU_FT/aarongarrett/inspyred/hypervolume | LDU_FT | [
"<BEGIN>\n## `mutator`",
"Return an inspyred mutator function based on the given function.",
" This function generator takes a function that operates on only\n one candidate to produce a single mutated candidate. The generator \n handles the iteration over each candidate in the set to be mutated.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hypervolume API.
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 hypervolume API.
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... | Calculates the hypervolume by slicing objectives (HSO).
This function calculates the hypervolume (or S-measure) of a nondominated
set using the Hypervolume by Slicing Objectives (HSO) procedure of `While, et al.
(IEEE CEC 2005) <http://www.lania.mx/~ccoello/EMOO/while05a.pdf.gz>`_.
The *pareto_set... | "Calculates the hypervolume by slicing objectives (HSO).\n \n This function calculates the hypervolume (or S-measure) of a nondominated\n set using the Hypervolume by Slicing Objectives (HSO) procedure of `While, et al. \n (IEEE CEC 2005) <http://www.lania.mx/~ccoello/EMOO/while05a.pdf.gz>`_.\n The *pare... | 390 | false | aarongarrett/inspyred | hypervolume | 16,979 | |
LDU_FT/qubole/qds-sdk-py/delete | LDU_FT | [
"<BEGIN>\n## `_parse_list`",
"Parse command line arguments to construct a dictionary of cluster\n parameters that can be used to determine which clusters to list.",
" Args:\n `args`: sequence of arguments",
" Returns:\n Dictionary that can be used to determine which ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Delete the cluster with id/label `cluster_id_label`. | "Delete the cluster with id/label `cluster_id_label`." | 316 | false | qubole/qds-sdk-py | delete | 16,980 | |
LDU_FT/meejah/txtorcon/_create_flags | LDU_FT | [
"<BEGIN>\n## `tor_agent`",
"This is the low-level method used by\n :meth:`txtorcon.Tor.web_agent` and\n :meth:`txtorcon.Circuit.web_agent` -- probably you should call one\n of those instead.",
" :returns: a Deferred that fires with an object that implements\n :class:`twisted.web.iweb.IAgent` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_flags API.
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 _create_flags API.
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... | this clones the kw dict, adding a lower-case version of every key
(duplicated in circuit.py; consider putting in util?) | "this clones the kw dict, adding a lower-case version of every key\n (duplicated in circuit.py; consider putting in util?)" | 289 | false | meejah/txtorcon | _create_flags | 16,981 | |
LDU_FT/lambdalisue/django-permission/has_module_perms | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Permission check decorator for classbased generic view",
" This decorator works as class decorator\n DO NOT use ``method_decorator`` or whatever while this decorator will use\n ``self`` argument for method of classbased generic view.",
" Parameters\n ------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_module_perms API.
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 has_module_perms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Check if user have permission of specified app
Parameters
----------
user_obj : django user model instance
A django user model instance which be checked
app_label : string
Django application name
Returns
-------
boolean
Whethe... | "Check if user have permission of specified app\n\n Parameters\n ----------\n user_obj : django user model instance\n A django user model instance which be checked\n app_label : string\n Django application name\n\n Returns\n -------\n boolean\n ... | 147 | false | lambdalisue/django-permission | has_module_perms | 16,982 | |
LDU_FT/aheadley/python-crunchyroll/return_collection | LDU_FT | [
"<BEGIN>\n## `return_collection`",
"Change method return value from raw API output to collection of models\n<END>",
"<BEGIN>\n## `_do_post_request_tasks`",
"Handle actions that need to be done with every response",
" I'm not sure what these session_ops are actually used for yet, seems to\n be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_collection API.
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 return_collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Change method return value from raw API output to collection of models | "Change method return value from raw API output to collection of models" | 100 | false | aheadley/python-crunchyroll | return_collection | 16,983 | |
LDU_FT/psss/did/last_year | LDU_FT | [
"<BEGIN>\n## `search`",
"Perform issue search for given stats instance\n<END>",
"<BEGIN>\n## `updated`",
"True if the issue was commented by given user\n<END>",
"<BEGIN>\n## `issues`",
"Filter unique issues for given activity type and email\n<END>",
"<BEGIN>\n## `_fetch_activities`",
"Get organization... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the last_year API.
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 last_year API.
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... | Return start and end date of the last fiscal year | "Return start and end date of the last fiscal year" | 118 | false | psss/did | last_year | 16,984 | |
LDU_FT/nitmir/django-cas-server/clean | LDU_FT | [
"<BEGIN>\n## `clean_deleted_sessions`",
"remove old :class:`FederateSLO` object for which the session do not exists anymore\n<END>",
"<BEGIN>\n## `send_mails`",
"For each new django-cas-server version, if the current instance is not up to date\n send one mail to ``settings.ADMINS``.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean API.
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 clean API.
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... | Validate that the submited :attr:`username` and :attr:`password` are valid
:raises django.forms.ValidationError: if the :attr:`username` and :attr:`password`
are not valid.
:return: The cleaned POST data
:rtype: dict | "Validate that the submited :attr:`username` and :attr:`password` are valid\n\n :raises django.forms.ValidationError: if the :attr:`username` and :attr:`password`\n are not valid.\n :return: The cleaned POST data\n :rtype: dict" | 182 | false | nitmir/django-cas-server | clean | 16,985 | |
LDU_FT/sprockets/sprockets.mixins.mediatype/normalize_datum | LDU_FT | [
"<BEGIN>\n## `install`",
"Install the media type management settings.",
" :param tornado.web.Application application: the application to\n install a :class:`.ContentSettings` object into.\n :param str|NoneType default_content_type:\n :param str|NoneType encoding:",
" :returns: the content s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_datum API.
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 normalize_datum API.
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... | Convert `datum` into something that umsgpack likes.
:param datum: something that we want to process with umsgpack
:return: a packable version of `datum`
:raises TypeError: if `datum` cannot be packed
This message is called by :meth:`.packb` to recursively normalize
an input val... | "Convert `datum` into something that umsgpack likes.\n\n :param datum: something that we want to process with umsgpack\n :return: a packable version of `datum`\n :raises TypeError: if `datum` cannot be packed\n\n This message is called by :meth:`.packb` to recursively normalize\n an i... | 53 | false | sprockets/sprockets.mixins.mediatype | normalize_datum | 16,986 | |
LDU_FT/ejeschke/ginga/plot_two_columns | LDU_FT | [
"<BEGIN>\n## `set_figure`",
"Call this with the matplotlib Figure() object.\n<END>",
"<BEGIN>\n## `render_image1`",
"Render the image represented by (rgbobj) at dst_x, dst_y\n in the pixel space.",
" NOTE: this version uses a Figure.FigImage to render the image.\n<END>",
"<BEGIN>\n## `render... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_two_columns API.
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 plot_two_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Simple line plot for two selected columns. | "Simple line plot for two selected columns." | 1,455 | true | ejeschke/ginga | plot_two_columns | 16,987 | |
LDU_FT/Metatab/geoid/isimplify | LDU_FT | [
"<BEGIN>\n## `base62_decode`",
"Decode a Base X encoded string into the number",
" Arguments:\n - `string`: The encoded string\n - `alphabet`: The alphabet to use for encoding\n Stolen from: http://stackoverflow.com/a/1119769/1144479\n<END>",
"<BEGIN>\n## `augment`",
"Call the augment() method f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isimplify API.
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 isimplify API.
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... | Iteratively simplify until the set stops getting smaller. | "Iteratively simplify until the set stops getting smaller." | 40 | false | Metatab/geoid | isimplify | 16,988 | |
LDU_FT/tweepy/tweepy/remove_list_members | LDU_FT | [
"<BEGIN>\n## `get_authorization_url`",
"Get the authorization URL to redirect the user\n<END>",
"<BEGIN>\n## `get_access_token`",
"After user has authorized the request token, get access token\n with user supplied verifier.\n<END>",
"<BEGIN>\n## `get_xauth_access_token`",
"Get an access token from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_list_members 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 remove_list_members 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... | Perform bulk remove of list members from user ID or screenname | "Perform bulk remove of list members from user ID or screenname" | 54 | false | tweepy/tweepy | remove_list_members | 16,989 | |
LDU_FT/GNS3/gns3-server/ubridge_delete_bridge | LDU_FT | [
"<BEGIN>\n## `_asyncio_open_serial_windows`",
"Open a windows named pipe",
" :returns: An IO like object\n<END>",
"<BEGIN>\n## `_asyncio_open_serial_unix`",
"Open a unix socket or a windows named pipe",
" :returns: An IO like object\n<END>",
"<BEGIN>\n## `_choose_capture_side`",
"Run capture on ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ubridge_delete_bridge 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 ubridge_delete_bridge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | :params name: Delete the bridge with this name | ":params name: Delete the bridge with this name" | 1,412 | true | GNS3/gns3-server | ubridge_delete_bridge | 16,990 | |
LDU_FT/mattbierner/blotre-py/get_authorization_url | LDU_FT | [
"<BEGIN>\n## `_try_redeem_disposable_app`",
"Attempt to redeem a one time code registred on the client.\n<END>",
"<BEGIN>\n## `_check_app_is_valid`",
"Check to see if the app has valid creds.\n<END>",
"<BEGIN>\n## `create_disposable_app`",
"Use an existing disposable app if data exists or create a new one... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authorization_url 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_authorization_url 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 the authorization Url for the current client. | "Get the authorization Url for the current client." | 19 | false | mattbierner/blotre-py | get_authorization_url | 16,991 | |
LDU_FT/FNNDSC/pftree/tree_probe | LDU_FT | [
"<BEGIN>\n## `walklevel`",
"It works just like os.walk, but you can pass it a level parameter\n that indicates how deep the recursion will go.\n If depth is -1 (or less than 0), the full depth is walked.\n<END>",
"<BEGIN>\n## `tree_probe`",
"Perform an os walk down a file system tree, starting f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tree_probe API.
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 tree_probe API.
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... | Perform an os walk down a file system tree, starting from
a **kwargs identified 'root', and return lists of files and
directories found.
kwargs:
root = '/some/path'
return {
'status': True,
'l_dir': l_dirs,
'l_files': l_files
... | "Perform an os walk down a file system tree, starting from\n a **kwargs identified 'root', and return lists of files and \n directories found.\n\n kwargs:\n root = '/some/path'\n\n return {\n 'status': True,\n 'l_dir': l_dirs,\n 'l_files': ... | 25 | false | FNNDSC/pftree | tree_probe | 16,992 | |
LDU_FT/FujiMakoto/IPS-Vagrant/cli | LDU_FT | [
"<BEGIN>\n## `dev_tools_installer`",
"Installer factory\n @param cv: Current version (The version of Developer Tools we are installing)\n @type cv: ips_vagrant.common.version.Version\n @return: Installer instance\n @rtype: ips_vagrant.installer.dev_tools.latest.DevToolsInstaller\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
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 cli API.
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... | List all domains if no <domain> is provided. If <domain> is provided but <site> is not, lists all sites
hosted under <domain>. If both <domain> and <site> are provided, lists information on the specified site. | "List all domains if no <domain> is provided. If <domain> is provided but <site> is not, lists all sites\n hosted under <domain>. If both <domain> and <site> are provided, lists information on the specified site." | 87 | false | FujiMakoto/IPS-Vagrant | cli | 16,993 | |
LDU_FT/manahl/arctic/write | 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 write API.
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 write API.
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 tick data to the underlying collections and write the data to each low
level library.
Args:
symbol (str): the symbol for the timeseries data
data (list of dicts or pandas dataframe): Tick data to write
if a list of dicts is given the list must be in tim... | "Split the tick data to the underlying collections and write the data to each low\n level library.\n\n Args:\n symbol (str): the symbol for the timeseries data\n data (list of dicts or pandas dataframe): Tick data to write\n if a list of dicts is given the list must be... | 429 | false | manahl/arctic | write | 16,994 | |
LDU_FT/geographika/mappyfile/findkey | LDU_FT | [
"<BEGIN>\n## `standardise_quotes`",
"Change the quotes used to wrap a value to the pprint default\n E.g. \"val\" to 'val' or 'val' to \"val\"\n<END>",
"<BEGIN>\n## `process_key_dict`",
"Process key value dicts e.g. METADATA \"key\" \"value\"\n<END>",
"<BEGIN>\n## `process_repeated_list`",
"Process ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the findkey API.
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 findkey API.
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 a value from a dictionary based on a list of keys and/or list indexes.
Parameters
----------
d: dict
A Python dictionary
keys: list
A list of key names, or list indexes
Returns
-------
dict
The composite dictionary object at the path specified by the keys
... | "Get a value from a dictionary based on a list of keys and/or list indexes.\n\n Parameters\n ----------\n\n d: dict\n A Python dictionary\n keys: list\n A list of key names, or list indexes\n\n Returns\n -------\n\n dict\n The composite dictionary object at the path specified b... | 184 | false | geographika/mappyfile | findkey | 16,995 | |
LDU_FT/j3ffhubb/pymarshal/json | LDU_FT | [
"<BEGIN>\n## `factory`",
"desc: >\n Creates a DocStringArg and recursively includes child\n docstrings if they are not JSON types.\n args:\n - name: name\n desc: The name of the argument\n type: str\n - name: desc\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json API.
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 json API.
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... | Helper method to convert to MongoDB documents to JSON
This includes helpers to convert non-JSON compatible types
to valid JSON types. HOWEVER, it cannot recurse into nested
classes.
Args:
include_id: bool, True to cast _id to a str,
... | "Helper method to convert to MongoDB documents to JSON\n\n This includes helpers to convert non-JSON compatible types\n to valid JSON types. HOWEVER, it cannot recurse into nested\n classes.\n\n Args:\n include_id: bool, True to cast _id to a str,\n ... | 63 | false | j3ffhubb/pymarshal | json | 16,996 | |
LDU_FT/andrea-cuttone/geoplotlib/markers | LDU_FT | [
"<BEGIN>\n## `__voronoi_finite_polygons_2d`",
"Reconstruct infinite voronoi regions in a 2D diagram to finite\n regions.",
" Parameters\n ----------\n vor : Voronoi\n Input diagram\n radius : float, optional\n Distance to 'points at infinity'.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the markers API.
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 markers API.
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... | Draw markers
:param data: data access object
:param marker: full filename of the marker image
:param f_tooltip: function to generate a tooltip on mouseover
:param marker_preferred_size: size in pixel for the marker images | "Draw markers\n\n :param data: data access object\n :param marker: full filename of the marker image\n :param f_tooltip: function to generate a tooltip on mouseover\n :param marker_preferred_size: size in pixel for the marker images" | 82 | false | andrea-cuttone/geoplotlib | markers | 16,997 | |
LDU_FT/nerdvegas/rez/_publish_message | LDU_FT | [
"<BEGIN>\n## `add_node`",
"Add given node to the graph.",
" @attention: While nodes can be of any type, it's strongly recommended to use only\n numbers and single-line strings as node identifiers if you intend to use write().",
" @type node: node\n @param node: Node identifier.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _publish_message API.
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 _publish_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Publish an AMQP message.
Returns:
bool: True if message was sent successfully. | "Publish an AMQP message.\n\n Returns:\n bool: True if message was sent successfully." | 2,330 | true | nerdvegas/rez | _publish_message | 16,998 | |
LDU_FT/mandiant/ioc_writer/make_serviceitem_name | LDU_FT | [
"<BEGIN>\n## `get_embedded_yara`",
"Extract YARA signatures embedded in Yara/Yara indicatorItem nodes.\n This is done regardless of logic structure in the OpenIOC.\n<END>",
"<BEGIN>\n## `get_yara_condition_string`",
"get_yara_condition_string",
" input\n indicator_node: this is the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_serviceitem_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 make_serviceitem_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.
... | Create a node for ServiceItem/name
:return: A IndicatorItem represented as an Element node | "Create a node for ServiceItem/name\n \n :return: A IndicatorItem represented as an Element node" | 320 | false | mandiant/ioc_writer | make_serviceitem_name | 16,999 | |
LDU_FT/xiaocong/uiautomator/gesture | LDU_FT | [
"<BEGIN>\n## `cmd`",
"adb command, add -s serial by default. return the subprocess.Popen object.\n<END>",
"<BEGIN>\n## `devices`",
"get a dict of attached devices. key is the device serial, value is device name.\n<END>",
"<BEGIN>\n## `dump`",
"dump device window and pull to local file.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gesture API.
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 gesture API.
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... | perform two point gesture.
Usage:
d().gesture(startPoint1, startPoint2).to(endPoint1, endPoint2, steps)
d().gesture(startPoint1, startPoint2, endPoint1, endPoint2, steps) | "perform two point gesture.\n Usage:\n d().gesture(startPoint1, startPoint2).to(endPoint1, endPoint2, steps)\n d().gesture(startPoint1, startPoint2, endPoint1, endPoint2, steps)" | 33 | false | xiaocong/uiautomator | gesture | 17,000 | |
LDU_FT/FelixSchwarz/pymta/get_all_allowed_internal_commands | LDU_FT | [
"<BEGIN>\n## `_start_new_worker_process`",
"Start a new child worker process which will listen on the given\n socket and return a reference to the new process.\n<END>",
"<BEGIN>\n## `get_all_allowed_internal_commands`",
"Returns an iterable which includes all allowed commands. This does\n not me... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_allowed_internal_commands 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 get_all_allowed_internal_commands API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Returns an iterable which includes all allowed commands. This does
not mean that a specific command from the result is executable right now
in this session state (or that it can be executed at all in this
connection).
Please note that the returned values are /internal/ commands, not SMT... | "Returns an iterable which includes all allowed commands. This does\n not mean that a specific command from the result is executable right now\n in this session state (or that it can be executed at all in this\n connection).\n\n Please note that the returned values are /internal/ commands, n... | 27 | false | FelixSchwarz/pymta | get_all_allowed_internal_commands | 17,001 | |
LDU_FT/frasertweedale/ledgertools/filter_pastdate | LDU_FT | [
"<BEGIN>\n## `apply`",
"Manufacture decorator that filters return value with given function.",
" ``filter``:\n Callable that takes a single parameter.\n<END>",
"<BEGIN>\n## `format_outpat`",
"Format an outpat for the given transaction.",
" Format the given output filename pattern. The pattern ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_pastdate API.
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 filter_pastdate API.
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... | Coerce to a date not beyond the current date
If only a day is given, assumes the current month if that day has
passed or is the current day, otherwise assumes the previous month.
If a day and month are given, but no year, assumes the current year
if the given date has passed (or is today), otherwise th... | "Coerce to a date not beyond the current date\n\n If only a day is given, assumes the current month if that day has\n passed or is the current day, otherwise assumes the previous month.\n If a day and month are given, but no year, assumes the current year\n if the given date has passed (or is today), otherw... | 82 | false | frasertweedale/ledgertools | filter_pastdate | 17,002 | |
LDU_FT/morse-talk/morse-talk/_spoken_representation_L1 | LDU_FT | [
"<BEGIN>\n## `decode`",
"Converts a string of morse code into English message",
" The encoded message can also be decoded using the same morse chart\n backwards.",
" >>> code = '... --- ...'\n >>> decode(code)\n 'SOS'\n<END>",
"<BEGIN>\n## `grouper`",
"grouper(3, 'ABCDEFG', 'x') --> ABC... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _spoken_representation_L1 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 _spoken_representation_L1 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | >>> lst = [['M', 'O', 'R', 'S', 'E'], ['C', 'O', 'D', 'E']]
>>> _spoken_representation_L1(lst)
'M O R S E C O D E'
>>> lst = [[], ['M', 'O', 'R', 'S', 'E'], ['C', 'O', 'D', 'E']]
>>> _spoken_representation_L1(lst)
' M O R S E C O D E' | ">>> lst = [['M', 'O', 'R', 'S', 'E'], ['C', 'O', 'D', 'E']]\n >>> _spoken_representation_L1(lst)\n 'M O R S E C O D E'\n\n >>> lst = [[], ['M', 'O', 'R', 'S', 'E'], ['C', 'O', 'D', 'E']]\n >>> _spoken_representation_L1(lst)\n ' M O R S E C O D E'" | 111 | false | morse-talk/morse-talk | _spoken_representation_L1 | 17,003 | |
LDU_FT/tkf/rash/include_context | LDU_FT | [
"<BEGIN>\n## `concat_expr`",
"Concatenate `conditions` with `operator` and wrap it by ().",
" It returns a string in a list or empty list, if `conditions` is empty.\n<END>",
"<BEGIN>\n## `join`",
"Join `source`.",
" >>> sc = SQLConstructor('main', ['c1', 'c2'])\n >>> sc.join('sub', 'JOIN'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the include_context API.
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 include_context API.
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... | Return elements in `iterative` including `num` before and after elements.
>>> ''.join(include_context(lambda x: x == '!', 2, 'bb!aa__bb!aa'))
'bb!aabb!aa' | "Return elements in `iterative` including `num` before and after elements.\n\n >>> ''.join(include_context(lambda x: x == '!', 2, 'bb!aa__bb!aa'))\n 'bb!aabb!aa'" | 142 | false | tkf/rash | include_context | 17,004 | |
LDU_FT/ambitioninc/newrelic-api/metric_names | LDU_FT | [
"<BEGIN>\n## `update`",
"Updates any of the optional parameters of the alert condition nrql",
" :type alert_condition_nrql_id: int\n :param alert_condition_nrql_id: Alerts condition NRQL id to update",
" :type policy_id: int\n :param policy_id: Alert policy id where target alert co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metric_names API.
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 metric_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a list of known metrics and their value names for the given resource.
:type id: int
:param id: Server ID
:type name: str
:param name: Filter metrics by name
:type page: int
:param page: Pagination index
:rtype: dict
:return: The JSON response of... | "Return a list of known metrics and their value names for the given resource.\n\n :type id: int\n :param id: Server ID\n\n :type name: str\n :param name: Filter metrics by name\n\n :type page: int\n :param page: Pagination index\n\n :rtype: dict\n :return: The JSO... | 299 | false | ambitioninc/newrelic-api | metric_names | 17,005 | |
LDU_FT/davgeo/clear/Print | 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 Print API.
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 Print API.
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... | Print contents of showInfo and FileInfo object | "Print contents of showInfo and FileInfo object" | 298 | false | davgeo/clear | Print | 17,006 | |
LDU_FT/benoitkugler/abstractDataLibrary/load_modules | LDU_FT | [
"<BEGIN>\n## `recherche`",
"abstractSearch in fields of collection and reset rendering.\n Returns number of results.\n If in_all is True, call get_all before doing the search.\n<END>",
"<BEGIN>\n## `launch_background_job`",
"Launch the callable job in background thread.\n Succes or failur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_modules API.
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 load_modules API.
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... | Should instance interfaces and set them to interface, following `modules` | "Should instance interfaces and set them to interface, following `modules`" | 131 | false | benoitkugler/abstractDataLibrary | load_modules | 17,007 | |
LDU_FT/DataONEorg/d1_python/archive_sciobj | LDU_FT | [
"<BEGIN>\n## `wrap`",
"Work with the AccessPolicy in a SystemMetadata PyXB object.",
" Args:\n access_pyxb : AccessPolicy PyXB object\n The AccessPolicy to modify.",
" read_only: bool\n Do not update the wrapped AccessPolicy.",
" When only a single AccessPolicy operation is nee... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the archive_sciobj API.
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 archive_sciobj API.
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... | Set the status of an object to archived.
Preconditions:
- The object with the pid is verified to exist.
- The object is not a replica.
- The object is not archived. | "Set the status of an object to archived.\n\n Preconditions:\n - The object with the pid is verified to exist.\n - The object is not a replica.\n - The object is not archived." | 1,937 | true | DataONEorg/d1_python | archive_sciobj | 17,008 | |
LDU_FT/grabbles/grabbit/get_nearest | LDU_FT | [
"<BEGIN>\n## `merge_layouts`",
"Utility function for merging multiple layouts.",
" Args:\n layouts (list): A list of BIDSLayout instances to merge.\n Returns:\n A BIDSLayout containing merged files and entities.\n Notes:\n Layouts will be merged in the order of the elements in the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nearest API.
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_nearest API.
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... | Walk up the file tree from the specified path and return the
nearest matching file(s).
Args:
path (str): The file to search from.
return_type (str): What to return; must be one of 'file' (default)
or 'tuple'.
strict (bool): When True, all entities pre... | "Walk up the file tree from the specified path and return the\n nearest matching file(s).\n\n Args:\n path (str): The file to search from.\n return_type (str): What to return; must be one of 'file' (default)\n or 'tuple'.\n strict (bool): When True, all enti... | 60 | false | grabbles/grabbit | get_nearest | 17,009 | |
LDU_FT/woolfson-group/isambard/add_amino_acid_to_json | LDU_FT | [
"<BEGIN>\n## `covalent_bonds`",
"Returns all the covalent bonds in a list of `Atom` pairs.",
" Notes\n -----\n Uses information `element_data`, which can be accessed directly\n through this module i.e. `isambard.ampal.interactions.element_data`.",
" Parameters\n ----------\n atoms : [(`At... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_amino_acid_to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_amino_acid_to_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Add an amino acid to the amino_acids.json file used to populate the amino_acid table.
Parameters
----------
code : str
New code to be added to amino acid table.
description : str
Description of the amino acid, e.g. 'amidated terminal carboxy group'.
letter : str, optional
On... | "Add an amino acid to the amino_acids.json file used to populate the amino_acid table.\n\n Parameters\n ----------\n code : str\n New code to be added to amino acid table.\n description : str\n Description of the amino acid, e.g. 'amidated terminal carboxy group'.\n letter : str, optional\n... | 880 | false | woolfson-group/isambard | add_amino_acid_to_json | 17,010 | |
LDU_FT/vertexproject/synapse/getTypeNorm | LDU_FT | [
"<BEGIN>\n## `openDatFile`",
"Open a file-like object using a pkg relative path.",
" Example:",
" fd = openDatFile('foopkg.barpkg/wootwoot.bin')\n<END>",
"<BEGIN>\n## `scrape`",
"Scrape types from a blob of text and return node tuples.",
" Args:\n text (str): Text to scrape.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getTypeNorm API.
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 getTypeNorm API.
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... | Get the normalized type value based on the Cortex data model.
Args:
name (str): The type to normalize.
valu: The value to normalize.
Returns:
(tuple): A two item tuple, containing the normed value and the info dictionary.
Raises:
s_exc.NoSuchTyp... | "Get the normalized type value based on the Cortex data model.\n\n Args:\n name (str): The type to normalize.\n valu: The value to normalize.\n\n Returns:\n (tuple): A two item tuple, containing the normed value and the info dictionary.\n\n Raises:\n s_ex... | 1,135 | true | vertexproject/synapse | getTypeNorm | 17,011 | |
LDU_FT/Nekroze/librarian/add_ability | LDU_FT | [
"<BEGIN>\n## `add_attribute`",
"Add the given attribute to this Card. Returns the length of\n attributes after addition.\n<END>",
"<BEGIN>\n## `add_ability`",
"Add the given ability to this Card under the given phase. Returns\n the length of the abilities for the given phase after the addition.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_ability API.
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_ability API.
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 the given ability to this Card under the given phase. Returns
the length of the abilities for the given phase after the addition. | "Add the given ability to this Card under the given phase. Returns\n the length of the abilities for the given phase after the addition." | 43 | false | Nekroze/librarian | add_ability | 17,012 | |
LDU_FT/Cadasta/django-tutelary/permissioned_model | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Permission checking decorator -- works like the\n ``permission_required`` decorator in the default Django\n authentication system, except that it takes a sequence of actions\n to check, an object must be supplied, and the user must have\n permission to perform all... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the permissioned_model 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 permissioned_model 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... | Function to set up a model for permissioning. Can either be called
directly, passing a class and suitable values for ``perm_type``,
``path_fields`` and ``actions``, or can be used as a class
decorator, taking values for ``perm_type``, ``path_fields`` and
``actions`` from the ``TutelaryMeta`` subclass o... | "Function to set up a model for permissioning. Can either be called\n directly, passing a class and suitable values for ``perm_type``,\n ``path_fields`` and ``actions``, or can be used as a class\n decorator, taking values for ``perm_type``, ``path_fields`` and\n ``actions`` from the ``TutelaryMeta`` subcl... | 50 | false | Cadasta/django-tutelary | permissioned_model | 17,013 | |
LDU_FT/astropy/regions/_table_to_bintable | LDU_FT | [
"<BEGIN>\n## `ds9_objects_to_string`",
"Converts a `list` of `~regions.Region` to DS9 region string.",
" Parameters\n ----------\n regions : `list`\n List of `~regions.Region` objects\n coordsys : `str`, optional\n This overrides the coordinate system frame for all regions.\n De... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _table_to_bintable 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 _table_to_bintable 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 `~astropy.table.Table` to `astropy.io.fits.BinTable`. | "Convert `~astropy.table.Table` to `astropy.io.fits.BinTable`." | 237 | false | astropy/regions | _table_to_bintable | 17,014 | |
LDU_FT/photo/openphoto-python/update | LDU_FT | [
"<BEGIN>\n## `list`",
"Endpoint: /albums/list.json",
" Returns a list of Album objects.\n<END>",
"<BEGIN>\n## `cover_update`",
"Endpoint: /album/<album_id>/cover/<photo_id>/update.json",
" Update the cover photo of an album.\n Returns the updated album object.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
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 update API.
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 ... | Endpoint: /album/<id>/update.json
Updates an album with the specified parameters.
Returns the updated album object. | "Endpoint: /album/<id>/update.json\n\n Updates an album with the specified parameters.\n Returns the updated album object." | 174 | false | photo/openphoto-python | update | 17,015 | |
LDU_FT/jmcarp/robobrowser/serialize | LDU_FT | [
"<BEGIN>\n## `parsed`",
"Lazily parse response content, using HTML parser specified by the\n browser.\n<END>",
"<BEGIN>\n## `_build_send_args`",
"Merge optional arguments with defaults.",
" :param kwargs: Keyword arguments to `Session::send`\n<END>",
"<BEGIN>\n## `open`",
"Open a URL.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API.
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 serialize API.
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... | Serialize each form field to a Payload container.
:param Submit submit: Optional `Submit` to click, if form includes
multiple submits
:return: Payload instance | "Serialize each form field to a Payload container.\n\n :param Submit submit: Optional `Submit` to click, if form includes\n multiple submits\n :return: Payload instance" | 73 | false | jmcarp/robobrowser | serialize | 17,016 | |
LDU_FT/naphatkrit/easyci/commit_signature | LDU_FT | [
"<BEGIN>\n## `get_signature`",
"Get the signature of the current state of the repository",
" TODO right now `get_signature` is an effectful process in that\n it adds all untracked file to staging. This is the only way to get\n accruate diff on new files. This is ok because we only use it on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit_signature API.
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 commit_signature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Add `signature` to the list of committed signatures
The signature must already be staged
Args:
vcs (easyci.vcs.base.Vcs)
user_config (dict)
signature (basestring)
Raises:
NotStagedError
AlreadyCommittedError | "Add `signature` to the list of committed signatures\n\n The signature must already be staged\n\n Args:\n vcs (easyci.vcs.base.Vcs)\n user_config (dict)\n signature (basestring)\n\n Raises:\n NotStagedError\n AlreadyCommittedError" | 94 | false | naphatkrit/easyci | commit_signature | 17,017 | |
LDU_FT/klen/zeta-library/_sprite | LDU_FT | [
"<BEGIN>\n## `watch`",
"Watch directory for changes and auto pack sources\n<END>",
"<BEGIN>\n## `pack`",
"Parse file or dir, import css, js code and save with prefix\n<END>",
"<BEGIN>\n## `_invert`",
"Returns the inverse (negative) of a color.\n The red, green, and blue values are inverted, while the o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sprite API.
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 _sprite API.
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... | Returns the image and background position for use in a single shorthand
property | "Returns the image and background position for use in a single shorthand\n property" | 56 | false | klen/zeta-library | _sprite | 17,018 | |
LDU_FT/getpelican/pelican-plugins/pelican_init | LDU_FT | [
"<BEGIN>\n## `get_gif`",
"Returns dict with gif informations from the API.\n<END>",
"<BEGIN>\n## `main`",
"Doing the regex parsing and running the create_html function.\n<END>",
"<BEGIN>\n## `filetime_from_git`",
"Update modification and creation times from git\n<END>",
"<BEGIN>\n## `update_hash_from_st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pelican_init API.
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 pelican_init API.
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... | Prepare configurations for the MD plugin | "Prepare configurations for the MD plugin" | 247 | false | getpelican/pelican-plugins | pelican_init | 17,019 | |
LDU_FT/webadmin87/midnight/send_templated_mail | LDU_FT | [
"<BEGIN>\n## `show_menu`",
"Тег для подключения меню",
" Пример использования::",
" {% show_menu 'menu_slug' 2 class='menu-class' %}",
" :param context: контекст шаблона\n :param slug: символьный код родительского пункта меню\n :param level: максимальный уровень вложенности\n :param kw... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_templated_mail 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 send_templated_mail 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... | Отправляет письмо на основе шаблона
:param tpl: шаблон
:param subject: тема письма
:param context: контекст для рендеринга шаблона
:param to: кому слать письмо
:return: | "Отправляет письмо на основе шаблона\n :param tpl: шаблон\n :param subject: тема письма\n :param context: контекст для рендеринга шаблона\n :param to: кому слать письмо\n :return:" | 84 | false | webadmin87/midnight | send_templated_mail | 17,020 | |
LDU_FT/bububa/pyTOP/confirm_paid | LDU_FT | [
"<BEGIN>\n## `ordersku_update`",
"taobao.trade.ordersku.update 更新交易订单的销售属性",
" 需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能\n<END>",
"<BEGIN>\n## `get`",
"taobao.topats.result.get 获取异步任务结果",
" 使用指南:http://open.taobao.com/doc/detail.htm?id=30 ",
" - 1.此接口用于获取异步任务处理的结果,传入的task_id必需属... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the confirm_paid API.
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 confirm_paid API.
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... | taobao.fenxiao.order.confirm.paid 确认收款
供应商确认收款(非支付宝交易)。 | "taobao.fenxiao.order.confirm.paid 确认收款\n \n 供应商确认收款(非支付宝交易)。" | 619 | false | bububa/pyTOP | confirm_paid | 17,021 | |
LDU_FT/qzmfranklin/easyshell/__build_cmd_maps | LDU_FT | [
"<BEGIN>\n## `update_parser`",
"Update the parser object for the shell.",
" Arguments:\n parser: An instance of argparse.ArgumentParser.\n<END>",
"<BEGIN>\n## `_do_debug`",
"\\\n Enter the debugging shell.\n debug Show current debugging status, i.e, on/off.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __build_cmd_maps API.
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 __build_cmd_maps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Build the mapping from command names to method names.
One command name maps to at most one method.
Multiple command names can map to the same method.
Only used by __init__() to initialize self._cmd_map. MUST NOT be used
elsewhere.
Returns:
A tuple (cmd_map, hidden_... | "Build the mapping from command names to method names.\n\n One command name maps to at most one method.\n Multiple command names can map to the same method.\n\n Only used by __init__() to initialize self._cmd_map. MUST NOT be used\n elsewhere.\n\n Returns:\n A tuple (cmd_ma... | 147 | false | qzmfranklin/easyshell | __build_cmd_maps | 17,022 | |
LDU_FT/rbit/pydtls/cipher | LDU_FT | [
"<BEGIN>\n## `decode_cert`",
"Convert an X509 certificate into a Python dictionary",
" This function converts the given X509 certificate into a Python dictionary\n in the manner established by the Python standard library's ssl module.\n<END>",
"<BEGIN>\n## `_get_server_certificate`",
"Retrieve a serve... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cipher API.
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 cipher API.
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 ... | Retrieve information about the current cipher
Return a triple consisting of cipher name, SSL protocol version defining
its use, and the number of secret bits. Return None if handshaking
has not been completed. | "Retrieve information about the current cipher\n\n Return a triple consisting of cipher name, SSL protocol version defining\n its use, and the number of secret bits. Return None if handshaking\n has not been completed." | 83 | false | rbit/pydtls | cipher | 17,023 | |
LDU_FT/senaite/senaite.core/get_object_metadata | LDU_FT | [
"<BEGIN>\n## `get_type_id`",
"Returns the type id for the context passed in\n<END>",
"<BEGIN>\n## `get_suffix`",
"Get the suffix of the ID, e.g. '-R01' or '-P05'",
" The current regex determines a pattern of a single uppercase character with\n at most 2 numbers following at the end of the ID as the su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_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.
T... | Get object metadata
:param obj: Content object
:returns: Dictionary of extracted object metadata | "Get object metadata\n\n :param obj: Content object\n :returns: Dictionary of extracted object metadata" | 2,333 | true | senaite/senaite.core | get_object_metadata | 17,024 | |
LDU_FT/python-wink/python-wink/set_chime_strobe_enabled | LDU_FT | [
"<BEGIN>\n## `set_mode`",
":param mode: a str, one of [home, away, night]\n :return: nothing\n<END>",
"<BEGIN>\n## `set_privacy`",
":param state: True or False\n :return: nothing\n<END>",
"<BEGIN>\n## `_update_state_from_response`",
":param response_json: the json obj returned from query\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_chime_strobe_enabled API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_chime_strobe_enabled API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | :param enabled: True or False
:return: nothing | ":param enabled: True or False\r\n :return: nothing" | 133 | false | python-wink/python-wink | set_chime_strobe_enabled | 17,025 | |
LDU_FT/jmgilman/Neolib/find_module | LDU_FT | [
"<BEGIN>\n## `installed`",
"Returns whether or not Google Chrome is installed",
" Determines the application data path for Google Chrome\n and checks if the path exists. If so, returns True, otherwise\n it will return False.",
" Returns\n bool - True if Chrome is installe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_module API.
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 find_module API.
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... | Called when an import is made. If there are hooks waiting for this
module to be imported then we stop the normal import process and
manually load the module.
@param name: The name of the module being imported.
@param path The root path of the module (if a package). We ignore this.
... | "Called when an import is made. If there are hooks waiting for this\n module to be imported then we stop the normal import process and\n manually load the module.\n\n @param name: The name of the module being imported.\n @param path The root path of the module (if a package). We ignore this.... | 629 | false | jmgilman/Neolib | find_module | 17,026 | |
LDU_FT/toomore/goristock/make_serial | LDU_FT | [
"<BEGIN>\n## `output`",
"re = \"\"\"<table>\n <tr><td>%(name)s</td><td>%(c)s</td><td>%(range)+.2f(%(pp)+.2f%%)</td></tr>\n <tr><td>%(stock_no)s</td><td>%(value)s</td><td>%(time)s</td></tr></table>\"\"\" % {\n<END>",
"<BEGIN>\n## `Rt_display`",
"For real time stock display\n 即時盤用,顯示目... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_serial API.
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 make_serial API.
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... | make data in list
if data enough, will return:
[0] is the times of high, low or equal
[1] is the serial of data.
or return '?'
資料數據 list 化,days 移動平均值
[0] 回傳次數
[1] 回傳數據 | "make data in list\n if data enough, will return:\n [0] is the times of high, low or equal\n [1] is the serial of data.\n\n or return '?'\n\n 資料數據 list 化,days 移動平均值\n [0] 回傳次數\n [1] 回傳數據" | 62 | false | toomore/goristock | make_serial | 17,027 | |
LDU_FT/zencoder/zencoder-py/delete | LDU_FT | [
"<BEGIN>\n## `delete`",
"Executes an HTTP DELETE request for the given URL.",
" ``params`` should be a dictionary\n<END>",
"<BEGIN>\n## `get`",
"Executes an HTTP GET request for the given URL.",
" ``data`` should be a dictionary of url parameters\n<END>",
"<BEGIN>\n## `post`",
"E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Executes an HTTP DELETE request for the given URL.
``params`` should be a dictionary | "Executes an HTTP DELETE request for the given URL.\n\n ``params`` should be a dictionary" | 33 | false | zencoder/zencoder-py | delete | 17,028 | |
LDU_FT/rochacbruno/dynaconf/_list | LDU_FT | [
"<BEGIN>\n## `init_app`",
"kwargs holds initial dynaconf configuration\n<END>",
"<BEGIN>\n## `get`",
"Gets config from dynaconf variables\n if variables does not exists in dynaconf try getting from\n `app.config` to support runtime settings.\n<END>",
"<BEGIN>\n## `object_merge`",
"Recursivel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _list API.
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 _list API.
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... | Lists all user defined config values
and if `--all` is passed it also shows dynaconf internal variables. | "Lists all user defined config values\n and if `--all` is passed it also shows dynaconf internal variables." | 172 | false | rochacbruno/dynaconf | _list | 17,029 | |
LDU_FT/Azure/azure-event-hubs-python/run | LDU_FT | [
"<BEGIN>\n## `parse_sas_token`",
"Parse a SAS token into its components.",
" :param sas_token: The SAS token.\n :type sas_token: str\n :rtype: dict[str, str]\n<END>",
"<BEGIN>\n## `offset`",
"The offset of the event data object.",
" :rtype: ~azure.eventhub.common.Offset\n<END>",
"<BEGIN>... | 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... | Run the EventHubClient in blocking mode.
Opens the connection and starts running all Sender/Receiver clients.
Returns a list of the start up results. For a succcesful client start the
result will be `None`, otherwise the exception raised.
If all clients failed to start, then run will fai... | "Run the EventHubClient in blocking mode.\n Opens the connection and starts running all Sender/Receiver clients.\n Returns a list of the start up results. For a succcesful client start the\n result will be `None`, otherwise the exception raised.\n If all clients failed to start, then run wil... | 260 | false | Azure/azure-event-hubs-python | run | 17,030 | |
LDU_FT/glue-viz/glue-vispy-viewers/dtype_reduce | LDU_FT | [
"<BEGIN>\n## `iso_mesh_line`",
"Generate an isocurve from vertex data in a surface mesh.",
" Parameters\n ----------\n vertices : ndarray, shape (Nv, 3)\n Vertex coordinates.\n tris : ndarray, shape (Nf, 3)\n Indices of triangular element into the vertices array.\n vertex_data : nda... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dtype_reduce API.
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 dtype_reduce API.
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... | Try to reduce dtype up to a given level when it is possible
dtype = [ ('vertex', [('x', 'f4'), ('y', 'f4'), ('z', 'f4')]),
('normal', [('x', 'f4'), ('y', 'f4'), ('z', 'f4')]),
('color', [('r', 'f4'), ('g', 'f4'), ('b', 'f4'),
('a', 'f4')])]
level ... | "Try to reduce dtype up to a given level when it is possible\n\n dtype = [ ('vertex', [('x', 'f4'), ('y', 'f4'), ('z', 'f4')]),\n ('normal', [('x', 'f4'), ('y', 'f4'), ('z', 'f4')]),\n ('color', [('r', 'f4'), ('g', 'f4'), ('b', 'f4'),\n ('a', 'f4')])]\n\n ... | 1,752 | true | glue-viz/glue-vispy-viewers | dtype_reduce | 17,031 | |
LDU_FT/rytilahti/python-eq3bt/cli | LDU_FT | [
"<BEGIN>\n## `handleNotification`",
"Handle Callback from a Bluetooth (GATT) request.\n<END>",
"<BEGIN>\n## `make_request`",
"Write a GATT Command without callback - not utf-8.\n<END>",
"<BEGIN>\n## `cli`",
"Tool to query and modify the state of EQ3 BT smart thermostat.\n<END>",
"<BEGIN>\n## `presets`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cli API.
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 cli API.
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... | Tool to query and modify the state of EQ3 BT smart thermostat. | "Tool to query and modify the state of EQ3 BT smart thermostat." | 24 | false | rytilahti/python-eq3bt | cli | 17,032 | |
LDU_FT/jay-johnson/network-pipeline/run_main | LDU_FT | [
"<BEGIN>\n## `publish_processed_network_packets`",
"# Redis/RabbitMQ/SQS messaging endpoints for pub-sub\n routing_key = ev(\"PUBLISH_EXCHANGE\",\n \"reporting.accounts\")\n queue_name = ev(\"PUBLISH_QUEUE\",\n \"reporting.accounts\")\n auth_url = ev(\"PUB_BROKER_UR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_main API.
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 run_main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | run_main
start the packet consumers and the packet processors
:param need_response: should send response back to publisher
:param callback: handler method | "run_main\n\n start the packet consumers and the packet processors\n\n :param need_response: should send response back to publisher\n :param callback: handler method" | 140 | false | jay-johnson/network-pipeline | run_main | 17,033 | |
LDU_FT/praekelt/django-profile/clean_username | LDU_FT | [
"<BEGIN>\n## `get_initial`",
"Gathers initial form values from user and profile objects\n suitable for using as form's initial data.\n<END>",
"<BEGIN>\n## `save`",
"This method should be called when is_valid is true to save\n relevant fields to user and profile models.\n<END>",
"<BEGIN>\n## `c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_username API.
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 clean_username API.
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... | Validate that the username is alphanumeric and is not already
in use. Don't fail if users username is provided. | "Validate that the username is alphanumeric and is not already\n in use. Don't fail if users username is provided." | 10 | false | praekelt/django-profile | clean_username | 17,034 | |
LDU_FT/coursera-dl/coursera-dl/release_check | LDU_FT | [
"<BEGIN>\n## `parse_args`",
"Parse the arguments/options passed to the program on the command line.\n<END>",
"<BEGIN>\n## `random_string`",
"Return a pseudo-random string of specified length.\n<END>",
"<BEGIN>\n## `clean_filename`",
"Sanitize a string to be used as a filename.",
" If minimal_change i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Check if there is a Git tag already in place | "Check if there is a Git tag already in place" | 246 | false | coursera-dl/coursera-dl | release_check | 17,035 | |
LDU_FT/classner/pymp/xrange | LDU_FT | [
"<BEGIN>\n## `array`",
"Factory method for shared memory arrays supporting all numpy dtypes.\n<END>",
"<BEGIN>\n## `_get_conf_value`",
"Get configuration value from PYMP/OMP env variables.\n<END>",
"<BEGIN>\n## `range`",
"Get the correctly distributed parallel chunks.",
" This corresponds to usin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xrange API.
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 xrange API.
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 an iterator for this threads chunk of work.
This corresponds to using the OpenMP 'dynamic' schedule. | "Get an iterator for this threads chunk of work.\n\n This corresponds to using the OpenMP 'dynamic' schedule." | 15 | false | classner/pymp | xrange | 17,036 | |
LDU_FT/SiLab-Bonn/basil/program_global_reg | LDU_FT | [
"<BEGIN>\n## `write`",
"Write to dummy memory",
" Parameters\n ----------\n addr : int\n The register address.\n data : list, tuple\n Data (byte array) to be written.",
" Returns\n -------\n nothing\n<END>",
"<BEGIN>\n## `read`",
"Para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the program_global_reg 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 program_global_reg 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... | Send the global register to the chip.
Loads the values of self['GLOBAL_REG'] onto the chip.
Includes enabling the clock, and loading the Control (CTR)
and DAC shadow registers. | "Send the global register to the chip.\n\n Loads the values of self['GLOBAL_REG'] onto the chip.\n Includes enabling the clock, and loading the Control (CTR)\n and DAC shadow registers." | 147 | false | SiLab-Bonn/basil | program_global_reg | 17,037 | |
LDU_FT/cloudendpoints/endpoints-management-python/_update_linear_bucket_count | LDU_FT | [
"<BEGIN>\n## `convert_response`",
"Computes a http status code and message `CheckResponse`",
" The return value a tuple (code, message, api_key_is_bad) where",
" code: is the http status code\n message: is the message to return\n api_key_is_bad: indicates that a given api_key is bad",
" Args:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_linear_bucket_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_linear_bucket_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Adds `a_float` to `dist`, updating the its linear buckets.
Args:
a_float (float): a new value
dist (:class:`endpoints_management.gen.servicecontrol_v1_messages.Distribution`):
the Distribution being updated
Raises:
ValueError: if `dist` does not already have linear buckets defined
... | "Adds `a_float` to `dist`, updating the its linear buckets.\n\n Args:\n a_float (float): a new value\n dist (:class:`endpoints_management.gen.servicecontrol_v1_messages.Distribution`):\n the Distribution being updated\n\n Raises:\n ValueError: if `dist` does not already have linear buckets d... | 308 | false | cloudendpoints/endpoints-management-python | _update_linear_bucket_count | 17,038 | |
LDU_FT/njsmith/colorspacious/sRGB1_to_sRGB1_linear | LDU_FT | [
"<BEGIN>\n## `deltaE`",
"Computes the :math:`\\Delta E` distance between pairs of colors.",
" :param input_space: The space the colors start out in. Can be anything\n recognized by :func:`cspace_convert`. Default: \"sRGB1\"\n :param uniform_space: Which space to perform the distance measurement\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sRGB1_to_sRGB1_linear 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 sRGB1_to_sRGB1_linear API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Convert sRGB (as floats in the 0-to-1 range) to linear sRGB. | "Convert sRGB (as floats in the 0-to-1 range) to linear sRGB." | 53 | false | njsmith/colorspacious | sRGB1_to_sRGB1_linear | 17,039 | |
LDU_FT/trentm/cmdln/do_propdel | LDU_FT | [
"<BEGIN>\n## `mkmanpage`",
"Return man page content for the given `cmdln.Cmdln` subclass name.\n<END>",
"<BEGIN>\n## `do_crush`",
"${cmd_name}: crush your enemies!",
" ${cmd_usage}\n ${cmd_option_list}\n C.f. Conan the Barbarian.\n<END>",
"<BEGIN>\n## `do_add`",
"Put files and direc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_propdel API.
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 do_propdel API.
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... | Remove PROPNAME from files, dirs, or revisions.
usage:
1. propdel PROPNAME [PATH...]
2. propdel PROPNAME --revprop -r REV [URL]
1. Removes versioned props in working copy.
2. Removes unversioned remote prop on repos revision.
${cmd_option_list} | "Remove PROPNAME from files, dirs, or revisions.\n\n usage:\n 1. propdel PROPNAME [PATH...]\n 2. propdel PROPNAME --revprop -r REV [URL]\n \n 1. Removes versioned props in working copy.\n 2. Removes unversioned remote prop on repos revision.\n\n ${cmd_option_list... | 207 | false | trentm/cmdln | do_propdel | 17,040 | |
LDU_FT/Richienb/quilt/quadrant | LDU_FT | [
"<BEGIN>\n## `userinput`",
"Get the input of the user via a universally secure method.",
" :type prompttext: string\n :param prompttext: The text to display while receiving the data.",
" :type times: integer\n :param times: The amount of times to ask the user. If value is not 1, a list will be ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quadrant API.
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 quadrant API.
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... | Find the quadrant a pair of coordinates are located in
:type xcoord: integer
:param xcoord: The x coordinate to find the quadrant for
:type ycoord: integer
:param ycoord: The y coordinate to find the quadrant for | "Find the quadrant a pair of coordinates are located in\n\n :type xcoord: integer\n :param xcoord: The x coordinate to find the quadrant for\n\n :type ycoord: integer\n :param ycoord: The y coordinate to find the quadrant for" | 210 | false | Richienb/quilt | quadrant | 17,041 | |
LDU_FT/mbj4668/pyang/_list_format | LDU_FT | [
"<BEGIN>\n## `emit`",
"Main control function.",
" Set up the top-level parts of the stylesheet, then process\n recursively all nodes in all data trees, and finally emit the\n serialized stylesheet.\n<END>",
"<BEGIN>\n## `process_module`",
"Process data nodes, RPCs and notifications in a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _list_format API.
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 _list_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return the serialization format for a _list_ node. | "Return the serialization format for a _list_ node." | 291 | false | mbj4668/pyang | _list_format | 17,042 | |
LDU_FT/uuazed/numerapi/get_user_activities | LDU_FT | [
"<BEGIN>\n## `_unzip_file`",
"unzips file located at src_path into destination_path\n<END>",
"<BEGIN>\n## `get_dataset_url`",
"Fetch url of the current dataset.",
" Args:\n tournament (int, optional): ID of the tournament, defaults to 1",
" Returns:\n str: url of the cu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_user_activities 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_user_activities 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... | Get user activities (works for all users!).
Args:
username (str): name of the user
tournament (int): ID of the tournament (optional, defaults to 1)
Returns:
list: list of user activities (`dict`)
Each activity in the list as the following structure:
... | "Get user activities (works for all users!).\n\n Args:\n username (str): name of the user\n tournament (int): ID of the tournament (optional, defaults to 1)\n\n Returns:\n list: list of user activities (`dict`)\n\n Each activity in the list as the following stru... | 163 | false | uuazed/numerapi | get_user_activities | 17,043 | |
LDU_FT/BeyondTheClouds/enoslib/get_roles | LDU_FT | [
"<BEGIN>\n## `_build_g5k_conf`",
"Build the conf of the g5k provider from the vmong5k conf.\n<END>",
"<BEGIN>\n## `cached`",
"Decorator for caching/retrieving api calls request.",
" Many calls to the API are getter on static parts (e.g site of a given\n cluster name won't change). By caching some resp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_roles API.
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_roles API.
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 roles associated with the hosts.
Returns
dict of role -> [host] | "Get the roles associated with the hosts.\n\n Returns\n dict of role -> [host]" | 229 | false | BeyondTheClouds/enoslib | get_roles | 17,044 | |
LDU_FT/jpvanhal/inflection/underscore | LDU_FT | [
"<BEGIN>\n## `_irregular`",
"A convenience function to add appropriate rules to plurals and singular\n for irregular words.",
" :param singular: irregular word in singular form\n :param plural: irregular word in plural form\n<END>",
"<BEGIN>\n## `camelize`",
"Convert strings to CamelCase.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the underscore API.
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 underscore API.
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... | Make an underscored, lowercase form from the expression in the string.
Example::
>>> underscore("DeviceType")
"device_type"
As a rule of thumb you can think of :func:`underscore` as the inverse of
:func:`camelize`, though there are cases where that does not hold::
>>> camelize(un... | "Make an underscored, lowercase form from the expression in the string.\n\n Example::\n\n >>> underscore(\"DeviceType\")\n \"device_type\"\n\n As a rule of thumb you can think of :func:`underscore` as the inverse of\n :func:`camelize`, though there are cases where that does not hold::\n\n ... | 36 | false | jpvanhal/inflection | underscore | 17,045 | |
LDU_FT/envi-idl/envipyengine/_read_config | LDU_FT | [
"<BEGIN>\n## `task`",
"Returns an ENVI Py Engine Task object. See ENVI Py Engine Task for examples.",
" :param task_name: The name of the task to retrieve.\n :return: An ENVI Py Engine Task object.\n<END>",
"<BEGIN>\n## `tasks`",
"Returns a list of all tasks known to the engine.",
" :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_config API.
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 _read_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a ConfigParser object populated from the settings.cfg file.
:return: A Config Parser object. | "Return a ConfigParser object populated from the settings.cfg file.\n\n :return: A Config Parser object." | 42 | false | envi-idl/envipyengine | _read_config | 17,046 | |
LDU_FT/shmir/PyIxExplorer/set_stream_stats | LDU_FT | [
"<BEGIN>\n## `read_stats`",
"Read port statistics from chassis.",
" :param stats: list of requested statistics to read, if empty - read all statistics.\n<END>",
"<BEGIN>\n## `read_stats`",
"Read stream statistics from chassis.",
" :param stats: list of requested statistics to read, if empty ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_stream_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_stream_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Set TX ports and RX streams for stream statistics.
:param ports: list of ports to set RX pgs. If empty set for all ports.
:type ports: list[ixexplorer.ixe_port.IxePort]
:param tx_ports: list of streams to set TX pgs. If empty set for all streams.
:type tx_ports: dict[ixexplorer.ixe_por... | "Set TX ports and RX streams for stream statistics.\n\n :param ports: list of ports to set RX pgs. If empty set for all ports.\n :type ports: list[ixexplorer.ixe_port.IxePort]\n :param tx_ports: list of streams to set TX pgs. If empty set for all streams.\n :type tx_ports: dict[ixexplorer.i... | 91 | false | shmir/PyIxExplorer | set_stream_stats | 17,047 | |
LDU_FT/chrisspen/dtree/probability_in | LDU_FT | [
"<BEGIN>\n## `normalize`",
"Scales each number in the sequence so that the sum of all numbers equals 1.\n<END>",
"<BEGIN>\n## `normcdf`",
"Describes the probability that a real-valued random variable X with a given\n probability distribution will be found at a value less than or equal to X\n in a normal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the probability_in API.
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 probability_in API.
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... | Returns the probability of a random variable falling between the given
values. | "Returns the probability of a random variable falling between the given\n values." | 100 | false | chrisspen/dtree | probability_in | 17,048 | |
LDU_FT/honzamach/pynspect/p_list | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse given data.",
" data:\n A string containing the filter definition\n filename:\n Name of the file being parsed (for meaningful\n error messages)\n debuglevel:\n Debug level to yacc\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_list API.
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 p_list API.
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 ... | list : IPV4
| IPV6
| DATETIME
| TIMEDELTA
| INTEGER
| FLOAT
| VARIABLE
| CONSTANT
| IPV4 COMMA list
| IPV6 COMMA list
| DATETIME COMMA list
| TI... | "list : IPV4\n | IPV6\n | DATETIME\n | TIMEDELTA\n | INTEGER\n | FLOAT\n | VARIABLE\n | CONSTANT\n | IPV4 COMMA list\n | IPV6 COMMA list\n | DATETIME COMMA list\n ... | 143 | false | honzamach/pynspect | p_list | 17,049 | |
LDU_FT/jaraco/jaraco.services/log_root | LDU_FT | [
"<BEGIN>\n## `start`",
"Start the service, catching and logging exceptions\n<END>",
"<BEGIN>\n## `start_class`",
"Start all services of a given class. If this manager doesn't already\n have a service of that class, it constructs one and starts it.\n<END>",
"<BEGIN>\n## `log_root`",
"Find a director... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_root API.
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 log_root API.
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... | Find a directory suitable for writing log files. It uses sys.prefix
to use a path relative to the root. If sys.prefix is /usr, it's the
system Python, so use /var/log. | "Find a directory suitable for writing log files. It uses sys.prefix\n to use a path relative to the root. If sys.prefix is /usr, it's the\n system Python, so use /var/log." | 12 | false | jaraco/jaraco.services | log_root | 17,050 | |
LDU_FT/libtcod/python-tcod/print_frame | LDU_FT | [
"<BEGIN>\n## `_int`",
"return an integer where a single character string may be expected\n<END>",
"<BEGIN>\n## `_describe_bitmask`",
"Returns a bitmask in human readable form.",
" This is a private function, used internally.",
" Args:\n bits (int): The bitmask to be represented.\n tabl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_frame API.
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 print_frame API.
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... | Draw a framed rectangle with optional text.
This uses the default background color and blend mode to fill the
rectangle and the default foreground to draw the outline.
`string` will be printed on the inside of the rectangle, word-wrapped.
If `string` is empty then no title will be draw... | "Draw a framed rectangle with optional text.\n\n This uses the default background color and blend mode to fill the\n rectangle and the default foreground to draw the outline.\n\n `string` will be printed on the inside of the rectangle, word-wrapped.\n If `string` is empty then no title will ... | 1,050 | true | libtcod/python-tcod | print_frame | 17,051 | |
LDU_FT/twitterdev/twitter-python-ads-sdk/async_stats_job_data | LDU_FT | [
"<BEGIN>\n## `content_type`",
"Returns the content-type value determined by file extension.\n<END>",
"<BEGIN>\n## `__init_chunked_upload`",
"Initialization for a multi-chunk upload.\n<END>",
"<BEGIN>\n## `__upload_chunk`",
"Uploads a single chunk of a multi-chunk upload.\n<END>",
"<BEGIN>\n## `save`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_stats_job_data 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 async_stats_job_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns the results of the specified async job IDs | "Returns the results of the specified async job IDs" | 74 | false | twitterdev/twitter-python-ads-sdk | async_stats_job_data | 17,052 | |
LDU_FT/pytroll/posttroll/get_context | LDU_FT | [
"<BEGIN>\n## `restart_listener`",
"Restart listener after configuration update.\n<END>",
"<BEGIN>\n## `create_subscriber`",
"Create a subscriber instance using specified addresses and\n message types.\n<END>",
"<BEGIN>\n## `heartbeat`",
"Send a heartbeat ... but only if *min_interval* seconds has p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context API.
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_context API.
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... | Provide the context to use.
This function takes care of creating new contexts in case of forks. | "Provide the context to use.\n\n This function takes care of creating new contexts in case of forks." | 46 | false | pytroll/posttroll | get_context | 17,053 | |
LDU_FT/The-Politico/politico-civic-geography/toposimplify | LDU_FT | [
"<BEGIN>\n## `save`",
"**uid**: :code:`division:{parentuid}_{levelcode}-{code}`\n<END>",
"<BEGIN>\n## `add_intersecting`",
"Adds paired relationships between intersecting divisions.",
" Optional intersection represents the portion of the area of the related\n division intersecting this divisio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toposimplify API.
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 toposimplify API.
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... | Convert geojson and simplify topology.
geojson is a dict representing geojson.
p is a simplification threshold value between 0 and 1. | "Convert geojson and simplify topology.\n\n geojson is a dict representing geojson.\n p is a simplification threshold value between 0 and 1." | 16 | false | The-Politico/politico-civic-geography | toposimplify | 17,054 | |
LDU_FT/mk-fg/txboxdotnet/listdir | LDU_FT | [
"<BEGIN>\n## `listdir`",
"Get Box object, representing list of objects in a folder.\n<END>",
"<BEGIN>\n## `get`",
"Download and return an file (object) or a specified byte_range from it.\n\t\t\tVersion keyword is API-specific, see \"etag\" file info key:\n\t\t\t\thttp://developers.box.com/docs/#files-file-obj... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listdir API.
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 listdir API.
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 Box object, representing list of objects in a folder. | "Get Box object, representing list of objects in a folder." | 18 | false | mk-fg/txboxdotnet | listdir | 17,055 | |
LDU_FT/paylogic/pip-accel/source_index | LDU_FT | [
"<BEGIN>\n## `get`",
"Get a distribution archive from any of the available caches.",
" :param requirement: A :class:`.Requirement` object.\n :returns: The absolute pathname of a local file or :data:`None` when the\n distribution archive is missing from all available caches.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the source_index API.
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 source_index API.
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... | The absolute pathname of pip-accel's source index directory (a string).
This is the ``sources`` subdirectory of :data:`data_directory`. | "The absolute pathname of pip-accel's source index directory (a string).\n\n This is the ``sources`` subdirectory of :data:`data_directory`." | 252 | false | paylogic/pip-accel | source_index | 17,056 | |
LDU_FT/timothydmorton/orbitutils/RV_com1 | LDU_FT | [
"<BEGIN>\n## `RV_1`",
"Instantaneous RV of star 1 with respect to system center-of-mass\n<END>",
"<BEGIN>\n## `RV_2`",
"Instantaneous RV of star 2 with respect to system center-of-mass\n<END>",
"<BEGIN>\n## `RV_3`",
"Instantaneous RV of star 3 with respect to system center-of-mass\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RV_com1 API.
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 RV_com1 API.
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... | RVs of star 1 relative to center-of-mass | "RVs of star 1 relative to center-of-mass" | 38 | false | timothydmorton/orbitutils | RV_com1 | 17,057 | |
LDU_FT/romansalin/django-seo2/escape_tags | LDU_FT | [
"<BEGIN>\n## `escape_tags`",
"Strips text from the given html string, leaving only tags.\n This functionality requires BeautifulSoup, nothing will be\n done otherwise.",
" This isn't perfect. Someone could put javascript in here:\n <a onClick=\"alert('hi');\">test</a>",
" So if you use ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_tags API.
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 escape_tags API.
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... | Strips text from the given html string, leaving only tags.
This functionality requires BeautifulSoup, nothing will be
done otherwise.
This isn't perfect. Someone could put javascript in here:
<a onClick="alert('hi');">test</a>
So if you use valid_tags, you still need to trust your data ent... | "Strips text from the given html string, leaving only tags.\n This functionality requires BeautifulSoup, nothing will be\n done otherwise.\n\n This isn't perfect. Someone could put javascript in here:\n <a onClick=\"alert('hi');\">test</a>\n\n So if you use valid_tags, you still need to trust you... | 21 | false | romansalin/django-seo2 | escape_tags | 17,058 | |
LDU_FT/atlassian-api/atlassian-python-api/reindex | LDU_FT | [
"<BEGIN>\n## `clean_draft_pages_from_space`",
"Remove draft pages from space using datetime.now\n :param confluence:\n :param space_key:\n :param count:\n :param date_now:\n :return: int counter\n<END>",
"<BEGIN>\n## `clean_all_draft_pages_from_all_spaces`",
"Remove all draft pages for all spac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reindex API.
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 reindex API.
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... | Reindex the Jira instance
Kicks off a reindex. Need Admin permissions to perform this reindex.
:param comments: Indicates that comments should also be reindexed. Not relevant for foreground reindex,
where comments are always reindexed.
:param change_history: Indicates that changeHistory ... | "Reindex the Jira instance\n Kicks off a reindex. Need Admin permissions to perform this reindex.\n :param comments: Indicates that comments should also be reindexed. Not relevant for foreground reindex,\n where comments are always reindexed.\n :param change_history: Indicates that changeHis... | 414 | false | atlassian-api/atlassian-python-api | reindex | 17,059 | |
LDU_FT/dhondta/tinyscript/__get_calls_from_parser | LDU_FT | [
"<BEGIN>\n## `_filtered_actions`",
"Get actions filtered on a list of action types.",
" :param a_type: argparse.Action instance name (e.g. count, append)\n<END>",
"<BEGIN>\n## `_input_arg`",
"Ask the user for input of a single argument.",
" :param a: argparse.Action instance\n :return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_calls_from_parser 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_calls_from_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | This actually executes the calls registered in the ProxyArgumentParser.
:param proxy_parser: ProxyArgumentParser instance
:param real_parser: ArgumentParser instance | "This actually executes the calls registered in the ProxyArgumentParser.\n\n :param proxy_parser: ProxyArgumentParser instance\n :param real_parser: ArgumentParser instance" | 74 | false | dhondta/tinyscript | __get_calls_from_parser | 17,060 | |
LDU_FT/ageitgey/face_recognition/face_landmarks | LDU_FT | [
"<BEGIN>\n## `train`",
"Trains a k-nearest neighbors classifier for face recognition.",
" :param train_dir: directory that contains a sub-directory for each known person, with its name.",
" (View in source code to see train_dir example tree structure)",
" Structure:\n <train_dir>/\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the face_landmarks API.
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 face_landmarks API.
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... | Given an image, returns a dict of face feature locations (eyes, nose, etc) for each face in the image
:param face_image: image to search
:param face_locations: Optionally provide a list of face locations to check.
:param model: Optional - which model to use. "large" (default) or "small" which only returns ... | "Given an image, returns a dict of face feature locations (eyes, nose, etc) for each face in the image\n\n :param face_image: image to search\n :param face_locations: Optionally provide a list of face locations to check.\n :param model: Optional - which model to use. \"large\" (default) or \"small\" which only... | 39 | false | ageitgey/face_recognition | face_landmarks | 17,061 | |
LDU_FT/trevorstephens/gplearn/raw_fitness | LDU_FT | [
"<BEGIN>\n## `_parallel_evolve`",
"Private function used to build a batch of programs within a job.\n<END>",
"<BEGIN>\n## `_verbose_reporter`",
"A report of the progress of the evolution process.",
" Parameters\n ----------\n run_details : dict\n Information about the evoluti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw_fitness API.
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 raw_fitness API.
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... | Evaluate the raw fitness of the program according to X, y.
Parameters
----------
X : {array-like}, shape = [n_samples, n_features]
Training vectors, where n_samples is the number of samples and
n_features is the number of features.
y : array-like, shape = [n_sam... | "Evaluate the raw fitness of the program according to X, y.\n\n Parameters\n ----------\n X : {array-like}, shape = [n_samples, n_features]\n Training vectors, where n_samples is the number of samples and\n n_features is the number of features.\n\n y : array-like, shape... | 103 | false | trevorstephens/gplearn | raw_fitness | 17,062 | |
LDU_FT/tBaxter/python-card-me/transformToNative | LDU_FT | [
"<BEGIN>\n## `dateTimeToString`",
"Ignore tzinfo unless convertToUTC. Output string.\n<END>",
"<BEGIN>\n## `getrruleset`",
"Get an rruleset created from self.",
" If addRDate is True, add an RDATE for dtstart if it's not included in\n an RRULE, and count is decremented if it exists.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transformToNative API.
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 transformToNative API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Turn obj.value into a datetime.
RFC2445 allows times without time zone information, "floating times"
in some properties. Mostly, this isn't what you want, but when parsing
a file, real floating times are noted by setting to 'TRUE' the
X-VOBJ-FLOATINGTIME-ALLOWED parameter. | "Turn obj.value into a datetime.\n\n RFC2445 allows times without time zone information, \"floating times\"\n in some properties. Mostly, this isn't what you want, but when parsing\n a file, real floating times are noted by setting to 'TRUE' the\n X-VOBJ-FLOATINGTIME-ALLOWED parameter." | 30 | false | tBaxter/python-card-me | transformToNative | 17,063 | |
LDU_FT/radical-cybertools/radical.entk/makeDataFiles | LDU_FT | [
"<BEGIN>\n## `resolve_placeholders`",
"**Purpose**: Substitute placeholders in staging attributes of a Task with actual paths to the corresponding tasks.",
" :arguments:\n :path: string describing the staging paths, possibly containing a placeholder\n :placeholder_dict: dictionary holding the v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makeDataFiles API.
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 makeDataFiles API.
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... | Create distutils data_files structure from dir
distutil will copy all file rooted under dir into prefix, excluding
dir itself, just like 'ditto src dst' works, and unlike 'cp -r src
dst, which copy src into dst'.
Typical usage:
# install the contents of 'wiki' under sys.prefix+'share/moin'
... | "Create distutils data_files structure from dir\n distutil will copy all file rooted under dir into prefix, excluding\n dir itself, just like 'ditto src dst' works, and unlike 'cp -r src\n dst, which copy src into dst'.\n Typical usage:\n # install the contents of 'wiki' under sys.prefix+'share/moin'... | 146 | false | radical-cybertools/radical.entk | makeDataFiles | 17,064 | |
LDU_FT/ellethee/argparseinator/check_class | LDU_FT | [
"<BEGIN>\n## `check_class`",
"Return the class name for the current frame.\n If the result is ** None ** means that the call is made from a module.\n<END>",
"<BEGIN>\n## `isglob`",
"Windows non traduce automaticamente i wildchars così lo facciamo\n a mano tramite glob.",
" :param value: Espressione... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return the class name for the current frame.
If the result is ** None ** means that the call is made from a module. | "Return the class name for the current frame.\n If the result is ** None ** means that the call is made from a module." | 23 | false | ellethee/argparseinator | check_class | 17,065 | |
LDU_FT/ereOn/azmq/read_nowait | LDU_FT | [
"<BEGIN>\n## `metadata_to_buffers`",
"Transform a dict of metadata into a sequence of buffers.",
" :param metadata: The metadata, as a dict.\n :returns: A list of buffers.\n<END>",
"<BEGIN>\n## `buffer_to_metadata`",
"Transform a buffer to a metadata dictionary.",
" :param buffer: The buffer, as ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_nowait API.
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 read_nowait API.
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... | Read from the box in a non-blocking manner.
If the box is empty, an exception is thrown. You should always check
for emptiness with `empty` or `wait_not_empty` before calling this
method.
:returns: An item from the box. | "Read from the box in a non-blocking manner.\n\n If the box is empty, an exception is thrown. You should always check\n for emptiness with `empty` or `wait_not_empty` before calling this\n method.\n\n :returns: An item from the box." | 111 | false | ereOn/azmq | read_nowait | 17,066 | |
LDU_FT/zeehio/parmap/map | LDU_FT | [
"<BEGIN>\n## `_deprecated_kwargs`",
"arg_newarg is a list of tuples, where each tuple has a pair of strings.\n ('old_arg', 'new_arg')\n A DeprecationWarning is raised for the arguments that need to be\n replaced.\n<END>",
"<BEGIN>\n## `_map_or_starmap`",
"Shared function between parmap.ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map API.
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 map API.
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... | This function is equivalent to:
>>> [function(x, args[0], args[1],...) for x in iterable]
:param pm_parallel: Force parallelization on/off
:type pm_parallel: bool
:param pm_chunksize: see :py:class:`multiprocessing.pool.Pool`
:type pm_chunksize: int
:param pm_pool: Pass an e... | "This function is equivalent to:\n >>> [function(x, args[0], args[1],...) for x in iterable]\n\n :param pm_parallel: Force parallelization on/off\n :type pm_parallel: bool\n :param pm_chunksize: see :py:class:`multiprocessing.pool.Pool`\n :type pm_chunksize: int\n :param pm_pool: P... | 20 | false | zeehio/parmap | map | 17,067 | |
LDU_FT/explosion/thinc/LSTM | LDU_FT | [
"<BEGIN>\n## `compounding`",
"Yield an infinite series of compounding values. Each time the\n generator is called, a value is produced by multiplying the previous\n value by the compound rate.",
" EXAMPLE:\n >>> sizes = compounding(1., 10., 1.5)\n >>> assert next(sizes) == 1.\n >>> asser... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the LSTM API.
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 LSTM API.
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... | Create an LSTM layer. Args: number out, number in | "Create an LSTM layer. Args: number out, number in" | 75 | false | explosion/thinc | LSTM | 17,068 | |
LDU_FT/rbarrois/python-semanticversion/coerce | LDU_FT | [
"<BEGIN>\n## `identifier_cmp`",
"Compare two identifier (for pre-release/build components).\n<END>",
"<BEGIN>\n## `identifier_list_cmp`",
"Compare two identifier list (pre-release/build components).",
" The rule is:\n - Identifiers are paired between lists\n - They are compared from left to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coerce API.
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 coerce API.
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 ... | Coerce an arbitrary version string into a semver-compatible one.
The rule is:
- If not enough components, fill minor/patch with zeroes; unless
partial=True
- If more than 3 dot-separated components, extra components are "build"
data. If some "build" data already appeared, ap... | "Coerce an arbitrary version string into a semver-compatible one.\n\n The rule is:\n - If not enough components, fill minor/patch with zeroes; unless\n partial=True\n - If more than 3 dot-separated components, extra components are \"build\"\n data. If some \"build\" data already a... | 29 | false | rbarrois/python-semanticversion | coerce | 17,069 | |
LDU_FT/ajslater/picopt/_is_skippable | LDU_FT | [
"<BEGIN>\n## `_get_timestamp`",
"Get the timestamp from the timestamp file.",
" Optionally mark it for removal if we're going to write another one.\n<END>",
"<BEGIN>\n## `_get_timestamp_cached`",
"Get the timestamp from the cache or fill the cache\n Much quicker than reading the same files over and ov... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_skippable API.
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 _is_skippable API.
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... | Handle things that are not optimizable files. | "Handle things that are not optimizable files." | 86 | false | ajslater/picopt | _is_skippable | 17,070 | |
LDU_FT/lk-geimfari/mimesis/_get_fs | LDU_FT | [
"<BEGIN>\n## `content_type`",
"Get a random HTTP content type.",
" :return: Content type.",
" :Example:\n Content-Type: application/json\n<END>",
"<BEGIN>\n## `ip_v4`",
"Generate a random IPv4 address.",
" :param with_port: Add port to IP.\n :return: Random IPv4 ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_fs API.
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 _get_fs API.
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 float number.
:param key: Key (`lt` or `lg`).
:param dms: DMS format.
:return: Float number | "Get float number.\n\n :param key: Key (`lt` or `lg`).\n :param dms: DMS format.\n :return: Float number" | 559 | false | lk-geimfari/mimesis | _get_fs | 17,071 | |
LDU_FT/mbakker7/timml/equation | LDU_FT | [
"<BEGIN>\n## `plot`",
"Plot layout",
" Parameters\n ----------",
" win : list or tuple\n [x1, x2, y1, y2]\n<END>",
"<BEGIN>\n## `contour`",
"Contour plot",
" Parameters\n ----------",
" win : list or tuple\n [x1, x2, y1, y2]\n ngr ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the equation API.
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 equation API.
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... | Mix-in class that returns matrix rows for difference in head between inside and
outside equals zeros
Returns matrix part (nunknowns,neq)
Returns rhs part nunknowns | "Mix-in class that returns matrix rows for difference in head between inside and\n outside equals zeros\n Returns matrix part (nunknowns,neq)\n Returns rhs part nunknowns" | 82 | false | mbakker7/timml | equation | 17,072 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.