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/buguroo/pyknow/_activate_right | 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 _activate_right API.
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 _activate_right API.
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... | Activate from the right.
Go over the left memory and find matching data, when found
update the counter (substracting if the given token is invalid
and adding otherwise). Depending on the result of this operation
a new token is generated and passing to all children. | "Activate from the right.\n\n Go over the left memory and find matching data, when found\n update the counter (substracting if the given token is invalid\n and adding otherwise). Depending on the result of this operation\n a new token is generated and passing to all children." | 78 | false | buguroo/pyknow | _activate_right | 9,473 | |
LDU_FT/olgabot/prettyplotlib/_beeswarm | LDU_FT | [
"<BEGIN>\n## `switch_axis_limits`",
"Switch the axis limits of either x or y. Or both!\n<END>",
"<BEGIN>\n## `remove_chartjunk`",
"Removes \"chartjunk\", such as extra lines of axes and tick marks.",
" If grid=\"y\" or \"x\", will add a white grid at the \"y\" or \"x\" axes,\n respectively",
" If... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _beeswarm API.
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 _beeswarm API.
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... | Call signature::
beeswarm(x, notch=0, sym='+', vert=1, whis=1.5,
positions=None, widths=None, patch_artist=False)
Make a box and whisker plot for each column of *x* or each
vector in sequence *x*. The box extends from the lower to
upper quartile values of the data, with a line at the ... | "Call signature::\n\n beeswarm(x, notch=0, sym='+', vert=1, whis=1.5,\n positions=None, widths=None, patch_artist=False)\n\n Make a box and whisker plot for each column of *x* or each\n vector in sequence *x*. The box extends from the lower to\n upper quartile values of the data, with a line... | 59 | false | olgabot/prettyplotlib | _beeswarm | 9,474 | |
LDU_FT/python-xlib/python-xlib/send_and_recv | LDU_FT | [
"<BEGIN>\n## `query_int_attribute`",
"Return the value of an integer attribute\n<END>",
"<BEGIN>\n## `create_resource_object`",
"Create a resource object of type for the integer id. type\n should be one of the following strings:",
" resource\n drawable\n window\n pixmap\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_and_recv API.
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 send_and_recv API.
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... | send_and_recv(flush = None, event = None, request = None, recv = None)
Perform I/O, or wait for some other thread to do it for us.
send_recv_lock MUST be LOCKED when send_and_recv is called.
It will be UNLOCKED at return.
Exactly or one of the parameters flush, event, request and recv... | "send_and_recv(flush = None, event = None, request = None, recv = None)\n\n Perform I/O, or wait for some other thread to do it for us.\n\n send_recv_lock MUST be LOCKED when send_and_recv is called.\n It will be UNLOCKED at return.\n\n Exactly or one of the parameters flush, event, request ... | 232 | false | python-xlib/python-xlib | send_and_recv | 9,475 | |
LDU_FT/noisyboiler/wampy/_register_procedure | LDU_FT | [
"<BEGIN>\n## `compute_wcs`",
"Compute an WAMP-CRA authentication signature from an authentication\n challenge and a (derived) key.",
" :param key: The key derived (via PBKDF2) from the secret.\n :type key: str/bytes\n :param challenge: The authentication challenge to sign.\n :type challenge: str/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _register_procedure 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 _register_procedure 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... | Register a "procedure" on a Client as callable over the Router. | "Register a \"procedure\" on a Client as callable over the Router." | 18 | false | noisyboiler/wampy | _register_procedure | 9,476 | |
LDU_FT/danielperna84/pyhomematic/setValue | LDU_FT | [
"<BEGIN>\n## `start`",
"Start the server thread if it wasn't created with autostart = True.\n<END>",
"<BEGIN>\n## `getSystemVariable`",
"Get single system variable from CCU / Homegear\n<END>",
"<BEGIN>\n## `deleteSystemVariable`",
"Delete a system variable from CCU / Homegear\n<END>",
"<BEGIN>\n## `setI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setValue API.
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 setValue API.
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... | Some devices allow to directly set values to perform a specific task. | "Some devices allow to directly set values to perform a specific task." | 83 | false | danielperna84/pyhomematic | setValue | 9,477 | |
LDU_FT/codeforamerica/three/configure | LDU_FT | [
"<BEGIN>\n## `city`",
"Store the city that will be queried against.",
" >>> three.city('sf')\n<END>",
"<BEGIN>\n## `dev`",
"Use an endpoint and any additional keyword arguments rather than one\n of the pre-defined cities. Similar to the `city` function, but useful for\n development.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
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 configure API.
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... | Configure a previously initialized instance of the class. | "Configure a previously initialized instance of the class." | 35 | false | codeforamerica/three | configure | 9,478 | |
LDU_FT/onecodex/onecodex/unifrac | LDU_FT | [
"<BEGIN>\n## `plot_heatmap`",
"Plot heatmap of taxa abundance/count data for several samples.",
" Parameters\n ----------\n rank : {'auto', 'kingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species'}, optional\n Analysis will be restricted to abundances of taxa at the sp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unifrac API.
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 unifrac API.
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... | A beta diversity metric that takes into account the relative relatedness of community
members. Weighted UniFrac looks at abundances, unweighted UniFrac looks at presence.
Parameters
----------
weighted : `bool`
Calculate the weighted (True) or unweighted (False) distance met... | "A beta diversity metric that takes into account the relative relatedness of community\n members. Weighted UniFrac looks at abundances, unweighted UniFrac looks at presence.\n\n Parameters\n ----------\n weighted : `bool`\n Calculate the weighted (True) or unweighted (False) dista... | 304 | false | onecodex/onecodex | unifrac | 9,479 | |
LDU_FT/aacanakin/glim/retrieve_commands | LDU_FT | [
"<BEGIN>\n## `import_source`",
"Function imports a module given full path",
" Args\n ----\n module (string): the module name\n path (string): the full path of module\n pass_errors(boolean): the switch for function\n to skip errors or not.",
" Returns\n -------\n module (module): the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_commands API.
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 retrieve_commands API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Function smartly imports Command type classes given module
Args
----
module (module):
The module which Command classes will be extracted from
Returns
-------
commands (list):
A list of Command instances
Note:
This function ... | "Function smartly imports Command type classes given module\n\n Args\n ----\n module (module):\n The module which Command classes will be extracted from\n\n Returns\n -------\n commands (list):\n A list of Command instances\n\n Note:\n ... | 74 | false | aacanakin/glim | retrieve_commands | 9,480 | |
LDU_FT/abingham/spor/_open_repo | LDU_FT | [
"<BEGIN>\n## `_open_repo`",
"Open and return the repository containing the specified file.",
" The file is specified by looking up `path_key` in `args`. This value or\n `None` is passed to `open_repository`.",
" Returns: A `Repository` instance.",
" Raises:\n ExitError: If there is a prob... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _open_repo API.
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 _open_repo API.
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... | Open and return the repository containing the specified file.
The file is specified by looking up `path_key` in `args`. This value or
`None` is passed to `open_repository`.
Returns: A `Repository` instance.
Raises:
ExitError: If there is a problem opening the repo. | "Open and return the repository containing the specified file.\n\n The file is specified by looking up `path_key` in `args`. This value or\n `None` is passed to `open_repository`.\n\n Returns: A `Repository` instance.\n\n Raises:\n ExitError: If there is a problem opening the repo." | 85 | false | abingham/spor | _open_repo | 9,481 | |
LDU_FT/globocom/GloboNetworkAPI-client-python/list_by_equip | LDU_FT | [
"<BEGIN>\n## `deploy`",
"Deploy network in equipments and set column 'active = 1' in tables redeipv4",
" :param id_networkv4: ID for NetworkIPv4",
" :return: Equipments configuration output\n<END>",
"<BEGIN>\n## `get_by_id`",
"Get IPv4 network",
" :param id_networkv4: ID for Network... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_by_equip API.
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 list_by_equip API.
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... | List all equipment access by equipment name
:return: Dictionary with the following structure:
::
{‘equipamento_acesso’:[ {'id': <id_equiptos_access>,
'equipamento': <id_equip>,
'fqdn': <fqdn>,
'user': <user>,
'password': <pass>
'... | "List all equipment access by equipment name\n\n :return: Dictionary with the following structure:\n\n ::\n\n {‘equipamento_acesso’:[ {'id': <id_equiptos_access>,\n 'equipamento': <id_equip>,\n 'fqdn': <fqdn>,\n 'user': <user>,\n 'password': <pass>\n ... | 1,966 | true | globocom/GloboNetworkAPI-client-python | list_by_equip | 9,482 | |
LDU_FT/dariosky/wfcli/create_le_verification_app | LDU_FT | [
"<BEGIN>\n## `is_website_affected`",
"Tell if the website is affected by the domain change\n<END>",
"<BEGIN>\n## `get_affected_domains`",
"Return a list of all affected domain and subdomains\n<END>",
"<BEGIN>\n## `website_exists_as_secure`",
"Return true if the website has an equivalent that is secure\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_le_verification_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_le_verification_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Create the let's encrypt app to verify the ownership of the domain | "Create the let's encrypt app to verify the ownership of the domain" | 22 | false | dariosky/wfcli | create_le_verification_app | 9,483 | |
LDU_FT/sigsep/sigsep-mus-eval/add_target | LDU_FT | [
"<BEGIN>\n## `_load_track_estimates`",
"load estimates from disk instead of processing\n<END>",
"<BEGIN>\n## `eval_dir`",
"Compute bss_eval metrics for two given directories assuming file\n names are identical for both, reference source and estimates.",
" Parameters\n ----------\n reference_dir ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_target API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_target API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | add target to scores Dictionary
Parameters
----------
target_name : str
name of target to be added to list of targets
values : List(Dict)
List of framewise data entries, see `musdb.schema.json` | "add target to scores Dictionary\n\n Parameters\n ----------\n target_name : str\n name of target to be added to list of targets\n values : List(Dict)\n List of framewise data entries, see `musdb.schema.json`" | 69 | false | sigsep/sigsep-mus-eval | add_target | 9,484 | |
LDU_FT/python-rope/rope/code_assist | LDU_FT | [
"<BEGIN>\n## `find_occurrences`",
"Return a list of `Location`\\s",
" If `unsure` is `True`, possible matches are returned, too. You\n can use `Location.unsure` to see which are unsure occurrences.\n `resources` can be a list of `rope.base.resource.File`\\s that\n should be searched for occurrences... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the code_assist API.
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 code_assist API.
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 python code completions as a list of `CodeAssistProposal`\s
`resource` is a `rope.base.resources.Resource` object. If
provided, relative imports are handled.
`maxfixes` is the maximum number of errors to fix if the code has
errors in it.
If `later_locals` is `False` names defined in this ... | "Return python code completions as a list of `CodeAssistProposal`\\s\n\n `resource` is a `rope.base.resources.Resource` object. If\n provided, relative imports are handled.\n\n `maxfixes` is the maximum number of errors to fix if the code has\n errors in it.\n\n If `later_locals` is `False` names define... | 312 | false | python-rope/rope | code_assist | 9,485 | |
LDU_FT/lra/mackup/get_apps_to_backup | LDU_FT | [
"<BEGIN>\n## `getFilepaths`",
"Get home and mackup filepaths for given file",
" Args:\n filename (str)",
" Returns:\n home_filepath, mackup_filepath (str, str)\n<END>",
"<BEGIN>\n## `backup`",
"Backup the application config files.",
" Algorithm:\n if... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_apps_to_backup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_apps_to_backup 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... | Get the list of applications that should be backed up by Mackup.
It's the list of allowed apps minus the list of ignored apps.
Returns:
(set) List of application names to back up | "Get the list of applications that should be backed up by Mackup.\n\n It's the list of allowed apps minus the list of ignored apps.\n\n Returns:\n (set) List of application names to back up" | 116 | false | lra/mackup | get_apps_to_backup | 9,486 | |
LDU_FT/timothydmorton/isochrones/lnlike | LDU_FT | [
"<BEGIN>\n## `interp_box`",
"box is 8x3 array, though not really a box",
" values is length-8 array, corresponding to values at the \"box\" coords",
" TODO: should make power `p` an argument\n<END>",
"<BEGIN>\n## `interp_values`",
"mass_arr, age_arr, feh_arr are all arrays at which values are desire... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lnlike API.
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 lnlike API.
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 ... | takes parameter vector, constructs pardict, returns sum of lnlikes of non-leaf nodes | "takes parameter vector, constructs pardict, returns sum of lnlikes of non-leaf nodes" | 314 | false | timothydmorton/isochrones | lnlike | 9,487 | |
LDU_FT/diamondman/proteusisc/build_byte_align_buff | LDU_FT | [
"<BEGIN>\n## `_get_adv_trans_stats`",
"Utility function to fetch the transfer statistics for the last\n advanced transfer. Checking the stats appears to sync the\n controller. For details on the advanced transfer please refer\n to the documentation at\n http://diamondman.github.io/Adap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_byte_align_buff API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_byte_align_buff API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Pad the left side of a bitarray with 0s to align its length with byte boundaries.
Args:
bits: A bitarray to be padded and aligned.
Returns:
A newly aligned bitarray. | "Pad the left side of a bitarray with 0s to align its length with byte boundaries.\n\n Args:\n bits: A bitarray to be padded and aligned.\n\n Returns:\n A newly aligned bitarray." | 114 | false | diamondman/proteusisc | build_byte_align_buff | 9,488 | |
LDU_FT/pybel/pybel/get_network_versions | LDU_FT | [
"<BEGIN>\n## `postpend_location`",
"Rip off the closing parentheses and adds canonicalized modification.",
" I did this because writing a whole new parsing model for the data would be sad and difficult",
" :param bel_string: BEL string representing node\n :param dict location_model: A dictionary cont... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_network_versions 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_network_versions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return all of the versions of a network with the given name. | "Return all of the versions of a network with the given name." | 1,164 | true | pybel/pybel | get_network_versions | 9,489 | |
LDU_FT/xoolive/traffic/vtas2mach | LDU_FT | [
"<BEGIN>\n## `closest_point_of_approach`",
"Computes a CPA dataframe for all pairs of trajectories candidates for\n being separated by less than lateral_separation in vertical_separation.",
" In order to be computed efficiently, the method needs the following\n parameters:",
" - projection: a firs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vtas2mach API.
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 vtas2mach API.
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... | True airspeed (tas) to mach number conversion | "True airspeed (tas) to mach number conversion" | 147 | false | xoolive/traffic | vtas2mach | 9,490 | |
LDU_FT/impact27/registrator/is_overexposed | LDU_FT | [
"<BEGIN>\n## `channel_width`",
"Get an estimation of the channel width.",
" Parameters:\n -----------\n im: 2d array\n The channel image\n chanangle: number, optional\n The angle of the channel (None if unknown)\n chanapproxangle: number, optional\n If chanangle is None, the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_overexposed API.
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 is_overexposed API.
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... | Simple test to check if image is overexposed
Parameters
----------
im: 2d array integer
the image
Returns
-------
overexposed: Bool
Is the image overexposed | "Simple test to check if image is overexposed\n\n Parameters\n ----------\n im: 2d array integer\n the image\n Returns\n -------\n overexposed: Bool\n Is the image overexposed" | 129 | false | impact27/registrator | is_overexposed | 9,491 | |
LDU_FT/eddieantonio/perfection/hash_parameters | LDU_FT | [
"<BEGIN>\n## `add_edge`",
"Add edge (u, v) to the graph. Raises InvariantError if adding the edge\n would form a cycle.\n<END>",
"<BEGIN>\n## `edges`",
"Edges of this graph, in canonical order.\n<END>",
"<BEGIN>\n## `ordered_deduplicate`",
"Returns the sequence as a tuple with the duplicates remove... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hash_parameters API.
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 hash_parameters API.
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... | Gives hash parameters for the given set of words.
>>> info = hash_parameters('sun mon tue wed thu fri sat'.split())
>>> len(info.t1)
21
>>> len(info.t2)
21
>>> len(info.g) # g values are 1-indexed...
22 | "Gives hash parameters for the given set of words.\n\n >>> info = hash_parameters('sun mon tue wed thu fri sat'.split())\n >>> len(info.t1)\n 21\n >>> len(info.t2)\n 21\n >>> len(info.g) # g values are 1-indexed...\n 22" | 64 | false | eddieantonio/perfection | hash_parameters | 9,492 | |
LDU_FT/jwkvam/bowtie/_run | LDU_FT | [
"<BEGIN>\n## `notify`",
"Notify the client.",
" The function passed to ``App.respond`` will get called.\n<END>",
"<BEGIN>\n## `validate`",
"Check that the key is a string or bytestring.",
" That's the only valid type of key.\n<END>",
"<BEGIN>\n## `pack`",
"Encode ``x`` into msgpack with addi... | 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 do... | 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 do... | Run command from terminal and notebook and view output from subprocess. | "Run command from terminal and notebook and view output from subprocess." | 82 | false | jwkvam/bowtie | _run | 9,493 | |
LDU_FT/v1k45/django-notify-x/mark_all | LDU_FT | [
"<BEGIN>\n## `include_notify_js_variables`",
"Inclusion template tag to include all JS variables required by the\n notify.js file on the HTML page around <script> tags.",
" Example::\n {% include_notify_js_variables %}",
" :return: Prepares context for rendering in the inclusion file.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mark_all API.
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 mark_all API.
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... | Marks notifications as either read or unread depending of POST parameters.
Takes ``action`` as POST data, it can either be ``read`` or ``unread``.
:param request: HTTP Request context.
:return: Response to mark_all action. | "Marks notifications as either read or unread depending of POST parameters.\n Takes ``action`` as POST data, it can either be ``read`` or ``unread``.\n\n :param request: HTTP Request context.\n\n :return: Response to mark_all action." | 92 | false | v1k45/django-notify-x | mark_all | 9,494 | |
LDU_FT/erinxocon/requests-xml/encoding | LDU_FT | [
"<BEGIN>\n## `raw_xml`",
"Bytes representation of the XML content.\n (`learn more <http://www.diveintopython3.net/strings.html>`_).\n<END>",
"<BEGIN>\n## `xml`",
"Unicode representation of the XML content\n (`learn more <http://www.diveintopython3.net/strings.html>`_).\n<END>",
"<BEGIN>\n## `p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encoding API.
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 encoding API.
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... | The encoding string to be used, extracted from the XML and
:class:`XMLResponse <XMLResponse>` header. | "The encoding string to be used, extracted from the XML and\n :class:`XMLResponse <XMLResponse>` header." | 33 | false | erinxocon/requests-xml | encoding | 9,495 | |
LDU_FT/shoeffner/pandoc-source-exec/finalize | LDU_FT | [
"<BEGIN>\n## `select_executor`",
"Determines the executor for the code in `elem.text`.",
" The elem attributes and classes select the executor in this order (highest\n to lowest):\n - custom commands (cmd=...)\n - runas (runas=...) takes a key for the executors\n - first element class... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finalize API.
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 finalize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Adds the pgfplots and caption packages to the header-includes if needed. | "Adds the pgfplots and caption packages to the header-includes if needed." | 55 | false | shoeffner/pandoc-source-exec | finalize | 9,496 | |
LDU_FT/captin411/ofxclient/serialize | LDU_FT | [
"<BEGIN>\n## `is_secure_option`",
"Test an option to see if it is secured or not.",
" :param section: section id\n :type section: string\n :param option: option name\n :type option: string\n :rtype: boolean\n otherwise.\n<END>",
"<BEGIN>\n## `items`",
"Get all items... | 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 predictably for use in configuration storage.
Output look like this::
{
'local_id': 'string',
'number': 'account num',
'description': 'descr',
'broker_id': 'may be missing - type dependent',
'routing_number':... | "Serialize predictably for use in configuration storage.\n\n Output look like this::\n\n {\n 'local_id': 'string',\n 'number': 'account num',\n 'description': 'descr',\n 'broker_id': 'may be missing - type dependent',\n 'routin... | 93 | false | captin411/ofxclient | serialize | 9,497 | |
LDU_FT/tisimst/mcerp/Pareto | LDU_FT | [
"<BEGIN>\n## `correlate`",
"Force a correlation matrix on a set of statistically distributed objects.\r\n This function works on objects in-place.\r",
" Parameters\r\n ----------\r\n params : array\r\n An array of of uv objects.\r\n corrmat : 2d-array\r\n The correlation matrix to b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Pareto API.
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 Pareto API.
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 ... | A Pareto random variate (first kind)
Parameters
----------
q : scalar
The scale parameter
a : scalar
The shape parameter (the minimum possible value) | "A Pareto random variate (first kind)\n \n Parameters\n ----------\n q : scalar\n The scale parameter\n a : scalar\n The shape parameter (the minimum possible value)" | 166 | false | tisimst/mcerp | Pareto | 9,498 | |
LDU_FT/jlesquembre/jlle/ask | LDU_FT | [
"<BEGIN>\n## `no_input`",
"Return whether the user wants to run in no-input mode.",
" Enable this mode by adding a ``no-input`` option::",
" [zest.releaser]\n no-input = yes",
" The default when this option has not been set is False.",
" Standard config rules app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ask API.
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 ask API.
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... | Ask the question in y/n form and return True/False.
If you don't want a default 'yes', set default to None (or to False if you
want a default 'no').
With exact=True, we want to get a literal 'yes' or 'no', at least
when it does not match the default. | "Ask the question in y/n form and return True/False.\n\n If you don't want a default 'yes', set default to None (or to False if you\n want a default 'no').\n\n With exact=True, we want to get a literal 'yes' or 'no', at least\n when it does not match the default." | 77 | false | jlesquembre/jlle | ask | 9,499 | |
LDU_FT/Kraymer/high/extract_mail | LDU_FT | [
"<BEGIN>\n## `coerce_file`",
"Coerce file content to something useful for setuptools.setup(), turn :\n .py into mock object by extracting __special__ attributes values\n .md into rst text. Remove images with \"[nopypi\" alt text and emojis\n :url: https://github.com/Kraymer/setupgoon\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_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.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_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.
The extr... | Extract mails that sometimes leak from issue comments. | "Extract mails that sometimes leak from issue comments." | 10 | false | Kraymer/high | extract_mail | 9,500 | |
LDU_FT/NiklasRosenstein-Python/nr-deprecated/enqueue | LDU_FT | [
"<BEGIN>\n## `skip`",
"Must be called from within `__enter__()`. Performs some magic to have a\n #ContextSkipped exception be raised the moment the with context is entered.\n The #ContextSkipped must then be handled in `__exit__()` to suppress the\n propagation of the exception.",
" > Important: This functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enqueue API.
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 enqueue API.
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... | Enqueue a future to be processed by one of the threads in the pool.
The future must be bound to a worker and not have been started yet. | "Enqueue a future to be processed by one of the threads in the pool.\n The future must be bound to a worker and not have been started yet." | 305 | false | NiklasRosenstein-Python/nr-deprecated | enqueue | 9,501 | |
LDU_FT/reingart/pyafipws/ConsultarCertificacion | LDU_FT | [
"<BEGIN>\n## `__analizar_errores`",
"Comprueba y extrae errores si existen en la respuesta XML\n<END>",
"<BEGIN>\n## `__analizar_controles`",
"Comprueba y extrae controles si existen en la respuesta XML\n<END>",
"<BEGIN>\n## `Dummy`",
"Obtener el estado de los servidores de la AFIP\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ConsultarCertificacion 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 ConsultarCertificacion API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Consulta una certificacion por No de orden o COE | "Consulta una certificacion por No de orden o COE" | 334 | false | reingart/pyafipws | ConsultarCertificacion | 9,502 | |
LDU_FT/awslabs/aws-serverlessrepo-python/make_application_private | LDU_FT | [
"<BEGIN>\n## `validate`",
"Check if the formats of principals and actions are valid.",
" :return: True, if the policy is valid\n :raises: InvalidApplicationPolicyError\n<END>",
"<BEGIN>\n## `publish_application`",
"Create a new application or new application version in SAR.",
" :param tem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_application_private 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 make_application_private API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Set the application to be private.
:param application_id: The Amazon Resource Name (ARN) of the application
:type application_id: str
:param sar_client: The boto3 client used to access SAR
:type sar_client: boto3.client
:raises ValueError | "Set the application to be private.\n\n :param application_id: The Amazon Resource Name (ARN) of the application\n :type application_id: str\n :param sar_client: The boto3 client used to access SAR\n :type sar_client: boto3.client\n :raises ValueError" | 51 | false | awslabs/aws-serverlessrepo-python | make_application_private | 9,503 | |
LDU_FT/rasbt/biopandas/split_multimol2 | LDU_FT | [
"<BEGIN>\n## `docstring_to_markdown`",
"Convert a Python object's docstring to markdown",
" Parameters\n ----------\n docstring : str\n The docstring body.",
" Returns\n ----------\n clean_lst : list\n The markdown formatted docstring as lines (str) in a Python list.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_multimol2 API.
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 split_multimol2 API.
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... | r"""
Splits a multi-mol2 file into individual Mol2 file contents.
Parameters
-----------
mol2_path : str
Path to the multi-mol2 file. Parses gzip files if the filepath
ends on .gz.
Returns
-----------
A generator object for lists for every extracted mol2-file. Lists contain
... | "r\"\"\"\n Splits a multi-mol2 file into individual Mol2 file contents.\n\n Parameters\n -----------\n mol2_path : str\n Path to the multi-mol2 file. Parses gzip files if the filepath\n ends on .gz.\n\n Returns\n -----------\n A generator object for lists for every extracted mol2-file. Li... | 110 | false | rasbt/biopandas | split_multimol2 | 9,504 | |
LDU_FT/outini/python-pylls/request | LDU_FT | [
"<BEGIN>\n## `request`",
"Handle requests to API",
" :param str path: API endpoint's path to request\n :param str method: HTTP method to use\n :param dict data: Data to send (optional)\n :return: Parsed json response as :class:`dict`",
" Additional named argument may be pass... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
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 request API.
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... | Handle requests to API
:param str path: API endpoint's path to request
:param str method: HTTP method to use
:param dict data: Data to send (optional)
:return: Parsed json response as :class:`dict`
Additional named argument may be passed and are directly transmitted
to ... | "Handle requests to API\n\n :param str path: API endpoint's path to request\n :param str method: HTTP method to use\n :param dict data: Data to send (optional)\n :return: Parsed json response as :class:`dict`\n\n Additional named argument may be passed and are directly transmitted\n ... | 71 | false | outini/python-pylls | request | 9,505 | |
LDU_FT/codeinn/vcs/annotate_from_changeset | LDU_FT | [
"<BEGIN>\n## `make_ui`",
"A funcion that will read python rc files and make an ui from read options",
" :param path: path to mercurial config file\n<END>",
"<BEGIN>\n## `status`",
"Returns modified, added, removed, deleted files for current changeset\n<END>",
"<BEGIN>\n## `_fix_path`",
"Paths are sto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the annotate_from_changeset 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 annotate_from_changeset 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 full html line for single changeset per annotated line. | "Returns full html line for single changeset per annotated line." | 326 | false | codeinn/vcs | annotate_from_changeset | 9,506 | |
LDU_FT/scidash/sciunit/strip_line_magic | LDU_FT | [
"<BEGIN>\n## `mean`",
"Compute a total score for each model over all the tests.",
" Uses the `norm_score` attribute, since otherwise direct comparison\n across different kinds of scores would not be possible.\n<END>",
"<BEGIN>\n## `to_html`",
"Extend Pandas built in `to_html` method for render... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip_line_magic API.
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 strip_line_magic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Handles lines that contain get_ipython.run_line_magic() commands | "Handles lines that contain get_ipython.run_line_magic() commands" | 128 | false | scidash/sciunit | strip_line_magic | 9,507 | |
LDU_FT/FutunnOpen/futuquant/get_multiple_history_kline | LDU_FT | [
"<BEGIN>\n## `unpack_rsp`",
"Convert from PLS response to user response\n<END>",
"<BEGIN>\n## `getJsonPath`",
"获取JSON配置文件的路径:\n 1. 优先从当前工作目录查找JSON文件\n 2. 若无法找到则前往模块所在目录查找\n<END>",
"<BEGIN>\n## `set_client_info`",
".. py:function:: set_client_info(cls, client_id, client_ver)",
" 设置调用api的客户端... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_multiple_history_kline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_multiple_history_kline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | 获取多只股票的本地历史k线数据
:param codelist: 股票代码列表,list或str。例如:['HK.00700', 'HK.00001'],'HK.00700,HK.00001'
:param start: 起始时间,例如'2017-06-20'
:param end: 结束时间, 例如'2017-07-20',start与end组合关系参见 get_history_kline_
:param ktype: k线类型,参见KLType
:param autype: 复权类型,参见AuType
:return: 成功时返回(... | "获取多只股票的本地历史k线数据\n\n :param codelist: 股票代码列表,list或str。例如:['HK.00700', 'HK.00001'],'HK.00700,HK.00001'\n :param start: 起始时间,例如'2017-06-20'\n :param end: 结束时间, 例如'2017-07-20',start与end组合关系参见 get_history_kline_\n :param ktype: k线类型,参见KLType\n :param autype: 复权类型,参见AuType\n :return... | 288 | false | FutunnOpen/futuquant | get_multiple_history_kline | 9,508 | |
LDU_FT/hhatto/autopep8/get_w605_position | LDU_FT | [
"<BEGIN>\n## `continued_indentation`",
"Override pycodestyle's function to provide indentation information.\n<END>",
"<BEGIN>\n## `get_w605_position`",
"workaround get pointing out position by W605.\n<END>",
"<BEGIN>\n## `get_module_imports_on_top_of_file`",
"return import or from keyword position",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_w605_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_w605_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | workaround get pointing out position by W605. | "workaround get pointing out position by W605." | 139 | false | hhatto/autopep8 | get_w605_position | 9,509 | |
LDU_FT/huge-success/sanic/static | LDU_FT | [
"<BEGIN>\n## `group`",
"Create a list of blueprints, optionally grouping them under a\n general URL prefix.",
" :param blueprints: blueprints to be registered as a group\n :param url_prefix: URL route to be prepended to all sub-prefixes\n<END>",
"<BEGIN>\n## `register`",
"Register the b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the static API.
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 static API.
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 ... | Create a blueprint static route from a decorated function.
:param uri: endpoint at which the route will be accessible.
:param file_or_directory: Static asset. | "Create a blueprint static route from a decorated function.\n\n :param uri: endpoint at which the route will be accessible.\n :param file_or_directory: Static asset." | 238 | false | huge-success/sanic | static | 9,510 | |
LDU_FT/Cog-Creators/Red-Lavalink/load_tracks | LDU_FT | [
"<BEGIN>\n## `wait_until_ready`",
"Waits for the underlying node to become ready.",
" If no_raise is set, returns false when a timeout occurs instead of propogating TimeoutError.\n A timeout of None means to wait indefinitely.\n<END>",
"<BEGIN>\n## `connect`",
"Connects to the voice channel as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_tracks API.
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 load_tracks API.
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... | Executes a loadtracks request. Only works on Lavalink V3.
Parameters
----------
query : str
Returns
-------
LoadResult | "Executes a loadtracks request. Only works on Lavalink V3.\n\n Parameters\n ----------\n query : str\n\n Returns\n -------\n LoadResult" | 103 | false | Cog-Creators/Red-Lavalink | load_tracks | 9,511 | |
LDU_FT/saltant-org/saltant-py/terminate | LDU_FT | [
"<BEGIN>\n## `sync`",
"Sync this model with latest data on the saltant server.",
" Note that in addition to returning the updated object, it also\n updates the existing object.",
" Returns:\n :class:`saltant.models.base_task_type.BaseTaskType`:\n This task type i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the terminate API.
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 terminate API.
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... | Terminate the task instance with given UUID.
Args:
uuid (str): The UUID of the task instance to terminate.
Returns:
:class:`saltant.models.base_task_instance.BaseTaskInstance`:
A task instance model instance representing the task
instance that wa... | "Terminate the task instance with given UUID.\n\n Args:\n uuid (str): The UUID of the task instance to terminate.\n\n Returns:\n :class:`saltant.models.base_task_instance.BaseTaskInstance`:\n A task instance model instance representing the task\n instanc... | 134 | false | saltant-org/saltant-py | terminate | 9,512 | |
LDU_FT/onicagroup/runway/calculate_hash_of_files | LDU_FT | [
"<BEGIN>\n## `fix_hyphen_commands`",
"Update options to match their module names with underscores.\n<END>",
"<BEGIN>\n## `calculate_hash_of_files`",
"Return a hash of all of the given files at the given root.",
" Adapted from stacker.hooks.aws_lambda; used according to its license:\n https://github.co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_hash_of_files 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 calculate_hash_of_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return a hash of all of the given files at the given root.
Adapted from stacker.hooks.aws_lambda; used according to its license:
https://github.com/cloudtools/stacker/blob/1.4.0/LICENSE
Args:
files (list[str]): file names to include in the hash calculation,
relative to ``root``.
... | "Return a hash of all of the given files at the given root.\n\n Adapted from stacker.hooks.aws_lambda; used according to its license:\n https://github.com/cloudtools/stacker/blob/1.4.0/LICENSE\n\n Args:\n files (list[str]): file names to include in the hash calculation,\n relative to ``root``... | 130 | false | onicagroup/runway | calculate_hash_of_files | 9,513 | |
LDU_FT/larryng/narwal/submit_text | LDU_FT | [
"<BEGIN>\n## `get`",
"Sends a GET request to a reddit path determined by ``args``. Basically ``.get('foo', 'bar', 'baz')`` will GET http://www.reddit.com/foo/bar/baz/.json. ``kwargs`` supplied will be passed to :meth:`requests.get` after having ``user_agent`` and ``cookies`` injected. Injection only occurs if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Submit self text submission to this subreddit (POST). Calls :meth:`narwal.Reddit.submit_text`.
:param title: title of submission
:param text: self text | "Submit self text submission to this subreddit (POST). Calls :meth:`narwal.Reddit.submit_text`.\n \n :param title: title of submission\n :param text: self text" | 147 | false | larryng/narwal | submit_text | 9,514 | |
LDU_FT/jayclassless/basicserial/to_yaml | LDU_FT | [
"<BEGIN>\n## `to_json`",
"Serializes the given value to JSON.",
" :param value: the value to serialize\n :param pretty:\n whether or not to format the output in a more human-readable way; if\n not specified, defaults to ``False``\n :type pretty: bool\n :rtype: str\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_yaml API.
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 to_yaml API.
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... | Serializes the given value to YAML.
:param value: the value to serialize
:param pretty:
whether or not to format the output in a more human-readable way; if
not specified, defaults to ``False``
:type pretty: bool
:rtype: str | "Serializes the given value to YAML.\n\n :param value: the value to serialize\n :param pretty:\n whether or not to format the output in a more human-readable way; if\n not specified, defaults to ``False``\n :type pretty: bool\n :rtype: str" | 18 | false | jayclassless/basicserial | to_yaml | 9,515 | |
LDU_FT/msztolcman/versionner/create_tag | LDU_FT | [
"<BEGIN>\n## `parse_args`",
"Parse input arguments of script.",
" :param args: list of parameters\n :type: argparse.Namespace\n :param cfg: configuration storage\n :type: Config\n<END>",
"<BEGIN>\n## `_find_project_config_file`",
"Find path to project-wide config file\n Search from current wo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_tag API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_tag API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Create VCS tag
:param version:
:param params:
:return: | "Create VCS tag\n\n :param version:\n :param params:\n :return:" | 61 | false | msztolcman/versionner | create_tag | 9,516 | |
LDU_FT/angr/claripy/unsat_core | LDU_FT | [
"<BEGIN>\n## `_align_ast`",
"Aligns the AST so that the argument with the highest cardinality is on the left.",
" :return: a new AST.\n<END>",
"<BEGIN>\n## `_doit`",
"This function processes the list of truisms and finds bounds for ASTs.\n<END>",
"<BEGIN>\n## `_handleable_truism`",
"Checks whethe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unsat_core API.
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 unsat_core API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | This function returns the unsat core from the backend solver.
:param s: A backend solver object.
:return: The unsat core. | "This function returns the unsat core from the backend solver.\n\n :param s: A backend solver object.\n :return: The unsat core." | 453 | false | angr/claripy | unsat_core | 9,517 | |
LDU_FT/toastdriven/restless/prepare | LDU_FT | [
"<BEGIN>\n## `skip_prepare`",
"A convenience decorator for indicating the raw data should not be prepared.\n<END>",
"<BEGIN>\n## `as_view`",
"Used for hooking up the all endpoints (including custom ones), this\n returns a wrapper function that creates a new instance of the resource\n class & cal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
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 prepare API.
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... | Handles passing each item in the collection data to the configured
subpreparer.
Uses a loop and the ``get_inner_data`` method to provide the correct
item of the data.
Returns a list of data as the response. | "Handles passing each item in the collection data to the configured\n subpreparer.\n\n Uses a loop and the ``get_inner_data`` method to provide the correct\n item of the data.\n\n Returns a list of data as the response." | 94 | false | toastdriven/restless | prepare | 9,518 | |
LDU_FT/helium/helium-python/to_many | LDU_FT | [
"<BEGIN>\n## `error_for`",
"Return the appropriate initialized exception class for a response.\n<END>",
"<BEGIN>\n## `device_configuration`",
"Get a specific device configuration.",
" A device can have at most one loaded and one pending device\n configuration. This returns that device_configur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_many API.
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 to_many API.
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... | Create a one to many relation to a given target :class:`Resource`.
Args:
dest_class(Resource): The *target* class for the relationship
Keyword Args:
type(RelationType): The relationship approach to use.
writable(bool): Whether the relationship is mutable.
reverse(to_may or to... | "Create a one to many relation to a given target :class:`Resource`.\n\n Args:\n\n dest_class(Resource): The *target* class for the relationship\n\n Keyword Args:\n\n type(RelationType): The relationship approach to use.\n writable(bool): Whether the relationship is mutable.\n reverse(t... | 223 | false | helium/helium-python | to_many | 9,519 | |
LDU_FT/tsroten/pynlpir/_get_pos_name | LDU_FT | [
"<BEGIN>\n## `open`",
"Initializes the NLPIR API.",
" This calls the function :func:`~pynlpir.nlpir.Init`.",
" :param str data_dir: The absolute path to the directory that has NLPIR's\n `Data` directory (defaults to :data:`pynlpir.nlpir.PACKAGE_DIR`).\n :param str encoding: The encoding that t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_pos_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_pos_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Gets the part of speech name for *pos_code*. | "Gets the part of speech name for *pos_code*." | 40 | false | tsroten/pynlpir | _get_pos_name | 9,520 | |
LDU_FT/MartinThoma/mpu/get_currency | LDU_FT | [
"<BEGIN>\n## `timing`",
"Measure the execution time of a function call and print the result.\n<END>",
"<BEGIN>\n## `deprecated`",
"Mark functions as deprecated.",
" It will result in a warning being emitted when the function is used.\n<END>",
"<BEGIN>\n## `get_currency`",
"Convert an identifier for a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_currency API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_currency API.
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 an identifier for a currency into a currency object.
Parameters
----------
currency_str : str
Returns
-------
currency : Currency | "Convert an identifier for a currency into a currency object.\n\n Parameters\n ----------\n currency_str : str\n\n Returns\n -------\n currency : Currency" | 255 | false | MartinThoma/mpu | get_currency | 9,521 | |
LDU_FT/django-admin-tools/django-admin-tools/admin_tools_render_dashboard_module | LDU_FT | [
"<BEGIN>\n## `set_preferences`",
"This view serves and validates a preferences form.\n<END>",
"<BEGIN>\n## `admin_tools_render_menu`",
"Template tag that renders the menu, it takes an optional ``Menu`` instance\n as unique argument, if not given, the menu will be retrieved with the\n ``get_admin_menu`` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the admin_tools_render_dashboard_module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the admin_tools_render_dashboard_module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | Template tag that renders a given dashboard module, it takes a
``DashboardModule`` instance as first parameter. | "Template tag that renders a given dashboard module, it takes a\n ``DashboardModule`` instance as first parameter." | 60 | false | django-admin-tools/django-admin-tools | admin_tools_render_dashboard_module | 9,522 | |
LDU_FT/prompt-toolkit/pyvim/list_open_buffers | LDU_FT | [
"<BEGIN>\n## `_try_char`",
"Return `character` if it can be encoded using sys.stdout, else return the\n backup character.\n<END>",
"<BEGIN>\n## `_bufferlist_overlay_visible`",
"True when the buffer list overlay should be displayed.\n (This is when someone starts typing ':b' or ':buffer' in the command l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_open_buffers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_open_buffers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return a `OpenBufferInfo` list that gives information about the
open buffers. | "Return a `OpenBufferInfo` list that gives information about the\n open buffers." | 76 | false | prompt-toolkit/pyvim | list_open_buffers | 9,523 | |
LDU_FT/xtrementl/focus/_get_checksum | LDU_FT | [
"<BEGIN>\n## `_new_token`",
"Appends new token to token stream.",
" `chars`\n List of token characters. Defaults to current token list.\n `line_no`\n Line number for token. Defaults to current line number.\n<END>",
"<BEGIN>\n## `_process_string`",
"Process... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_checksum API.
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 _get_checksum API.
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... | Generates a md5 checksum of the file at the specified path.
`path`
Path to file for checksum.
Returns string or ``None`` | "Generates a md5 checksum of the file at the specified path.\n\n `path`\n Path to file for checksum.\n\n Returns string or ``None``" | 413 | false | xtrementl/focus | _get_checksum | 9,524 | |
LDU_FT/the01/python-paps/_do_config_packet | LDU_FT | [
"<BEGIN>\n## `format_message_type`",
"Get printable version for message type",
" :param message_type: Message type\n :type message_type: int\n :return: Printable version\n :rtype: str\n<END>",
"<BEGIN>\n## `format_data`",
"Format bytes for printing",
" :param data: Bytes\n :type data: No... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_config_packet API.
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 _do_config_packet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Apply config to this instance
:param packet: Packet with config
:type packet: paps.si.app.message.APPMessage
:param ip: Ip of server
:type ip: str
:param port: Port of server
:type port: int
:rtype: None | "Apply config to this instance\n\n :param packet: Packet with config\n :type packet: paps.si.app.message.APPMessage\n :param ip: Ip of server\n :type ip: str\n :param port: Port of server\n :type port: int\n :rtype: None" | 182 | false | the01/python-paps | _do_config_packet | 9,525 | |
LDU_FT/coded-by-hand/mass/parse_editable | LDU_FT | [
"<BEGIN>\n## `get_requirement_from_url`",
"Get a requirement from the URL, if possible. This looks for #egg\n in the URL\n<END>",
"<BEGIN>\n## `package_to_requirement`",
"Translate a name like Foo-1.2 to Foo==1.3\n<END>",
"<BEGIN>\n## `get_mirrors`",
"Return the list of mirrors from the last record fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_editable API.
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 parse_editable API.
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... | Parses svn+http://blahblah@rev#egg=Foobar into a requirement
(Foobar) and a URL | "Parses svn+http://blahblah@rev#egg=Foobar into a requirement\n (Foobar) and a URL" | 105 | false | coded-by-hand/mass | parse_editable | 9,526 | |
LDU_FT/zalando/patroni/pg_isready | LDU_FT | [
"<BEGIN>\n## `create_connection`",
"This method is trying to establish connection with one of the zookeeper nodes.\n Somehow strategy \"fail earlier and retry more often\" works way better comparing to\n the original strategy \"try to connect with specified timeout\".\n Since we want... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pg_isready API.
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 pg_isready API.
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... | Runs pg_isready to see if PostgreSQL is accepting connections.
:returns: 'ok' if PostgreSQL is up, 'reject' if starting up, 'no_resopnse' if not up. | "Runs pg_isready to see if PostgreSQL is accepting connections.\n\n :returns: 'ok' if PostgreSQL is up, 'reject' if starting up, 'no_resopnse' if not up." | 228 | false | zalando/patroni | pg_isready | 9,527 | |
LDU_FT/tariqdaouda/rabaDB/count | LDU_FT | [
"<BEGIN>\n## `removeFromRegistery`",
"Removes an object/rabalist from registery. This is useful if you want to allow the garbage collector to free the memory\n\ttaken by the objects you've already loaded. Be careful might cause some discrepenties in your scripts. For objects,\n\tcascades to free the registeries o... | 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... | Compile filters and counts the number of results. You can use sqlTail to add things such as order by | "Compile filters and counts the number of results. You can use sqlTail to add things such as order by" | 55 | false | tariqdaouda/rabaDB | count | 9,528 | |
LDU_FT/quantifiedcode/checkmate/get_fingerprint_from_code | LDU_FT | [
"<BEGIN>\n## `get_first_date_for_group`",
":param start: start date\n :n : how many groups we want to get\n :group_type : daily, weekly, monthly\n<END>",
"<BEGIN>\n## `get_snapshots`",
"Returns a list of snapshots in a given repository.\n<END>",
"<BEGIN>\n## `diff_objects`",
"Returns ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fingerprint_from_code 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 get_fingerprint_from_code API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | This function generates a fingerprint from a series of code snippets.
Can be used by derived analyzers to generate fingerprints based on code
if nothing better is available. | "This function generates a fingerprint from a series of code snippets.\n\n Can be used by derived analyzers to generate fingerprints based on code\n if nothing better is available." | 35 | false | quantifiedcode/checkmate | get_fingerprint_from_code | 9,529 | |
LDU_FT/scot-dev/scot/pCOH | LDU_FT | [
"<BEGIN>\n## `ignore_patterns`",
"Function that can be used as copytree() ignore parameter.",
" Patterns is a sequence of glob-style patterns\n that are used to exclude files\n<END>",
"<BEGIN>\n## `copytree`",
"Recursively copy a directory tree using copy2().",
" The destination directory must no... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pCOH API.
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 pCOH API.
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... | Partial coherence.
.. math:: \mathrm{pCOH}_{ij}(f) = \\frac{G_{ij}(f)}
{\sqrt{G_{ii}(f) G_{jj}(f)}}
References
----------
P. J. Franaszczuk, K. J. Blinowska, M. Kowalczyk. The application of
parametric multichannel spectral estima... | "Partial coherence.\n\n .. math:: \\mathrm{pCOH}_{ij}(f) = \\\\frac{G_{ij}(f)}\n {\\sqrt{G_{ii}(f) G_{jj}(f)}}\n\n References\n ----------\n P. J. Franaszczuk, K. J. Blinowska, M. Kowalczyk. The application of\n parametric multichannel sp... | 381 | false | scot-dev/scot | pCOH | 9,530 | |
LDU_FT/pytorch/tnt/add | LDU_FT | [
"<BEGIN>\n## `add`",
"Computes the confusion matrix of K x K size where K is no of classes",
" Args:\n predicted (tensor): Can be an N x K tensor of predicted scores obtained from\n the model for N examples and K classes or an N-tensor of\n integer values between ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
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 add API.
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... | Computes the confusion matrix of K x K size where K is no of classes
Args:
predicted (tensor): Can be an N x K tensor of predicted scores obtained from
the model for N examples and K classes or an N-tensor of
integer values between 0 and K-1.
target (tens... | "Computes the confusion matrix of K x K size where K is no of classes\n\n Args:\n predicted (tensor): Can be an N x K tensor of predicted scores obtained from\n the model for N examples and K classes or an N-tensor of\n integer values between 0 and K-1.\n targe... | 32 | false | pytorch/tnt | add | 9,531 | |
LDU_FT/ultrabug/py3status/dict_key | LDU_FT | [
"<BEGIN>\n## `load_from_file`",
"Return user-written class object from given path.\n<END>",
"<BEGIN>\n## `prepare_module`",
"Ready the module to get it ready to start.\n<END>",
"<BEGIN>\n## `error_output`",
"Something is wrong with the module so we want to output the error to\n the i3bar\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Find the next key in a dict. We skip any newlines and check for if the
dict has ended. | "Find the next key in a dict. We skip any newlines and check for if the\n dict has ended." | 514 | false | ultrabug/py3status | dict_key | 9,532 | |
LDU_FT/Kopachris/seshet/_log_to_file | LDU_FT | [
"<BEGIN>\n## `_add_channel_names`",
"Add a new channel to self.channels and initialize its user list.",
" Called as event handler for RPL_NAMES events. Do not call directly.\n<END>",
"<BEGIN>\n## `join`",
"Add this user to the channel's user list and add the channel to this\n user's list of jo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log_to_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Override `log()` if bot is not initialized with a database
connection. Do not call this method directly. | "Override `log()` if bot is not initialized with a database\n connection. Do not call this method directly." | 49 | false | Kopachris/seshet | _log_to_file | 9,533 | |
LDU_FT/jmurty/xml4h/siblings_before | LDU_FT | [
"<BEGIN>\n## `ignore_whitespace_text_nodes`",
"Find and delete any text nodes containing nothing but whitespace in\n in the given node and its descendents.",
" This is useful for cleaning up excess low-value text nodes in a\n document DOM after parsing a pretty-printed XML document.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the siblings_before API.
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 siblings_before API.
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: a list of this node's siblings that occur *before* this
node in the DOM. | ":return: a list of this node's siblings that occur *before* this\n node in the DOM." | 155 | false | jmurty/xml4h | siblings_before | 9,534 | |
LDU_FT/timothydmorton/VESPA/apply_trend_constraint | LDU_FT | [
"<BEGIN>\n## `from_df`",
"Builds TripleOrbitPopulation from DataFrame",
" ``DataFrame`` objects must be of appropriate form to pass\n to :func:`OrbitPopulation.from_df`.",
" :param df_long, df_short:\n :class:`pandas.DataFrame` objects to pass to\n :func:`OrbitPopula... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_trend_constraint 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 apply_trend_constraint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Constrains change in RV to be less than limit over time dt.
Only works if ``dRV`` and ``Plong`` attributes are defined
for population.
:param limit:
Radial velocity limit on trend. Must be
:class:`astropy.units.Quantity` object, or
else interpreted as m/s.
... | "Constrains change in RV to be less than limit over time dt.\n\n Only works if ``dRV`` and ``Plong`` attributes are defined\n for population.\n\n :param limit:\n Radial velocity limit on trend. Must be\n :class:`astropy.units.Quantity` object, or\n else interpreted... | 495 | false | timothydmorton/VESPA | apply_trend_constraint | 9,535 | |
LDU_FT/rameshg87/pyremotevbox/serialize | LDU_FT | [
"<BEGIN>\n## `_check_typecode_list`",
"Check a list of typecodes for compliance with Struct\n requirements.\n<END>",
"<BEGIN>\n## `_get_type_or_substitute`",
"return typecode or substitute type for wildcard or\n derived type. For serialization only.\n<END>",
"<BEGIN>\n## `setDerivedTypeContents`",
... | 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... | Handles the start and end tags, and attributes. callout
to get_formatted_content to get the textNode value.
Parameters:
elt -- ElementProxy/DOM element
sw -- SoapWriter instance
pyobj -- processed content
KeyWord Parameters:
name -- ... | "Handles the start and end tags, and attributes. callout\n to get_formatted_content to get the textNode value.\n Parameters:\n elt -- ElementProxy/DOM element \n sw -- SoapWriter instance\n pyobj -- processed content\n \n KeyWord Parameters:\n ... | 529 | false | rameshg87/pyremotevbox | serialize | 9,536 | |
LDU_FT/django-crispy-forms/django-crispy-forms/as_crispy_field | LDU_FT | [
"<BEGIN>\n## `do_uni_form`",
"You need to pass in at least the form/formset object, and can also pass in the\n optional `crispy_forms.helpers.FormHelper` object.",
" helper (optional): A `crispy_forms.helper.FormHelper` object.",
" Usage::",
" {% load crispy_tags %}\n {% crispy form f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_crispy_field API.
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 as_crispy_field API.
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... | Renders a form field like a django-crispy-forms field::
{% load crispy_forms_tags %}
{{ form.field|as_crispy_field }}
or::
{{ form.field|as_crispy_field:"bootstrap" }} | "Renders a form field like a django-crispy-forms field::\n\n {% load crispy_forms_tags %}\n {{ form.field|as_crispy_field }}\n\n or::\n\n {{ form.field|as_crispy_field:\"bootstrap\" }}" | 89 | false | django-crispy-forms/django-crispy-forms | as_crispy_field | 9,537 | |
LDU_FT/tommyod/streprogen/escape_string | LDU_FT | [
"<BEGIN>\n## `_set_scalers`",
"Set the variables self._scalers as given by self.scalers,\n if self.scalers is None, then a default value is used.\n<END>",
"<BEGIN>\n## `_validate`",
"The purpose of this method is to verify that the user has set sensible\n values for the training program before r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_string API.
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 escape_string API.
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... | Remove problematic characters.
Parameters
----------
text
A string with potentially problematic characters.
Returns
-------
string
The text with characters removed.
Examples
-------
>>> s = r'hello_world$here'
>>> escape_string(s) == r'helloworldhere'
True | "Remove problematic characters.\n\n Parameters\n ----------\n text\n A string with potentially problematic characters.\n\n Returns\n -------\n string\n The text with characters removed.\n\n\n Examples\n -------\n >>> s = r'hello_world$here'\n >>> escape_string(s) == r'hellowo... | 129 | false | tommyod/streprogen | escape_string | 9,538 | |
LDU_FT/mickbad/mblibs/weekday_yesterday | LDU_FT | [
"<BEGIN>\n## `reload`",
"fonction de chargement automatique de la configuration\n\t\t\tdepuis le fichier extérieur\n<END>",
"<BEGIN>\n## `get`",
"Récupération d'une configuration \n\t\t\tle paramètre ```name``` peut être soit un nom ou \n\t\t\tun chemin vers la valeur (séparateur /)",
"\t\t\t```parent_searc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weekday_yesterday API.
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 weekday_yesterday API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Retourne la date d'hier depuis maintenant ou depuis une date fournie
seulement sur les jours de semaine.
Ainsi vendredi devient jeudi et lundi devient vendredi
:param: :date_from date de référence
:return datetime | "Retourne la date d'hier depuis maintenant ou depuis une date fournie\n\t\tseulement sur les jours de semaine.\n\t\tAinsi vendredi devient jeudi et lundi devient vendredi\n\n\t\t:param: :date_from date de référence\n\t\t:return datetime" | 52 | false | mickbad/mblibs | weekday_yesterday | 9,539 | |
LDU_FT/HewlettPackard/python-hpOneView/create_interconnect | LDU_FT | [
"<BEGIN>\n## `get_visual_content`",
"Gets a list of visual content objects describing each rack within the data center. The response aggregates data\n center and rack data with a specified metric (peak24HourTemp) to provide simplified access to display data for\n the data center.",
" Args:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_interconnect 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 create_interconnect 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... | Creates an interconnect at the given location.
Warning:
It does not create the LOGICAL INTERCONNECT itself.
It will fail if no interconnect is already present on the specified position.
Args:
location_entries (dict): Dictionary with location entries.
tim... | "Creates an interconnect at the given location.\n\n Warning:\n It does not create the LOGICAL INTERCONNECT itself.\n It will fail if no interconnect is already present on the specified position.\n\n Args:\n location_entries (dict): Dictionary with location entries.\n ... | 1,297 | true | HewlettPackard/python-hpOneView | create_interconnect | 9,540 | |
LDU_FT/discontinue/django-secure-js-login/get_pseudo_salt | LDU_FT | [
"<BEGIN>\n## `get_salt`",
"return the user password salt.\n If the user doesn't exist return a pseudo salt.\n<END>",
"<BEGIN>\n## `display_login_info`",
"Create a message, after login.",
" Because this signal receiver will be called **after** auth.models.update_last_login(), the\n user.last_login i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pseudo_salt API.
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 get_pseudo_salt API.
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... | generate a pseudo salt (used, if user is wrong) | "generate a pseudo salt (used, if user is wrong)" | 30 | false | discontinue/django-secure-js-login | get_pseudo_salt | 9,541 | |
LDU_FT/deontologician/restnavigator/delete | LDU_FT | [
"<BEGIN>\n## `cache`",
"Stores a navigator in the identity map for the current\n api. Can take a link or a bare uri\n<END>",
"<BEGIN>\n## `get_cached`",
"Retrieves a cached navigator from the id_map.",
" Either a Link object or a bare uri string may be passed in.\n<END>",
"<BEGIN>\n## `is_ca... | 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 ... | Performs an HTTP DELETE to the server, to delete resource(s).
`headers` are additional headers to send in the request | "Performs an HTTP DELETE to the server, to delete resource(s).\n\n `headers` are additional headers to send in the request" | 72 | false | deontologician/restnavigator | delete | 9,542 | |
LDU_FT/thespacedoctor/tastic/sort | LDU_FT | [
"<BEGIN>\n## `projects`",
"*All child projects of this taskpaper object*",
" **Usage:**",
" Given a taskpaper document object (`doc`), to get a list of the project objects found within the document use:",
" .. code-block:: python",
" docProjects = doc.projects",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort API.
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 sort API.
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... | *sort the workspace or individual taskpaper document via the workflow tags found in the settings file*
**Usage:**
To sort all of the taskpaper documents in the workspace via the workflow tag set with the settings file, for example:
.. code-block:: yaml
workflowTags: "... | "*sort the workspace or individual taskpaper document via the workflow tags found in the settings file*\n\n **Usage:**\n\n To sort all of the taskpaper documents in the workspace via the workflow tag set with the settings file, for example:\n\n .. code-block:: yaml\n\n workfl... | 285 | false | thespacedoctor/tastic | sort | 9,543 | |
LDU_FT/mapmyfitness/jtime/get_last_modified_timestamp | LDU_FT | [
"<BEGIN>\n## `get_input`",
"Get input from the user given an input function and an input string\n<END>",
"<BEGIN>\n## `working_cycletime`",
"Get the working time between a beginning and an end point subtracting out non-office time\n<END>",
"<BEGIN>\n## `status`",
"Gets the worklog status for the current b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last_modified_timestamp 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 get_last_modified_timestamp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Looks at the files in a git root directory and grabs the last modified timestamp | "Looks at the files in a git root directory and grabs the last modified timestamp" | 36 | false | mapmyfitness/jtime | get_last_modified_timestamp | 9,544 | |
LDU_FT/stephrdev/django-formwizard/get_all_cleaned_data | LDU_FT | [
"<BEGIN>\n## `as_view`",
"This method is used within urls.py to create unique formwizard\n instances for every request. We need to override this method because\n we add some kwargs which are needed to make the formwizard usable.\n<END>",
"<BEGIN>\n## `get_initkwargs`",
"Creates a dict with all n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_cleaned_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 get_all_cleaned_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 a merged dictionary of all step cleaned_data dictionaries.
If a step contains a `FormSet`, the key will be prefixed with formset
and contain a list of the formset' cleaned_data dictionaries. | "Returns a merged dictionary of all step cleaned_data dictionaries.\n If a step contains a `FormSet`, the key will be prefixed with formset\n and contain a list of the formset' cleaned_data dictionaries." | 60 | false | stephrdev/django-formwizard | get_all_cleaned_data | 9,545 | |
LDU_FT/coin-or/GiMPy/process_edge_dijkstra | LDU_FT | [
"<BEGIN>\n## `add_root`",
"API: add_root(self, root, **attrs)\n Description:\n Adds root node to the tree with name root and returns root Node\n instance.\n Input:\n root: Root node name.\n attrs: Root node attributes.\n Post:\n Changes s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_edge_dijkstra 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 process_edge_dijkstra API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | API: process_edge_dijkstra(self, current, neighbor, pred, q, component)
Description:
Used by search() method if the algo argument is 'Dijkstra'. Processes
edges along Dijkstra's algorithm. User does not need to call this
method directly.
Input:
current: Name of the cu... | "API: process_edge_dijkstra(self, current, neighbor, pred, q, component)\n Description:\n Used by search() method if the algo argument is 'Dijkstra'. Processes\n edges along Dijkstra's algorithm. User does not need to call this\n method directly.\n Input:\n current: Name of... | 179 | false | coin-or/GiMPy | process_edge_dijkstra | 9,546 | |
LDU_FT/urbn/Caesium/json_obj_to_cursor | LDU_FT | [
"<BEGIN>\n## `load_json`",
"Load JSON from the request body and store them in\n self.request.arguments, like Tornado does by default for POSTed form\n parameters.",
" If JSON cannot be decoded",
" :raises ValueError: JSON Could not be decoded\n<END>",
"<BEGIN>\n## `get_json_argum... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json_obj_to_cursor 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 json_obj_to_cursor 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... | (Deprecated) Converts a JSON object to a mongo db cursor
:param str json: A json string
:returns: dictionary with ObjectId type
:rtype: dict | "(Deprecated) Converts a JSON object to a mongo db cursor\n\n :param str json: A json string\n :returns: dictionary with ObjectId type\n :rtype: dict" | 157 | false | urbn/Caesium | json_obj_to_cursor | 9,547 | |
LDU_FT/kensho-technologies/graphql-compiler/_expression_to_sql | LDU_FT | [
"<BEGIN>\n## `lower_ir`",
"Lower the IR into an IR form that can be represented in Gremlin queries.",
" Args:\n ir_blocks: list of IR blocks to lower into Gremlin-compatible form\n query_metadata_table: QueryMetadataTable object containing all metadata collected during\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expression_to_sql 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 _expression_to_sql 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... | Recursively transform a Filter block predicate to its SQLAlchemy expression representation.
Args:
expression: expression, the compiler expression to transform.
node: SqlNode, the SqlNode the expression applies to.
context: CompilationContext, global compilation state and metadata.
Retu... | "Recursively transform a Filter block predicate to its SQLAlchemy expression representation.\n\n Args:\n expression: expression, the compiler expression to transform.\n node: SqlNode, the SqlNode the expression applies to.\n context: CompilationContext, global compilation state and metadata.\n\n... | 786 | false | kensho-technologies/graphql-compiler | _expression_to_sql | 9,548 | |
LDU_FT/sirrice/pygg/gg_ipython | LDU_FT | [
"<BEGIN>\n## `_to_r`",
"Helper function to convert python data structures to R equivalents",
" TODO: a single model for transforming to r to handle\n * function args\n * lists as function args\n<END>",
"<BEGIN>\n## `data_sql`",
"Load file using RPostgreSQL",
" Place to edit if want to add more... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gg_ipython API.
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 gg_ipython API.
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... | Render pygg in an IPython notebook
Allows one to say things like:
import pygg
p = pygg.ggplot('diamonds', pygg.aes(x='carat', y='price', color='clarity'))
p += pygg.geom_point(alpha=0.5, size = 2)
p += pygg.scale_x_log10(limits=[1, 2])
pygg.gg_ipython(p, data=None, quiet=True)
directly in... | "Render pygg in an IPython notebook\n\n Allows one to say things like:\n\n import pygg\n p = pygg.ggplot('diamonds', pygg.aes(x='carat', y='price', color='clarity'))\n p += pygg.geom_point(alpha=0.5, size = 2)\n p += pygg.scale_x_log10(limits=[1, 2])\n pygg.gg_ipython(p, data=None, quiet=True)\n\n ... | 56 | false | sirrice/pygg | gg_ipython | 9,549 | |
LDU_FT/materialsproject/pymatgen/bandstructure_flow | LDU_FT | [
"<BEGIN>\n## `ion_or_solid_comp_object`",
"Returns either an ion object or composition object given\n a formula.",
" Args:\n formula: String formula. Eg. of ion: NaOH(aq), Na[+];\n Eg. of solid: Fe2O3(s), Fe(s), Na2O",
" Returns:\n Composition/Ion object\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bandstructure_flow 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 bandstructure_flow 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... | Build a :class:`Flow` for band structure calculations.
Args:
workdir: Working directory.
scf_input: Input for the GS SCF run.
nscf_input: Input for the NSCF run (band structure run).
dos_inputs: Input(s) for the NSCF run (dos run).
manager: :class:`TaskManager` object used t... | "Build a :class:`Flow` for band structure calculations.\n\n Args:\n workdir: Working directory.\n scf_input: Input for the GS SCF run.\n nscf_input: Input for the NSCF run (band structure run).\n dos_inputs: Input(s) for the NSCF run (dos run).\n manager: :class:`TaskManager` objec... | 6,523 | true | materialsproject/pymatgen | bandstructure_flow | 9,550 | |
LDU_FT/Bogdanp/anom-py/batch_size | LDU_FT | [
"<BEGIN>\n## `_transactions`",
"list[Transaction]: The current stack of Transactions.\n<END>",
"<BEGIN>\n## `transactional`",
"Decorates functions so that all of their operations (except for\n queries) run inside a Datastore transaction.",
" Parameters:\n adapter(Adapter, optional): The Adapter t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the batch_size API.
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 batch_size API.
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... | int: The number of results to fetch per batch. Clamped to
limit if limit is set and is smaller than the given batch
size. | "int: The number of results to fetch per batch. Clamped to\n limit if limit is set and is smaller than the given batch\n size." | 91 | false | Bogdanp/anom-py | batch_size | 9,551 | |
LDU_FT/RJT1990/pyflux/_mb_model | LDU_FT | [
"<BEGIN>\n## `_get_scale_and_shape`",
"Obtains model scale, shape and skewness latent variables",
" Parameters\n ----------\n transformed_lvs : np.array\n Transformed latent variable vector",
" Returns\n ----------\n - Tuple of model scale, model shape, mod... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _mb_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.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _mb_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.
The extract... | Creates the structure of the model (model matrices etc) for mini batch model
Parameters
----------
beta : np.ndarray
Contains untransformed starting values for the latent variables
mini_batch : int
Mini batch size for the data sampling
Returns
-... | "Creates the structure of the model (model matrices etc) for mini batch model\n\n Parameters\n ----------\n beta : np.ndarray\n Contains untransformed starting values for the latent variables\n\n mini_batch : int\n Mini batch size for the data sampling\n\n Return... | 1,462 | true | RJT1990/pyflux | _mb_model | 9,552 | |
LDU_FT/toomore/goristock/gchart | 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 gchart API.
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 gchart API.
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 ... | Chart for serious stocks
輸出 Google Chart 圖表。
s = 資料筆數
size = 圖表寬度、高度 [寬度,高度]
candle = K 棒的寬度 | "Chart for serious stocks\n 輸出 Google Chart 圖表。\n s = 資料筆數\n size = 圖表寬度、高度 [寬度,高度]\n candle = K 棒的寬度" | 62 | false | toomore/goristock | gchart | 9,553 | |
LDU_FT/hickeroar/simplebayes/train | LDU_FT | [
"<BEGIN>\n## `train_token`",
"Trains a particular token (increases the weight/count of it)",
" :param word: the token we're going to train\n :type word: str\n :param count: the number of occurances in the sample\n :type count: int\n<END>",
"<BEGIN>\n## `untrain_token`",
"Untrains... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the train API.
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 train API.
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... | Trains a category with a sample of text
:param category: the name of the category we want to train
:type category: str
:param text: the text we want to train the category with
:type text: str | "Trains a category with a sample of text\n\n :param category: the name of the category we want to train\n :type category: str\n :param text: the text we want to train the category with\n :type text: str" | 40 | false | hickeroar/simplebayes | train | 9,554 | |
LDU_FT/OCHA-DAP/hdx-python-api/add_datasets | LDU_FT | [
"<BEGIN>\n## `validlocations`",
"Read valid locations from HDX",
" Args:\n configuration (Optional[Configuration]): HDX configuration. Defaults to global configuration.",
" Returns:\n List[Dict]: A list of valid locations\n<END>",
"<BEGIN>\n## `get_location_from_HDX_code`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_datasets API.
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 add_datasets API.
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... | Add multiple datasets
Args:
datasets (List[Union[Dataset,Dict,str]]): A list of either dataset ids or dataset metadata from Dataset objects or dictionaries
datasets_to_check (List[Dataset]): List of datasets against which to check existence of dataset. Defaults to datasets in showcase.
... | "Add multiple datasets\n\n Args:\n datasets (List[Union[Dataset,Dict,str]]): A list of either dataset ids or dataset metadata from Dataset objects or dictionaries\n datasets_to_check (List[Dataset]): List of datasets against which to check existence of dataset. Defaults to datasets in showc... | 513 | false | OCHA-DAP/hdx-python-api | add_datasets | 9,555 | |
LDU_FT/liampauling/betfair/start | LDU_FT | [
"<BEGIN>\n## `streaming_market_filter`",
":param list market_ids: filter market data to data pertaining to specific marketIds.\n :param list event_type_ids: filter market data to data pertaining to specific event_type ids.\n :param list event_ids: filter market data to data pertaining to specific event ids.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
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 start API.
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... | Starts read loop, new thread if async and
connects/authenticates if not already running.
:param async_: If True new thread is started | "Starts read loop, new thread if async and\n connects/authenticates if not already running.\n\n :param async_: If True new thread is started" | 224 | false | liampauling/betfair | start | 9,556 | |
LDU_FT/constverum/ProxyBroker/create | LDU_FT | [
"<BEGIN>\n## `grab`",
"Gather proxies from the providers without checking.",
" :param list countries: (optional) List of ISO country codes\n where should be located proxies\n :param int limit: (optional) The maximum number of proxies",
" :ref:`Example of usag... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Asynchronously create a :class:`Proxy` object.
:param str host: A passed host can be a domain or IP address.
If the host is a domain, try to resolve it
:param str \*args:
(optional) Positional arguments that :class:`Proxy` takes
:param str \*\*kwargs:
... | "Asynchronously create a :class:`Proxy` object.\n\n :param str host: A passed host can be a domain or IP address.\n If the host is a domain, try to resolve it\n :param str \\*args:\n (optional) Positional arguments that :class:`Proxy` takes\n :param str \\*\\*kwar... | 57 | false | constverum/ProxyBroker | create | 9,557 | |
LDU_FT/hughsie/python-appstream/get_components | LDU_FT | [
"<BEGIN>\n## `add_release`",
"Add a release object if it does not already exist\n<END>",
"<BEGIN>\n## `add_review`",
"Add a release object if it does not already exist\n<END>",
"<BEGIN>\n## `add_screenshot`",
"Add a screenshot object if it does not already exist\n<END>",
"<BEGIN>\n## `add_provide`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_components API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_components API.
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 all the applications from the store | "Returns all the applications from the store" | 18 | false | hughsie/python-appstream | get_components | 9,558 | |
LDU_FT/opinkerfi/nago/get_methods | LDU_FT | [
"<BEGIN>\n## `get`",
"Get all nagios status information from a local nagios instance\n<END>",
"<BEGIN>\n## `post`",
"Puts a list of hosts into local instance of nagios checkresults\n Arguments:\n hosts -- list of dicts, like one obtained from get_checkresults\n services -... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_methods API.
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_methods API.
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 all methods in extension that have nago_access set | "Return all methods in extension that have nago_access set" | 70 | false | opinkerfi/nago | get_methods | 9,559 | |
LDU_FT/tarbell-project/tarbell/_get_context_from_gdoc | LDU_FT | [
"<BEGIN>\n## `_get_or_create_config`",
"Get or create a Tarbell configuration directory.\n<END>",
"<BEGIN>\n## `slughifi`",
"High Fidelity slugify - slughifi.py, v 0.1",
" Examples :",
" >>> text = 'C\\'est déjà l\\'été.'",
" >>> slughifi(text)\n 'cest-deja-lete'",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_context_from_gdoc 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_context_from_gdoc 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 Jinja2 context from a Google spreadsheet. | "Create a Jinja2 context from a Google spreadsheet." | 66 | false | tarbell-project/tarbell | _get_context_from_gdoc | 9,560 | |
LDU_FT/mozilla-services/python-dockerflow/user_id | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Load and return the contents of version.json.",
" :param root: The root path that the ``version.json`` file will be opened\n :type root: str\n :returns: Content of ``version.json`` or None\n :rtype: dict or None\n<END>",
"<BEGIN>\n## `version`",
"Returns the content... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return the ID of the current request's user | "Return the ID of the current request's user" | 59 | false | mozilla-services/python-dockerflow | user_id | 9,561 | |
LDU_FT/audreyr/cookiecutter/unzip | LDU_FT | [
"<BEGIN>\n## `expand_abbreviations`",
"Expand abbreviations in a template name.",
" :param template: The project template name.\n :param abbreviations: Abbreviation definitions.\n<END>",
"<BEGIN>\n## `repository_has_cookiecutter_json`",
"Determine if `repo_directory` contains a `cookiecutter.json` fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unzip API.
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 unzip API.
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... | Download and unpack a zipfile at a given URI.
This will download the zipfile to the cookiecutter repository,
and unpack into a temporary directory.
:param zip_uri: The URI for the zipfile.
:param is_url: Is the zip URI a URL or a file?
:param clone_to_dir: The cookiecutter repository directory
... | "Download and unpack a zipfile at a given URI.\n\n This will download the zipfile to the cookiecutter repository,\n and unpack into a temporary directory.\n\n :param zip_uri: The URI for the zipfile.\n :param is_url: Is the zip URI a URL or a file?\n :param clone_to_dir: The cookiecutter repository direc... | 129 | false | audreyr/cookiecutter | unzip | 9,562 | |
LDU_FT/daler/metaseq/disenriched | LDU_FT | [
"<BEGIN>\n## `requirements_check`",
"Ensure we have programs needed to download/manipulate the data\n<END>",
"<BEGIN>\n## `_up_to_date`",
"Make sure md5sum(fn) == md5, and if not, delete `fn`.\n<END>",
"<BEGIN>\n## `logged_command`",
"helper function to log a command and then run it\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disenriched API.
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 disenriched API.
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... | Disenriched features.
{threshdoc} | "Disenriched features.\n\n {threshdoc}" | 400 | false | daler/metaseq | disenriched | 9,563 | |
LDU_FT/jeffreystarr/dateinfer/_apply_rewrites | LDU_FT | [
"<BEGIN>\n## `infer`",
"Returns a datetime.strptime-compliant format string for parsing the *most likely* date format\n used in examples. examples is a list containing example date strings.\n<END>",
"<BEGIN>\n## `_apply_rewrites`",
"Return a list of date elements by applying rewrites to the initial date el... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _apply_rewrites API.
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 _apply_rewrites API.
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 a list of date elements by applying rewrites to the initial date element list | "Return a list of date elements by applying rewrites to the initial date element list" | 22 | false | jeffreystarr/dateinfer | _apply_rewrites | 9,564 | |
LDU_FT/Cymmetria/honeycomb/configure | LDU_FT | [
"<BEGIN>\n## `config_field_type`",
"Validate a config field against a type.",
" Similar functionality to :func:`validate_field_matches_type` but returns :obj:`honeycomb.defs.ConfigField`\n<END>",
"<BEGIN>\n## `validate_config`",
"Validate a JSON file configuration against list of :obj:`honeycomb.defs.Con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
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 configure API.
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... | Configure an integration with default parameters.
You can still provide one-off integration arguments to :func:`honeycomb.commands.service.run` if required. | "Configure an integration with default parameters.\n\n You can still provide one-off integration arguments to :func:`honeycomb.commands.service.run` if required." | 90 | false | Cymmetria/honeycomb | configure | 9,565 | |
LDU_FT/tensorflow/datasets/int2str | LDU_FT | [
"<BEGIN>\n## `_decode_image`",
"Reads and decodes an image from a file object as a Numpy array.",
" The SUN dataset contains images in several formats (despite the fact that\n all of them have .jpg extension). Some of them are:\n - BMP (RGB)\n - PNG (grayscale, RGBA, RGB interlaced)\n - JPEG (RGB)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the int2str API.
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 int2str API.
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... | Conversion integer => class name string. | "Conversion integer => class name string." | 609 | false | tensorflow/datasets | int2str | 9,566 | |
LDU_FT/btr1975/ipaddresstools/whole_subnet_maker | LDU_FT | [
"<BEGIN>\n## `ucast_ip_mask`",
"Function to check if a address is unicast and that the CIDR mask is good\n Args:\n ip_addr_and_mask: Unicast IP address and mask in the following format 192.168.1.1/24\n return_tuple: Set to True it returns a IP and mask in a tuple, set to False returns True or Fal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the whole_subnet_maker 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 whole_subnet_maker 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 return a whole subnet value from a IP address and CIDR pair
Args:
ip_addr: Unicast or Multicast IP address or subnet in the following format 192.168.1.1, 239.1.1.1
cidr: CIDR value of 0 to 32
Returns: returns the corrected whole subnet | "Function to return a whole subnet value from a IP address and CIDR pair\n Args:\n ip_addr: Unicast or Multicast IP address or subnet in the following format 192.168.1.1, 239.1.1.1\n cidr: CIDR value of 0 to 32\n\n Returns: returns the corrected whole subnet" | 46 | false | btr1975/ipaddresstools | whole_subnet_maker | 9,567 | |
LDU_FT/openid/JWTConnect-Python-OidcService/multiple_extend_request_args | LDU_FT | [
"<BEGIN>\n## `request_object_encryption`",
"Created an encrypted JSON Web token with *msg* as body.",
" :param msg: The mesaqg\n :param service_context:\n :param kwargs:\n :return:\n<END>",
"<BEGIN>\n## `construct_request_uri`",
"Constructs a special redirect_uri to be used when communicating wi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multiple_extend_request_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multiple_extend_request_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Go through a set of items (by their type) and add the attribute-value
that match the list of parameters to the arguments
If the same parameter occurs in 2 different items then the value in
the later one will be the one used.
:param args: Initial set of arguments
:param key: Key ... | "Go through a set of items (by their type) and add the attribute-value\n that match the list of parameters to the arguments\n If the same parameter occurs in 2 different items then the value in\n the later one will be the one used.\n\n :param args: Initial set of arguments\n :param ke... | 159 | false | openid/JWTConnect-Python-OidcService | multiple_extend_request_args | 9,568 | |
LDU_FT/Autodesk/aomi/maybe_colored | LDU_FT | [
"<BEGIN>\n## `seed`",
"Will provision vault based on the definition within a Secretfile\n<END>",
"<BEGIN>\n## `render`",
"Render any provided template. This includes the Secretfile,\n Vault policies, and inline AWS roles\n<END>",
"<BEGIN>\n## `export`",
"Export contents of a Secretfile from the Vault s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maybe_colored API.
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 maybe_colored API.
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... | Maybe it will render in color maybe it will not! | "Maybe it will render in color maybe it will not!" | 231 | false | Autodesk/aomi | maybe_colored | 9,569 | |
LDU_FT/istresearch/scrapy-cluster/load_domain_config | LDU_FT | [
"<BEGIN>\n## `load`",
"Load the settings dict",
" @param local: The local settings filename to use\n @param default: The default settings module to read\n @return: A dict of the loaded settings\n<END>",
"<BEGIN>\n## `load_from_string`",
"Loads settings from a settings_string. Expects an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_domain_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_domain_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.
Th... | Loads the domain_config and sets up queue_dict
@param loaded_config: the yaml loaded config dict from zookeeper | "Loads the domain_config and sets up queue_dict\n @param loaded_config: the yaml loaded config dict from zookeeper" | 269 | false | istresearch/scrapy-cluster | load_domain_config | 9,570 | |
LDU_FT/bharadwaj-raju/libdesktop/parse | LDU_FT | [
"<BEGIN>\n## `get_config_dir`",
"Get the configuration directory.",
"\tGet the configuration directories, optionally for a specific program.",
"\tArgs:\n\t\t\tprogram\t(str) : The name of the program whose configuration directories have to be found.\n\t\t\tsystem_wide (bool): Gets the system-wide configuratio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
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 parse API.
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... | Parse a .desktop file.
Parse a .desktop file or a string with its contents into an easy-to-use dict, with standard values present even if not defined in file.
Args:
desktop_file_or_string (str): Either the path to a .desktop file or a string with a .desktop file as its contents.
Returns:
dict: A dictionary of ... | "Parse a .desktop file.\n\tParse a .desktop file or a string with its contents into an easy-to-use dict, with standard values present even if not defined in file.\n\tArgs:\n\t\t\tdesktop_file_or_string (str): Either the path to a .desktop file or a string with a .desktop file as its contents.\n\tReturns:\n\t\t\tdict: A... | 119 | false | bharadwaj-raju/libdesktop | parse | 9,571 | |
LDU_FT/huggingface/pytorch-pretrained-BERT/build_tf_to_pytorch_map | LDU_FT | [
"<BEGIN>\n## `from_json_file`",
"Constructs a `GPT2Config` from a json file of parameters.\n<END>",
"<BEGIN>\n## `from_pretrained`",
"Instantiate a GPT2PreTrainedModel from a pre-trained model file or a pytorch state dict.\n Download and cache the pre-trained model file if needed.",
" Params:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_tf_to_pytorch_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_tf_to_pytorch_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... | A map of modules from TF to PyTorch.
This time I use a map to keep the PyTorch model as identical to the original PyTorch model as possible. | "A map of modules from TF to PyTorch.\n This time I use a map to keep the PyTorch model as identical to the original PyTorch model as possible." | 115 | false | huggingface/pytorch-pretrained-BERT | build_tf_to_pytorch_map | 9,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.