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/zhexiao/ezhost/systemctl_autostart | LDU_FT | [
"<BEGIN>\n## `install_config_kafka`",
"install and config kafka\n :return:\n<END>",
"<BEGIN>\n## `install_config_elastic`",
"install and config elasticsearch\n :return:\n<END>",
"<BEGIN>\n## `install_config_logstash`",
"install and config logstash\n :return:\n<END>",
"<BEGIN>\n## `i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the systemctl_autostart 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 systemctl_autostart 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... | ubuntu 16.04 systemctl service config
:param service_name:
:param start_cmd:
:param stop_cmd:
:return: | "ubuntu 16.04 systemctl service config\n :param service_name:\n :param start_cmd:\n :param stop_cmd:\n :return:" | 22 | false | zhexiao/ezhost | systemctl_autostart | 6,173 | |
LDU_FT/ChristianTremblay/BAC0/release | LDU_FT | [
"<BEGIN>\n## `sim`",
"Simulate I/O points by setting the Out_Of_Service property, then doing a \r\n WriteProperty to the point's Present_Value.\r",
" :param args: String with <addr> <type> <inst> <prop> <value> [ <indx> ] [ <priority> ]\n<END>",
"<BEGIN>\n## `out_of_service`",
"Set the Out_Of_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release API.
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 release API.
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... | Set the Out_Of_Service property to False - to release the I/O point back to
the controller's control.
:param args: String with <addr> <type> <inst> | "Set the Out_Of_Service property to False - to release the I/O point back to \r\n the controller's control.\r\n\r\n :param args: String with <addr> <type> <inst>" | 73 | false | ChristianTremblay/BAC0 | release | 6,174 | |
LDU_FT/cloudboss/friend/random_string | LDU_FT | [
"<BEGIN>\n## `cached`",
"A decorator function to cache values. It uses the decorated\n function's arguments as the keys to determine if the function\n has been called previously.\n<END>",
"<BEGIN>\n## `retry_wait_time`",
"Determine a retry wait time based on the number of the\n retry attempt and a ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_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 random_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... | Return a random string of the given length from the
given character set.
:param int length: The length of string to return
:param str charset: A string of characters to choose from
:returns: A random string
:rtype: str | "Return a random string of the given length from the\n given character set.\n\n :param int length: The length of string to return\n :param str charset: A string of characters to choose from\n :returns: A random string\n :rtype: str" | 49 | false | cloudboss/friend | random_string | 6,175 | |
LDU_FT/tweekmonster/moult/_scan_directory | LDU_FT | [
"<BEGIN>\n## `load_stdlib`",
"Scans sys.path for standard library modules.\n<END>",
"<BEGIN>\n## `import_path_from_file`",
"Returns a tuple of the import path and root module directory for the\n supplied file.\n<END>",
"<BEGIN>\n## `file_containing_import`",
"Finds the file that might contain the impor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scan_directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scan_directory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Basically os.listdir with some filtering. | "Basically os.listdir with some filtering." | 34 | false | tweekmonster/moult | _scan_directory | 6,176 | |
LDU_FT/costastf/locationsharinglib/xstrip | LDU_FT | [
"<BEGIN>\n## `get_shared_people`",
"Retrieves all people that share their location with this account\n<END>",
"<BEGIN>\n## `get_authenticated_person`",
"Retrieves the person associated with this account\n<END>",
"<BEGIN>\n## `get_coordinates_by_nickname`",
"Retrieves a person's coordinates by nickname\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xstrip API.
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 xstrip API.
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 ... | Make relative path out of absolute by stripping
prefixes used on Linux, OS X and Windows.
This function is critical for security. | "Make relative path out of absolute by stripping\n prefixes used on Linux, OS X and Windows.\n\n This function is critical for security." | 61 | false | costastf/locationsharinglib | xstrip | 6,177 | |
LDU_FT/HacKanCuBa/passphrase-py/randchoice | LDU_FT | [
"<BEGIN>\n## `entropy_bits`",
"Calculate the number of entropy bits in a list or tuple of elements.\n<END>",
"<BEGIN>\n## `entropy_bits_nrange`",
"Calculate the number of entropy bits in a range of numbers.\n<END>",
"<BEGIN>\n## `password_length_needed`",
"Calculate the length of a password for a given en... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the randchoice API.
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 randchoice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return a randomly chosen element from the given sequence.
Raises TypeError if *seq* is not str, list, tuple, dict, set and an
IndexError if it is empty.
>>> randchoice((1, 2, 'a', 'b')) #doctest:+SKIP
'a' | "Return a randomly chosen element from the given sequence.\n\n Raises TypeError if *seq* is not str, list, tuple, dict, set and an\n IndexError if it is empty.\n\n >>> randchoice((1, 2, 'a', 'b')) #doctest:+SKIP\n 'a'" | 77 | false | HacKanCuBa/passphrase-py | randchoice | 6,178 | |
LDU_FT/mapbox/rio-color/parse_operations | LDU_FT | [
"<BEGIN>\n## `sigmoidal`",
"r\"\"\"\n Sigmoidal contrast is type of contrast control that\n adjusts the contrast without saturating highlights or shadows.\n It allows control over two factors:\n the contrast range from light to dark, and where the middle value\n of the mid-tones falls. The result i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_operations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_operations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Takes a string of operations written with a handy DSL
"OPERATION-NAME BANDS ARG1 ARG2 OPERATION-NAME BANDS ARG"
And returns a list of functions, each of which take and return ndarrays | "Takes a string of operations written with a handy DSL\n\n \"OPERATION-NAME BANDS ARG1 ARG2 OPERATION-NAME BANDS ARG\"\n\n And returns a list of functions, each of which take and return ndarrays" | 56 | false | mapbox/rio-color | parse_operations | 6,179 | |
LDU_FT/okeuday/erlang_py/recv_loop | LDU_FT | [
"<BEGIN>\n## `binary_to_term`",
"Decode Erlang terms within binary data into Python types\n<END>",
"<BEGIN>\n## `term_to_binary`",
"Encode Python types into Erlang terms in binary data\n<END>",
"<BEGIN>\n## `consult`",
"provide file:consult/1 functionality with python types\n<END>",
"<BEGIN>\n## `send`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recv_loop API.
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 recv_loop API.
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... | Yield Erlang terms from an input stream. | "Yield Erlang terms from an input stream." | 12 | false | okeuday/erlang_py | recv_loop | 6,180 | |
LDU_FT/elastic/apm-agent-python/get_lines_from_file | LDU_FT | [
"<BEGIN>\n## `extract_signature`",
"Extracts a minimal signature from a given SQL query\n :param sql: the SQL statement\n :return: a string representing the signature\n<END>",
"<BEGIN>\n## `_timed_queue_join`",
"implementation of Queue.join which takes a 'timeout' argument",
" returns True on s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lines_from_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lines_from_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.
T... | Returns context_lines before and after lineno from file.
Returns (pre_context_lineno, pre_context, context_line, post_context). | "Returns context_lines before and after lineno from file.\n Returns (pre_context_lineno, pre_context, context_line, post_context)." | 163 | false | elastic/apm-agent-python | get_lines_from_file | 6,181 | |
LDU_FT/scraperwiki/scraperwiki-python/show_tables | LDU_FT | [
"<BEGIN>\n## `has_external_dependency`",
"Check that a non-Python dependency is installed.\n<END>",
"<BEGIN>\n## `scrape`",
"Scrape a URL optionally with parameters.\n This is effectively a wrapper around urllib2.urlopen.\n<END>",
"<BEGIN>\n## `execute`",
"Execute an arbitrary SQL query given by query,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_tables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_tables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return the names of the tables currently in the database. | "Return the names of the tables currently in the database." | 22 | false | scraperwiki/scraperwiki-python | show_tables | 6,182 | |
LDU_FT/DeepHorizons/iarm/directive_DCB | LDU_FT | [
"<BEGIN>\n## `ADR`",
"ADR Ra, [PC, #imm10_4]\n ADR Ra, label",
" Load the address of label or the PC offset into Ra\n Ra must be a low register\n<END>",
"<BEGIN>\n## `LDR`",
"LDR Ra, [PC, #imm10_4]\n LDR Ra, label\n LDR Ra, =equate\n LDR Ra, [Rb, Rc]\n LDR Ra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the directive_DCB API.
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 directive_DCB API.
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... | label DCB value[, value ...]
Allocate a byte space in read only memory for the value or list of values | "label DCB value[, value ...]\n\n Allocate a byte space in read only memory for the value or list of values" | 253 | false | DeepHorizons/iarm | directive_DCB | 6,183 | |
LDU_FT/inveniosoftware/invenio-oauthclient/disconnect_handler | LDU_FT | [
"<BEGIN>\n## `response_token_setter`",
"Extract token from response and set it for the user.",
" :param remote: The remote application.\n :param resp: The response.\n :raises invenio_oauthclient.errors.OAuthClientError: If authorization with\n remote service failed.\n :raises invenio_oauthcli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disconnect_handler 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 disconnect_handler 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... | Handle unlinking of remote account.
This default handler will just delete the remote account link. You may
wish to extend this module to perform clean-up in the remote service
before removing the link (e.g. removing install webhooks).
:param remote: The remote application.
:returns: Redirect respo... | "Handle unlinking of remote account.\n\n This default handler will just delete the remote account link. You may\n wish to extend this module to perform clean-up in the remote service\n before removing the link (e.g. removing install webhooks).\n\n :param remote: The remote application.\n :returns: Redire... | 147 | false | inveniosoftware/invenio-oauthclient | disconnect_handler | 6,184 | |
LDU_FT/daler/trackhub/render | LDU_FT | [
"<BEGIN>\n## `default_hub`",
"Returns a fully-connected set of hub components using default filenames.",
" Parameters\n ----------",
" hub_name : str\n Name of the hub",
" genome : str\n Assembly name (hg38, dm6, etc)",
" email : str\n Email to include with hub.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Renders the object to file, returning a list of created files.
Calls validation code, and, as long as each child is also a subclass of
:class:`HubComponent`, the rendering is recursive. | "Renders the object to file, returning a list of created files.\n\n Calls validation code, and, as long as each child is also a subclass of\n :class:`HubComponent`, the rendering is recursive." | 111 | false | daler/trackhub | render | 6,185 | |
LDU_FT/daboth/pagan/enforce_vertical_symmetry | LDU_FT | [
"<BEGIN>\n## `init_weapon_list`",
"Initialize the possible weapon\n combinations.\n<END>",
"<BEGIN>\n## `grind_hash_for_colors`",
"Extracts information from the hashcode\n to generate different colors. Returns a\n list of colors in (r,g,b) tupels.\n<END>",
"<BEGIN>\n## `split_sequence`",
"Generat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enforce_vertical_symmetry 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 enforce_vertical_symmetry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Enforces vertical symmetry of the pixelmap.
Returns a pixelmap with all pixels mirrored in the middle.
The initial ones still remain. | "Enforces vertical symmetry of the pixelmap.\n Returns a pixelmap with all pixels mirrored in the middle.\n The initial ones still remain." | 46 | false | daboth/pagan | enforce_vertical_symmetry | 6,186 | |
LDU_FT/Oneiroe/PySimpleAutomata/dfa_complementation | LDU_FT | [
"<BEGIN>\n## `dfa_word_acceptance`",
"Checks if a given **word** is accepted by a DFA,\n returning True/false.",
" The word w is accepted by a DFA if DFA has an accepting run\n on w. Since A is deterministic,\n :math:`w ∈ L(A)` if and only if :math:`ρ(s_0 , w) ∈ F` .",
" :param dict dfa: input ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dfa_complementation 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 dfa_complementation 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... | Returns a DFA that accepts any word but he ones accepted
by the input DFA.
Let A be a completed DFA, :math:`Ā = (Σ, S, s_0 , ρ, S − F )`
is the DFA that runs A but accepts whatever word A does not.
:param dict dfa: input DFA.
:return: *(dict)* representing the complement of the input DFA. | "Returns a DFA that accepts any word but he ones accepted\n by the input DFA.\n\n Let A be a completed DFA, :math:`Ā = (Σ, S, s_0 , ρ, S − F )`\n is the DFA that runs A but accepts whatever word A does not.\n\n :param dict dfa: input DFA.\n :return: *(dict)* representing the complement of the input DFA." | 208 | false | Oneiroe/PySimpleAutomata | dfa_complementation | 6,187 | |
LDU_FT/aewallin/allantools/edf_totdev | LDU_FT | [
"<BEGIN>\n## `set_input`",
"Set inputs after initialization",
" Parameters\n -------\n nr: integer\n length of generated time-series\n number must be power of two\n qd: float\n discrete variance\n b: float\n noise type:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edf_totdev API.
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 edf_totdev API.
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... | Equivalent degrees of freedom for Total Deviation
FIXME: what is the right behavior for alpha outside 0,-1,-2?
NIST SP1065 page 41, Table 7 | "Equivalent degrees of freedom for Total Deviation\n FIXME: what is the right behavior for alpha outside 0,-1,-2?\n \n NIST SP1065 page 41, Table 7" | 273 | false | aewallin/allantools | edf_totdev | 6,188 | |
LDU_FT/pantsbuild/pants/calculate_sources | LDU_FT | [
"<BEGIN>\n## `load_file_contents`",
"Loads config from the given string payloads.",
" A handful of seed values will be set to act as if specified in the loaded config file's DEFAULT\n section, and be available for use in substitutions. The caller may override some of these\n seed values.",
" :par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_sources API.
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 calculate_sources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Generate a set of source files from the given targets. | "Generate a set of source files from the given targets." | 3,372 | true | pantsbuild/pants | calculate_sources | 6,189 | |
LDU_FT/wbond/vat_moss-python/fetch | LDU_FT | [
"<BEGIN>\n## `calculate_rate`",
"Calculates the VAT rate based on a telephone number",
" :param phone_number:\n The string phone number, in international format with leading +",
" :param address_country_code:\n The user's country_code, as detected from billing_address or\n declared_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
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 fetch API.
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... | Fetches the latest exchange rate info from the European Central Bank. These
rates need to be used for displaying invoices since some countries require
local currency be quoted. Also useful to store the GBP rate of the VAT
collected at time of purchase to prevent fluctuations in exchange rates from
signi... | "Fetches the latest exchange rate info from the European Central Bank. These\n rates need to be used for displaying invoices since some countries require\n local currency be quoted. Also useful to store the GBP rate of the VAT\n collected at time of purchase to prevent fluctuations in exchange rates from\n ... | 60 | false | wbond/vat_moss-python | fetch | 6,190 | |
LDU_FT/bashu/django-watermark/create_watermark | LDU_FT | [
"<BEGIN>\n## `watermark`",
"Returns the URL to a watermarked copy of the image specified.\n<END>",
"<BEGIN>\n## `_get_filesystem_path`",
"Makes a filesystem path from the specified URL path\n<END>",
"<BEGIN>\n## `generate_filename`",
"Comes up with a good filename for the watermarked image\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_watermark API.
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 create_watermark API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create the watermarked image on the filesystem | "Create the watermarked image on the filesystem" | 18 | false | bashu/django-watermark | create_watermark | 6,191 | |
LDU_FT/genepattern/genepattern-python/get_type | LDU_FT | [
"<BEGIN>\n## `GCT`",
"Create a Dataframe with the contents of the GCT file\n<END>",
"<BEGIN>\n## `ODF`",
"Create a Dataframe with the contents of the ODF file",
" For more information on the ODF format see:\n http://software.broadinstitute.org/cancer/software/genepattern/file-formats-guide",
" :o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns either 'File' or 'String'.
The type attribute (e.g., java.io.File, java.lang.Integer, java.lang.Float),
which might give a hint as to what string should represent,
is not enforced and not employed consistently across all tasks, so we ignore. | "Returns either 'File' or 'String'.\n\n The type attribute (e.g., java.io.File, java.lang.Integer, java.lang.Float),\n which might give a hint as to what string should represent,\n is not enforced and not employed consistently across all tasks, so we ignore." | 156 | false | genepattern/genepattern-python | get_type | 6,192 | |
LDU_FT/mbakker7/timml/equation | LDU_FT | [
"<BEGIN>\n## `plot`",
"Plot layout",
" Parameters\n ----------",
" win : list or tuple\n [x1, x2, y1, y2]\n<END>",
"<BEGIN>\n## `contour`",
"Contour plot",
" Parameters\n ----------",
" win : list or tuple\n [x1, x2, y1, y2]\n ngr ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the equation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the equation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Mix-in class that returns matrix rows for mscreen condition.
Mscreen condition applied at each control point separately (so not like in ditch).
Returns matrix part (nunknowns,neq)
Returns rhs part (nunknowns) | "Mix-in class that returns matrix rows for mscreen condition.\n Mscreen condition applied at each control point separately (so not like in ditch).\n Returns matrix part (nunknowns,neq)\n Returns rhs part (nunknowns)" | 82 | false | mbakker7/timml | equation | 6,193 | |
LDU_FT/openclimatedata/pymagicc/apply_string_substitutions | LDU_FT | [
"<BEGIN>\n## `get_magicc_region_to_openscm_region_mapping`",
"Get the mappings from MAGICC to OpenSCM regions.",
" This is not a pure inverse of the other way around. For example, we never provide\n \"GLOBAL\" as a MAGICC return value because it's unnecesarily confusing when we also\n have \"World\". F... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_string_substitutions 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 apply_string_substitutions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Apply a number of substitutions to a string(s).
The substitutions are applied effectively all at once. This means that conflicting
substitutions don't interact. Where substitutions are conflicting, the one which
is longer takes precedance. This is confusing so we recommend that you look at
the examples... | "Apply a number of substitutions to a string(s).\n\n The substitutions are applied effectively all at once. This means that conflicting\n substitutions don't interact. Where substitutions are conflicting, the one which\n is longer takes precedance. This is confusing so we recommend that you look at\n the ex... | 245 | false | openclimatedata/pymagicc | apply_string_substitutions | 6,194 | |
LDU_FT/neoinsanity/cognate/invoke_method_on_children | LDU_FT | [
"<BEGIN>\n## `copy_attribute_values`",
"Function to copy attributes from a source to a target object.",
"This method copies the property values in a given list from a given\nsource object to a target source object.",
":param source: The source object that is to be inspected for property\n values.\n:type so... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invoke_method_on_children 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 invoke_method_on_children 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 helper method will walk the primary base class hierarchy to
invoke a method if it exists for a given child base class.
:param func_name: The name of a function to search for invocation.
:type func_name: str
:param args: An argument list to pass to the target function.
:type... | "This helper method will walk the primary base class hierarchy to\n invoke a method if it exists for a given child base class.\n\n :param func_name: The name of a function to search for invocation.\n :type func_name: str\n :param args: An argument list to pass to the target function.\n ... | 36 | false | neoinsanity/cognate | invoke_method_on_children | 6,195 | |
LDU_FT/innogames/polysh/main_loop_iteration | LDU_FT | [
"<BEGIN>\n## `process_input_buffer`",
"Send the content of the input buffer to all remote processes, this must\n be called in the main thread\n<END>",
"<BEGIN>\n## `write_main_socket`",
"Synchronous write to the main socket, wait for ACK\n<END>",
"<BEGIN>\n## `get_stdin_pid`",
"Try to get the PID of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main_loop_iteration 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 main_loop_iteration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Return the number of RemoteDispatcher.handle_read() calls made by this
iteration | "Return the number of RemoteDispatcher.handle_read() calls made by this\n iteration" | 66 | false | innogames/polysh | main_loop_iteration | 6,196 | |
LDU_FT/morse-talk/morse-talk/wpm_to_duration | LDU_FT | [
"<BEGIN>\n## `decode`",
"Converts a string of morse code into English message",
" The encoded message can also be decoded using the same morse chart\n backwards.",
" >>> code = '... --- ...'\n >>> decode(code)\n 'SOS'\n<END>",
"<BEGIN>\n## `grouper`",
"grouper(3, 'ABCDEFG', 'x') --> ABC... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wpm_to_duration API.
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 wpm_to_duration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Convert from WPM (word per minutes) to
element duration
Parameters
----------
wpm : int or float - word per minute
output : String - type of output
'timedelta'
'float'
'decimal'
word_ref : string - reference word (PARIS by default)
Returns
-------
duration :... | "Convert from WPM (word per minutes) to\n element duration\n\n Parameters\n ----------\n wpm : int or float - word per minute\n output : String - type of output\n 'timedelta'\n 'float'\n 'decimal'\n word_ref : string - reference word (PARIS by default)\n\n Returns\n -------\... | 111 | false | morse-talk/morse-talk | wpm_to_duration | 6,197 | |
LDU_FT/quiltdata/quilt/apply_driver_hacks | LDU_FT | [
"<BEGIN>\n## `create_s3_session`",
"Creates a session with automatic retries on 5xx errors.\n<END>",
"<BEGIN>\n## `load_module`",
"Returns an object that lazily looks up tables and groups.\n<END>",
"<BEGIN>\n## `find_module`",
"Looks up the table based on the module path.\n<END>",
"<BEGIN>\n## `_path_ha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_driver_hacks 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 apply_driver_hacks 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... | Set custom SQLAlchemy engine options:
- Teach it to encode and decode our node objects
- Enable pre-ping (i.e., test the DB connection before trying to use it) | "Set custom SQLAlchemy engine options:\n - Teach it to encode and decode our node objects\n - Enable pre-ping (i.e., test the DB connection before trying to use it)" | 202 | false | quiltdata/quilt | apply_driver_hacks | 6,198 | |
LDU_FT/elifesciences/elife-tools/body_block_content_render | LDU_FT | [
"<BEGIN>\n## `strip_punctuation_space`",
"Strip excess whitespace prior to punctuation.\n<END>",
"<BEGIN>\n## `join_sentences`",
"concatenate two sentences together with punctuation glue\n<END>",
"<BEGIN>\n## `coerce_to_int`",
"Attempts to cast given value to an integer, return the original value if faile... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the body_block_content_render 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 body_block_content_render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Render the tag as body content and call recursively if
the tag has child tags | "Render the tag as body content and call recursively if\n the tag has child tags" | 201 | false | elifesciences/elife-tools | body_block_content_render | 6,199 | |
LDU_FT/eallik/spinoff/deferToGreenlet | LDU_FT | [
"<BEGIN>\n## `deferToGreenletPool`",
"Call function using a greenlet from the given pool and return the result as a Deferred\n<END>",
"<BEGIN>\n## `deferToGreenlet`",
"Call function using a greenlet and return the result as a Deferred\n<END>",
"<BEGIN>\n## `callMultipleInGreenlet`",
"Call a list of functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deferToGreenlet API.
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 deferToGreenlet API.
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... | Call function using a greenlet and return the result as a Deferred | "Call function using a greenlet and return the result as a Deferred" | 60 | false | eallik/spinoff | deferToGreenlet | 6,200 | |
LDU_FT/conchoecia/gloTK/libseq_parse | LDU_FT | [
"<BEGIN>\n## `meraculous_runner`",
"Check to make sure that the allAssembliesDir has been created, if not,\n make it. This will only execute for the first time an assembly has been\n run in this directory.",
" Run the directory from allAssembliesDir. The self.callString instance\n at... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the libseq_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the libseq_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 extr... | This method parses a line containing a lib_seq string and adds it to
the lib_seq key in the self.params dictionary | "This method parses a line containing a lib_seq string and adds it to\n the lib_seq key in the self.params dictionary" | 73 | false | conchoecia/gloTK | libseq_parse | 6,201 | |
LDU_FT/acrazing/dbapi/list_liked_topics | LDU_FT | [
"<BEGIN>\n## `get_people`",
"获取用户信息",
" :param user_alias: 用户ID\n :return:\n<END>",
"<BEGIN>\n## `build_list_result`",
"构建带翻页的列表",
" :param results: 已获取的数据列表\n :param xml: 原始页面xml\n :return: {'results': list, 'count': int, 'next_start': int|None}\n 如果count与results长度不同,则有更... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_liked_topics API.
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_liked_topics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | 喜欢过的话题
:param user_alias: 指定用户,默认当前
:param start: 翻页
:return: 带下一页的列表 | "喜欢过的话题\n \n :param user_alias: 指定用户,默认当前\n :param start: 翻页\n :return: 带下一页的列表" | 95 | false | acrazing/dbapi | list_liked_topics | 6,202 | |
LDU_FT/planetlabs/es_fluent/register_filter | LDU_FT | [
"<BEGIN>\n## `and_filter`",
"Adds a list of :class:`~es_fluent.filters.core.And` clauses, automatically\n generating :class:`~es_fluent.filters.core.And` filter if it does not\n exist.\n<END>",
"<BEGIN>\n## `or_filter`",
"Adds a list of :class:`~es_fluent.filters.core.Or` clauses, automatically\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_filter API.
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 register_filter API.
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... | Adds the ``filter_cls`` to our registry. | "Adds the ``filter_cls`` to our registry." | 36 | false | planetlabs/es_fluent | register_filter | 6,203 | |
LDU_FT/DeVilhena-Paulo/KdQuery/insert | LDU_FT | [
"<BEGIN>\n## `interval_condition`",
"Checks if value belongs to the interval [inf - dist, sup + dist].\n<END>",
"<BEGIN>\n## `nearest_point`",
"Find the point in the tree that minimizes the distance to the query.",
" This method implements the nearest_point query for any structure\n implementing a kd-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API.
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 insert API.
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 ... | Insert a new node in the tree.
Args:
point (:obj:`tuple` of float or int): Stores the position of the
node.
data (:obj, optional): The information stored by the node.
Returns:
int: The identifier of the new node.
Example:
>>> tre... | "Insert a new node in the tree.\n\n Args:\n point (:obj:`tuple` of float or int): Stores the position of the\n node.\n data (:obj, optional): The information stored by the node.\n\n Returns:\n int: The identifier of the new node.\n\n Example:\n ... | 22 | false | DeVilhena-Paulo/KdQuery | insert | 6,204 | |
LDU_FT/NYUCCL/psiTurk/get_random_condcount | LDU_FT | [
"<BEGIN>\n## `check_auth`",
"This function is called to check if a username password combination\n is valid.\n<END>",
"<BEGIN>\n## `requires_auth`",
"Decorator to prompt for user name and password. Useful for data dumps,\n etc. That you don't want to be public.\n<END>",
"<BEGIN>\n## `get_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_random_condcount 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_random_condcount API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | HITs can be in one of three states:
- jobs that are finished
- jobs that are started but not finished
- jobs that are never going to finish (user decided not to do it)
Our count should be based on the first two, so we count any tasks finished
or any tasks not finished that were started i... | "HITs can be in one of three states:\n - jobs that are finished\n - jobs that are started but not finished\n - jobs that are never going to finish (user decided not to do it)\n Our count should be based on the first two, so we count any tasks finished\n or any tasks not finished that were sta... | 65 | false | NYUCCL/psiTurk | get_random_condcount | 6,205 | |
LDU_FT/miccoli/pyownet/main | LDU_FT | [
"<BEGIN>\n## `main`",
"parse commandline arguments and print result\n<END>",
"<BEGIN>\n## `main`",
"parse commandline arguments and print result\n<END>",
"<BEGIN>\n## `main`",
"parse commandline arguments and print result\n<END>",
"<BEGIN>\n## `proxy`",
"factory function that returns a proxy object fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | parse commandline arguments and print result | "parse commandline arguments and print result" | 23 | false | miccoli/pyownet | main | 6,206 | |
LDU_FT/limpyd/redis-limpyd/transform_value | LDU_FT | [
"<BEGIN>\n## `_make_command_method`",
"Return a function which call _call_command for the given name.\n Used to bind redis commands to our own calls\n<END>",
"<BEGIN>\n## `_call_command`",
"Check if the command to be executed is a modifier, to connect the object.\n Then call _traverse_command.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Convert the value to be stored.
This does nothing by default but subclasses can change this.
Then the index will be able to filter on the transformed value.
For example if the transform capitalizes some text, the filter
would be ``myfield__capitalized__eq='FOO'`` | "Convert the value to be stored.\n\n This does nothing by default but subclasses can change this.\n Then the index will be able to filter on the transformed value.\n For example if the transform capitalizes some text, the filter\n would be ``myfield__capitalized__eq='FOO'``" | 408 | false | limpyd/redis-limpyd | transform_value | 6,207 | |
LDU_FT/rq/django-rq/get_worker_class | LDU_FT | [
"<BEGIN>\n## `handle`",
"Queues the function given with the first argument with the\n parameters given with the rest of the argument list.\n<END>",
"<BEGIN>\n## `get_worker_class`",
"Return worker class from RQ settings, otherwise return Worker.\n If `worker_class` is not None, it is used as an over... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_worker_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_worker_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return worker class from RQ settings, otherwise return Worker.
If `worker_class` is not None, it is used as an override (can be
python import path as string). | "Return worker class from RQ settings, otherwise return Worker.\n If `worker_class` is not None, it is used as an override (can be\n python import path as string)." | 33 | false | rq/django-rq | get_worker_class | 6,208 | |
LDU_FT/chapel-lang/sphinxcontrib-chapeldomain/_get_proc_like_prefix | LDU_FT | [
"<BEGIN>\n## `make_field`",
"Copy+Paste of TypedField.make_field() from Sphinx version 1.2.3. The first\n and second nodes.Text() instance are changed in this implementation to\n be ' : ' and '' respectively (instead of ' (' and ')').",
" TODO: Ask sphinx devs if there is a better way to su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_proc_like_prefix 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_proc_like_prefix 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 prefix text for function or method directive
(and similar). | "Return prefix text for function or method directive\n (and similar)." | 60 | false | chapel-lang/sphinxcontrib-chapeldomain | _get_proc_like_prefix | 6,209 | |
LDU_FT/Autodesk/pyccc/dump_all_outputs | LDU_FT | [
"<BEGIN>\n## `persistent_id`",
"Tags objects with a persistent ID, but do NOT emit it\n<END>",
"<BEGIN>\n## `open`",
"Return file-like object (actually opens the file for this class)\n<END>",
"<BEGIN>\n## `_open_tmpfile`",
"Open a temporary, unique file in CACHEDIR (/tmp/cyborgcache) by default.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_all_outputs API.
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 dump_all_outputs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Specialized dumping strategy - copy the entire working directory, then discard
the input files that came along for the ride.
Not used if there are absolute paths
This is slow and wasteful if there are big input files | "Specialized dumping strategy - copy the entire working directory, then discard\n the input files that came along for the ride.\n\n Not used if there are absolute paths\n\n This is slow and wasteful if there are big input files" | 114 | false | Autodesk/pyccc | dump_all_outputs | 6,210 | |
LDU_FT/ambitioninc/django-entity/transaction_atomic_with_retry | LDU_FT | [
"<BEGIN>\n## `remove_duplicates`",
"Remove any duplicates from the entity relationship table\n :param apps:\n :param schema_editor:\n :return:\n<END>",
"<BEGIN>\n## `transaction_atomic_with_retry`",
"This is a decorator that will wrap the decorated method in an atomic transaction and\n retry the t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transaction_atomic_with_retry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transaction_atomic_with_retry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | This is a decorator that will wrap the decorated method in an atomic transaction and
retry the transaction a given number of times
:param num_retries: How many times should we retry before we give up
:param backoff: How long should we wait after each try | "This is a decorator that will wrap the decorated method in an atomic transaction and\n retry the transaction a given number of times\n\n :param num_retries: How many times should we retry before we give up\n :param backoff: How long should we wait after each try" | 83 | false | ambitioninc/django-entity | transaction_atomic_with_retry | 6,211 | |
LDU_FT/pallets/flask-sqlalchemy/first_or_404 | LDU_FT | [
"<BEGIN>\n## `should_set_tablename`",
"Determine whether ``__tablename__`` should be automatically generated\n for a model.",
" * If no class in the MRO sets a name, one should be generated.\n * If a declared attr is found, it should be used instead.\n * If a name is found, it should be used if the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_or_404 API.
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 first_or_404 API.
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... | Like :meth:`first` but aborts with 404 if not found instead of returning ``None``. | "Like :meth:`first` but aborts with 404 if not found instead of returning ``None``." | 73 | false | pallets/flask-sqlalchemy | first_or_404 | 6,212 | |
LDU_FT/brainiak/brainiak/_update_weight | LDU_FT | [
"<BEGIN>\n## `_generate_feature`",
"Generate features corresponding to signal",
" Generate a single feature, that can be inserted into the signal volume.\n A feature is a region of activation with a specific shape such as cube\n or ring",
" Parameters\n ----------",
" feature_type : str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_weight API.
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 _update_weight API.
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... | update local weight
Parameters
----------
data : list of 2D array, element i has shape=[n_voxel, n_tr]
Subjects' fMRI data.
R : list of 2D arrays, element i has shape=[n_voxel, n_dim]
Each element in the list contains the scanner coordinate matrix
o... | "update local weight\n\n Parameters\n ----------\n\n data : list of 2D array, element i has shape=[n_voxel, n_tr]\n Subjects' fMRI data.\n\n R : list of 2D arrays, element i has shape=[n_voxel, n_dim]\n Each element in the list contains the scanner coordinate matrix\n ... | 1,513 | true | brainiak/brainiak | _update_weight | 6,213 | |
LDU_FT/chimpler/pyhocon/parse_key | LDU_FT | [
"<BEGIN>\n## `to_json`",
"Convert HOCON input into a JSON output",
" :return: JSON string representation\n :type return: basestring\n<END>",
"<BEGIN>\n## `to_hocon`",
"Convert HOCON input into a HOCON output",
" :return: JSON string representation\n :type return: basestring\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extract... | Split a key into path elements:
- a.b.c => a, b, c
- a."b.c" => a, QuotedKey("b.c") if . is any of the special characters: $}[]:=+#`^?!@*&.
- "a" => a
- a.b."c" => a, b, c (special case)
:param str:
:return: | "Split a key into path elements:\n - a.b.c => a, b, c\n - a.\"b.c\" => a, QuotedKey(\"b.c\") if . is any of the special characters: $}[]:=+#`^?!@*&.\n - \"a\" => a\n - a.b.\"c\" => a, b, c (special case)\n :param str:\n :return:" | 80 | false | chimpler/pyhocon | parse_key | 6,214 | |
LDU_FT/secynic/ipwhois/_parse | LDU_FT | [
"<BEGIN>\n## `lookup_asn`",
"Temporary wrapper for IP ASN lookups (moved to\n asn.IPASN.lookup()). This will be removed in a future\n release.\n<END>",
"<BEGIN>\n## `get_asn_dns`",
"The function for retrieving ASN information for an IP address from\n Cymru via port 53 (DNS).",
" ... | 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 ... | 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 ... | The function for parsing the JSON response to the vars dictionary. | "The function for parsing the JSON response to the vars dictionary." | 333 | false | secynic/ipwhois | _parse | 6,215 | |
LDU_FT/materials-data-facility/toolbox/_or_join | LDU_FT | [
"<BEGIN>\n## `login`",
"Log in to Globus services",
" Arguments:\n credentials (str or dict): A string filename, string JSON, or dictionary\n with credential and config information.\n By default, looks in ``~/mdf/credentials/globus_login.json``.\n Contains ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _or_join API.
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 _or_join API.
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... | Combine terms with OR.
There must be a term added before using this method.
Arguments:
close_group (bool): If ``True``, will end the current group and start a new one.
If ``False``, will continue current group.
Example:
If th... | "Combine terms with OR.\n There must be a term added before using this method.\n\n Arguments:\n close_group (bool): If ``True``, will end the current group and start a new one.\n If ``False``, will continue current group.\n\n Example:\n\n ... | 173 | false | materials-data-facility/toolbox | _or_join | 6,216 | |
LDU_FT/ionelmc/python-hunter/module | LDU_FT | [
"<BEGIN>\n## `trace`",
"Starts tracing with the given callable.",
" Args:\n predicate (callable that accepts a single :obj:`hunter.Event` argument):\n Return:\n self\n<END>",
"<BEGIN>\n## `stop`",
"Stop tracing. Reinstalls the :ref:`hunter.Tracer.previous` tracer.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | A string with module name (like ``"foo.bar"``).
:type: str | "A string with module name (like ``\"foo.bar\"``).\n\n :type: str" | 45 | false | ionelmc/python-hunter | module | 6,217 | |
LDU_FT/nickpandolfi/Cyther/parseString | LDU_FT | [
"<BEGIN>\n## `get_content`",
"Finds the 'content' tag from a 'pattern' in the provided 'string'\n<END>",
"<BEGIN>\n## `extract`",
"Used to extract a given regex pattern from a string, given several options\n<END>",
"<BEGIN>\n## `extractRuntime`",
"Used to find the correct static lib name to pass to gcc\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseString API.
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 parseString API.
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... | This function takes an entire instruction in the form of a string, and
will parse the entire string and return a dictionary of the fields
gathered from the parsing | "This function takes an entire instruction in the form of a string, and\n will parse the entire string and return a dictionary of the fields\n gathered from the parsing" | 131 | false | nickpandolfi/Cyther | parseString | 6,218 | |
LDU_FT/vmware/pyvmomi/_SetWsdlMethod | LDU_FT | [
"<BEGIN>\n## `_AddType`",
"Note: Must be holding the _lazyLock, or in main init path\n<END>",
"<BEGIN>\n## `GetServiceVersions`",
"Get all the versions for the service with specified namespace (partially) ordered\n by compatibility (i.e. any version in the list that is compatible with some version\n v in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _SetWsdlMethod API.
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 _SetWsdlMethod API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Set a WSDL method with wsdl namespace and wsdl name
Returns added method / existing method if (ns, wsdlName) already in the map
Note: Must be holding the _lazyLock | "Set a WSDL method with wsdl namespace and wsdl name\n Returns added method / existing method if (ns, wsdlName) already in the map\n\n Note: Must be holding the _lazyLock" | 128 | false | vmware/pyvmomi | _SetWsdlMethod | 6,219 | |
LDU_FT/moonso/loqusdb/delete_variant | LDU_FT | [
"<BEGIN>\n## `update_database`",
"Update a case in the database",
" Args:\n adapter: Connection to database\n variant_file(str): Path to variant file\n sv_file(str): Path to sv variant file\n family_file(str): Path to family file\n family_type(str): Format of fami... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_variant API.
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 delete_variant API.
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... | Delete observation in database
This means that we take down the observations variable with one.
If 'observations' == 1 we remove the variant. If variant was homozygote
we decrease 'homozygote' with one.
Also remove the family from array 'families'.
Args:
variant (di... | "Delete observation in database\n\n This means that we take down the observations variable with one.\n If 'observations' == 1 we remove the variant. If variant was homozygote\n we decrease 'homozygote' with one.\n Also remove the family from array 'families'.\n\n Args:\n va... | 216 | false | moonso/loqusdb | delete_variant | 6,220 | |
LDU_FT/goodmami/penman/triples | LDU_FT | [
"<BEGIN>\n## `alphanum_order`",
"Sort a list of triples by relation name.",
" Embedded integers are sorted numerically, but otherwise the sorting\n is alphabetic.\n<END>",
"<BEGIN>\n## `decode`",
"Deserialize PENMAN-serialized *s* into its Graph object",
" Args:\n s: a string containing a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the triples API.
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 triples API.
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 triples filtered by their *source*, *relation*, or *target*. | "Return triples filtered by their *source*, *relation*, or *target*." | 59 | false | goodmami/penman | triples | 6,221 | |
LDU_FT/alexpearce/jobmonitor/create_connection | LDU_FT | [
"<BEGIN>\n## `serialize_job`",
"Return a dictionary representing the job.\n<END>",
"<BEGIN>\n## `default_child_path`",
"Return the default child of the parent path ,if it exists, else path.",
" As an example, if the path `parent` show show the page `parent/child` by\n default, this method will return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_connection API.
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 create_connection API.
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 redis.Redis instance connected to REDIS_URL. | "Return a redis.Redis instance connected to REDIS_URL." | 16 | false | alexpearce/jobmonitor | create_connection | 6,222 | |
LDU_FT/stitchfix/pyxley/register_layouts | LDU_FT | [
"<BEGIN>\n## `set_float`",
"Set a float option.",
" Args:\n option (str): name of option.\n value (float): value of the option.",
" Raises:\n TypeError: Value must be a float.\n<END>",
"<BEGIN>\n## `set_integer`",
"Set an integer option.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_layouts API.
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 register_layouts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | register UILayout with the flask app
create a function that will send props for each UILayout
Args:
layouts (dict): dict of UILayout objects by name
app (object): flask app
url (string): address of props; default is /api/props/ | "register UILayout with the flask app\n\n create a function that will send props for each UILayout\n\n Args:\n layouts (dict): dict of UILayout objects by name\n app (object): flask app\n url (string): address of props; default is /api/props/" | 82 | false | stitchfix/pyxley | register_layouts | 6,223 | |
LDU_FT/napalm-automation-community/napalm-panos/get_route_to | LDU_FT | [
"<BEGIN>\n## `_send_merge_commands`",
"Netmiko is being used to push set commands.\n<END>",
"<BEGIN>\n## `compare_config`",
"Netmiko is being used to obtain config diffs because pan-python\n doesn't support the needed command.\n<END>",
"<BEGIN>\n## `commit_config`",
"Netmiko is being used to commit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_route_to API.
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_route_to API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return route details to a specific destination, learned from a certain protocol. | "Return route details to a specific destination, learned from a certain protocol." | 10 | false | napalm-automation-community/napalm-panos | get_route_to | 6,224 | |
LDU_FT/genialis/resolwe-runtime-utils/import_file | LDU_FT | [
"<BEGIN>\n## `_get_json`",
"Convert the given value to a JSON object.\n<END>",
"<BEGIN>\n## `save_list`",
"Convert the given list of parameters to a JSON object.",
" JSON object is of the form:\n { key: [values[0], values[1], ... ] },\n where values represent the given list of parameters.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_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 extra... | Import file to working directory.
:param src: Source file path or URL
:param file_name: Source file name
:param imported_format: Import file format (extracted, compressed or both)
:param progress_from: Initial progress value
:param progress_to: Final progress value
:return: Destination file pat... | "Import file to working directory.\n\n :param src: Source file path or URL\n :param file_name: Source file name\n :param imported_format: Import file format (extracted, compressed or both)\n :param progress_from: Initial progress value\n :param progress_to: Final progress value\n :return: Destination ... | 34 | false | genialis/resolwe-runtime-utils | import_file | 6,225 | |
LDU_FT/20c/grainy/update_index | LDU_FT | [
"<BEGIN>\n## `int_flags`",
"Converts string permission flags into integer permission flags as\n specified in const.PERM_STRING_MAP\n Arguments:\n - flags <str>: one or more flags\n For example: \"crud\" or \"ru\" or \"r\"\n - mapper <list=const.PERM_STRING_MAP>: a list containing tu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Regenerates the permission index for this set
Called everytime a rule is added / removed / modified in
the set | "Regenerates the permission index for this set\n\n Called everytime a rule is added / removed / modified in\n the set" | 47 | false | 20c/grainy | update_index | 6,226 | |
LDU_FT/glomex/gcdt/wire_deprecated | LDU_FT | [
"<BEGIN>\n## `list_functions`",
"List the deployed lambda functions and print configuration.",
" :return: exit_code\n<END>",
"<BEGIN>\n## `deploy_lambda`",
"Create or update a lambda function.",
" :param awsclient:\n :param function_name:\n :param role:\n :param handler_filename:\n :para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wire_deprecated API.
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 wire_deprecated API.
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... | Deprecated! Please use wire!
:param awsclient:
:param function_name:
:param s3_event_sources: dictionary
:param time_event_sources:
:param alias_name:
:return: exit_code | "Deprecated! Please use wire!\n\n\n :param awsclient:\n :param function_name:\n :param s3_event_sources: dictionary\n :param time_event_sources:\n :param alias_name:\n :return: exit_code" | 301 | false | glomex/gcdt | wire_deprecated | 6,227 | |
LDU_FT/cthoyt/onto2nx/getInferredPropertiesForClass | LDU_FT | [
"<BEGIN>\n## `parse_owl_rdf`",
"Parses an OWL resource that's encoded in OWL/RDF into a NetworkX directional graph",
" :param str iri: The location of the OWL resource to be parsed by Ontospy\n :type iri: str\n :rtype: network.DiGraph\n<END>",
"<BEGIN>\n## `get_or_create_home_repo`",
"Check to make... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getInferredPropertiesForClass API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getInferredPropertiesForClass API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | returns all properties valid for a class (as they have it in their domain)
recursively ie traveling up the descendants tree
Note: results in a list of dicts including itself
Note [2]: all properties with no domain info are added at the top as [None, props]
:return:
[{<Class *htt... | "returns all properties valid for a class (as they have it in their domain)\n recursively ie traveling up the descendants tree\n Note: results in a list of dicts including itself\n Note [2]: all properties with no domain info are added at the top as [None, props]\n\n :return:\n [{<Cla... | 102 | false | cthoyt/onto2nx | getInferredPropertiesForClass | 6,228 | |
LDU_FT/spacetelescope/pysynphot/trimSpectrum | LDU_FT | [
"<BEGIN>\n## `setUpClass`",
"Always overridden by the child cases, but let's put some\n real values in here to test with\n<END>",
"<BEGIN>\n## `extract_keywords`",
"Helper function",
" Parameters\n ----------\n icss : string\n comma-separated string",
" Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trimSpectrum API.
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 trimSpectrum API.
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... | Create a new spectrum with trimmed upper and lower ranges.
Parameters
----------
sp : `SourceSpectrum`
Spectrum to trim.
minw, maxw : number
Lower and upper limits (inclusive) for the wavelength set
in the trimmed spectrum.
Returns
-------
result : `TabularSourceSp... | "Create a new spectrum with trimmed upper and lower ranges.\n\n Parameters\n ----------\n sp : `SourceSpectrum`\n Spectrum to trim.\n\n minw, maxw : number\n Lower and upper limits (inclusive) for the wavelength set\n in the trimmed spectrum.\n\n Returns\n -------\n result : `T... | 600 | false | spacetelescope/pysynphot | trimSpectrum | 6,229 | |
LDU_FT/apache/spark/unpersist | LDU_FT | [
"<BEGIN>\n## `_parse_datatype_string`",
"Parses the given data type string to a :class:`DataType`. The data type string format equals\n to :class:`DataType.simpleString`, except that top level struct type can omit\n the ``struct<>`` and atomic types use ``typeName()`` as their format, e.g. use ``byte`` inst... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unpersist API.
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 unpersist API.
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... | Mark the RDD as non-persistent, and remove all blocks for it from
memory and disk.
.. versionchanged:: 3.0.0
Added optional argument `blocking` to specify whether to block until all
blocks are deleted. | "Mark the RDD as non-persistent, and remove all blocks for it from\n memory and disk.\n\n .. versionchanged:: 3.0.0\n Added optional argument `blocking` to specify whether to block until all\n blocks are deleted." | 2,386 | true | apache/spark | unpersist | 6,230 | |
LDU_FT/deginner/mq-client/publish | LDU_FT | [
"<BEGIN>\n## `_on_message`",
"Invoked by pika when a message is delivered from RabbitMQ. The\n channel is passed for your convenience. The basic_deliver object that\n is passed in carries the exchange, routing key, delivery tag and\n a redelivered flag for the message. The properties passed in is an\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish API.
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 publish API.
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... | If not stopping, publish a message to RabbitMQ.
:param str message: The fully encoded message to publish | "If not stopping, publish a message to RabbitMQ.\n\n :param str message: The fully encoded message to publish" | 61 | false | deginner/mq-client | publish | 6,231 | |
LDU_FT/ph4r05/monero-serialize/dump_blob | LDU_FT | [
"<BEGIN>\n## `load_uint`",
"Constant-width integer serialization\n :param reader:\n :param width:\n :return:\n<END>",
"<BEGIN>\n## `dump_uint`",
"Constant-width integer serialization\n :param writer:\n :param n:\n :param width:\n :return:\n<END>",
"<BEGIN>\n## `load_uvarint_b`",
"Vari... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_blob API.
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 dump_blob API.
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... | Dumps blob message.
Supports both blob and raw value.
:param writer:
:param elem:
:param elem_type:
:param params:
:return: | "Dumps blob message.\n Supports both blob and raw value.\n\n :param writer:\n :param elem:\n :param elem_type:\n :param params:\n :return:" | 273 | false | ph4r05/monero-serialize | dump_blob | 6,232 | |
LDU_FT/ggravlingen/pytradfri/tasks | LDU_FT | [
"<BEGIN>\n## `combine_data`",
"Combines the data for this command with another.\n<END>",
"<BEGIN>\n## `load_json`",
"Load JSON data from a file and return as dict or list.",
" Defaults to returning empty dict if file is not found.\n<END>",
"<BEGIN>\n## `save_json`",
"Save JSON data to a file.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tasks API.
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 tasks API.
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... | Return task objects of the task control. | "Return task objects of the task control." | 79 | false | ggravlingen/pytradfri | tasks | 6,233 | |
LDU_FT/timmahrt/pysle/search | LDU_FT | [
"<BEGIN>\n## `spellCheckTextgrid`",
"Spell check words by using the praatio spellcheck function",
" Incorrect items are noted in a new tier and optionally\n printed to the screen\n<END>",
"<BEGIN>\n## `naiveWordAlignment`",
"Performs naive alignment for utterances in a textgrid",
" Naive alig... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
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 search API.
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 ... | Searches for matching words in the dictionary with regular expressions
wordInitial, wordFinal, spanSyllable, stressSyllable, and multiword
can take three different values: 'ok', 'only', or 'no'.
pos: a tag in the Penn Part of Speech tagset
see isletool.posList for the full list of possible... | "Searches for matching words in the dictionary with regular expressions\n \n wordInitial, wordFinal, spanSyllable, stressSyllable, and multiword\n can take three different values: 'ok', 'only', or 'no'.\n \n pos: a tag in the Penn Part of Speech tagset\n see isletool.posList for the full list of p... | 60 | false | timmahrt/pysle | search | 6,234 | |
LDU_FT/inveniosoftware/invenio-accounts/init_config | LDU_FT | [
"<BEGIN>\n## `check_security_settings`",
"Warn if session cookie is not secure in production.\n<END>",
"<BEGIN>\n## `mysql_aes_encrypt`",
"Mysql AES encrypt value with secret key.",
" :param val: Plain text value.\n :param key: The AES key.\n :returns: The encrypted AES value.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Initialize configuration.
:param app: The Flask application. | "Initialize configuration.\n\n :param app: The Flask application." | 71 | false | inveniosoftware/invenio-accounts | init_config | 6,235 | |
LDU_FT/hfaran/progressive/lines_required | LDU_FT | [
"<BEGIN>\n## `simple`",
"Simple example using just the Bar class",
" This example is intended to show usage of the Bar class at the lowest\n level.\n<END>",
"<BEGIN>\n## `draw`",
"Draw ``tree`` to the terminal",
" :type tree: dict\n :param tree: ``tree`` should be a tree representing ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lines_required API.
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 lines_required API.
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... | Calculate number of lines required to draw ``tree`` | "Calculate number of lines required to draw ``tree``" | 48 | false | hfaran/progressive | lines_required | 6,236 | |
LDU_FT/rembish/cfb/child | LDU_FT | [
"<BEGIN>\n## `raise_if`",
"If current exception has smaller priority than minimum, subclass of\n this class only warns user, otherwise normal exception will be raised.\n<END>",
"<BEGIN>\n## `root`",
"Property provides access to root object in CFB.\n<END>",
"<BEGIN>\n## `next_fat`",
"Helper gives yo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the child API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the child API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Root entry object has only one child entry and no siblings. | "Root entry object has only one child entry and no siblings." | 26 | false | rembish/cfb | child | 6,237 | |
LDU_FT/Damgaard/PyImgur/authorization_url | LDU_FT | [
"<BEGIN>\n## `convert_general`",
"Take a python object and convert it to the format Imgur expects.\n<END>",
"<BEGIN>\n## `to_imgur_format`",
"Convert the parameters to the format Imgur expects.\n<END>",
"<BEGIN>\n## `_get_album_or_image`",
"Return a gallery image/album depending on what the json represent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authorization_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authorization_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return the authorization url that's needed to authorize as a user.
:param response: Can be either code or pin. If it's code the user will
be redirected to your redirect url with the code as a get parameter
after authorizing your application. If it's pin then after
authorizin... | "Return the authorization url that's needed to authorize as a user.\n\n :param response: Can be either code or pin. If it's code the user will\n be redirected to your redirect url with the code as a get parameter\n after authorizing your application. If it's pin then after\n auth... | 139 | false | Damgaard/PyImgur | authorization_url | 6,238 | |
LDU_FT/zhammer/faaspact-verifier/fetch_feature_pacts | LDU_FT | [
"<BEGIN>\n## `_pluck_provider_state`",
">>> _pluck_provider_state({'name': 'there is an egg'})\n ProviderState(descriptor='there is an egg', params=None)",
" >>> _pluck_provider_state({'name': 'there is an egg called', 'params': {'name': 'humpty'}})\n ProviderState(descriptor='there is an egg called', ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_feature_pacts 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 fetch_feature_pacts 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... | Fetch the feature-pacts for a given pull request on github. This is useful for CI builds
that have access to their associated pull requests.
Expects a pull_request_url like 'https://github.com/zhammer/morning-cd/pull/17' with a PR body
that includes a line 'feature-pacts: zh-feature-a, eh-feature-b'. If the... | "Fetch the feature-pacts for a given pull request on github. This is useful for CI builds\n that have access to their associated pull requests.\n Expects a pull_request_url like 'https://github.com/zhammer/morning-cd/pull/17' with a PR body\n that includes a line 'feature-pacts: zh-feature-a, eh-feature-b'. If... | 30 | false | zhammer/faaspact-verifier | fetch_feature_pacts | 6,239 | |
LDU_FT/jjkester/moneybird-python/_get_url | LDU_FT | [
"<BEGIN>\n## `authorize_url`",
"Returns the URL to which the user can be redirected to authorize your application to access his/her account. It\n will also return the state which can be used for CSRF protection. A state is generated if not passed to this\n method.",
" Example:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Builds the URL to the API endpoint specified by the given parameters.
:param administration_id: The ID of the administration (may be None).
:param resource_path: The path to the resource.
:return: The absolute URL to the endpoint. | "Builds the URL to the API endpoint specified by the given parameters.\n\n :param administration_id: The ID of the administration (may be None).\n :param resource_path: The path to the resource.\n :return: The absolute URL to the endpoint." | 29 | false | jjkester/moneybird-python | _get_url | 6,240 | |
LDU_FT/bachya/pyflunearyou/adjust_status | LDU_FT | [
"<BEGIN>\n## `adjust_status`",
"Apply status mapping to a raw API result.\n<END>",
"<BEGIN>\n## `status_by_coordinates`",
"Return the CDC status for the provided latitude/longitude.\n<END>",
"<BEGIN>\n## `status_by_state`",
"Return the CDC status for the specified state.\n<END>",
"<BEGIN>\n## `status_by... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adjust_status API.
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 adjust_status API.
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... | Apply status mapping to a raw API result. | "Apply status mapping to a raw API result." | 22 | false | bachya/pyflunearyou | adjust_status | 6,241 | |
LDU_FT/wroberts/pygermanet/get_lemma_by_id | LDU_FT | [
"<BEGIN>\n## `load_germanet`",
"Loads a GermaNet instance connected to the given MongoDB instance.",
" Arguments:\n - `host`: the hostname of the MongoDB instance\n - `port`: the port number of the MongoDB instance\n - `database_name`: the name of the GermaNet database on the\n MongoDB instance... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lemma_by_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lemma_by_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 e... | Builds a Lemma object from the database entry with the given
ObjectId.
Arguments:
- `mongo_id`: a bson.objectid.ObjectId object | "Builds a Lemma object from the database entry with the given\n ObjectId.\n\n Arguments:\n - `mongo_id`: a bson.objectid.ObjectId object" | 61 | false | wroberts/pygermanet | get_lemma_by_id | 6,242 | |
LDU_FT/mozilla/build-mar/write_to_file | LDU_FT | [
"<BEGIN>\n## `add_signature_block`",
"Add a signature block to marfile, a MarReader object.",
" Productversion and channel are preserved, but any existing signatures are overwritten.",
" Args:\n src_fileobj (file object): The input MAR file to add a signature to\n dest_fileobj (file object... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 ext... | Write data from `src` into `dst`.
Args:
src (iterable): iterable that yields blocks of data to write
dst (file-like object): file-like object that must support
.write(block)
Returns:
number of bytes written to `dst` | "Write data from `src` into `dst`.\n\n Args:\n src (iterable): iterable that yields blocks of data to write\n dst (file-like object): file-like object that must support\n .write(block)\n\n Returns:\n number of bytes written to `dst`" | 146 | false | mozilla/build-mar | write_to_file | 6,243 | |
LDU_FT/SiLab-Bonn/basil/get_data | LDU_FT | [
"<BEGIN>\n## `write`",
"Write to dummy memory",
" Parameters\n ----------\n addr : int\n The register address.\n data : list, tuple\n Data (byte array) to be written.",
" Returns\n -------\n nothing\n<END>",
"<BEGIN>\n## `read`",
"Para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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.
The extracte... | Reading data in BRAM.
Returns
-------
array : numpy.ndarray
Array of unsigned integers (32 bit). | "Reading data in BRAM.\n\n Returns\n -------\n array : numpy.ndarray\n Array of unsigned integers (32 bit)." | 147 | false | SiLab-Bonn/basil | get_data | 6,244 | |
LDU_FT/napalm-automation/napalm-eos/commit_config | LDU_FT | [
"<BEGIN>\n## `compare_config`",
"Implementation of NAPALM method compare_config.\n<END>",
"<BEGIN>\n## `commit_config`",
"Implementation of NAPALM method commit_config.\n<END>",
"<BEGIN>\n## `discard_config`",
"Implementation of NAPALM method discard_config.\n<END>",
"<BEGIN>\n## `rollback`",
"Impleme... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commit_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Implementation of NAPALM method commit_config. | "Implementation of NAPALM method commit_config." | 16 | false | napalm-automation/napalm-eos | commit_config | 6,245 | |
LDU_FT/quasipedia/swaggery/parse_docstring | LDU_FT | [
"<BEGIN>\n## `operations`",
"Decorator for marking Resource methods as HTTP operations.",
" This decorator does a number of different things:\n - It transfer onto itself docstring and annotations from the decorated\n method, so as to be \"transparent\" with regards to introspection.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_docstring API.
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 parse_docstring API.
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... | Parse a docstring into a semmary (first line) and notes (rest of it). | "Parse a docstring into a semmary (first line) and notes (rest of it)." | 67 | false | quasipedia/swaggery | parse_docstring | 6,246 | |
LDU_FT/JamesRamm/longclaw/capture_payment | LDU_FT | [
"<BEGIN>\n## `shipping_cost`",
"Returns the shipping cost for a given country\n If the shipping cost for the given country has not been set, it will\n fallback to the default shipping cost if it has been enabled in the app\n settings\n<END>",
"<BEGIN>\n## `shipping_options`",
"Get the shipping option... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the capture_payment API.
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 capture_payment API.
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... | Capture the payment for a basket and create an order
request.data should contain:
'address': Dict with the following fields:
shipping_name
shipping_address_line1
shipping_address_city
shipping_address_zip
shipping_address_country
billing_name
billing_add... | "Capture the payment for a basket and create an order\n\n request.data should contain:\n\n 'address': Dict with the following fields:\n shipping_name\n shipping_address_line1\n shipping_address_city\n shipping_address_zip\n shipping_address_country\n billing_name\n ... | 49 | false | JamesRamm/longclaw | capture_payment | 6,247 | |
LDU_FT/DsixTools/python-smeftrunner/load | LDU_FT | [
"<BEGIN>\n## `load`",
"Load a parameter file in DSixTools SLHA-like format or its JSON or\n YAML representation.\n<END>",
"<BEGIN>\n## `lha2matrix`",
"Return a matrix given a list of values of the form\n [[1, 1, float], [1, 2, float], ...]\n referring to the (1,1)-element etc.\n `shape` is the sha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
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 load API.
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... | Load a parameter file in DSixTools SLHA-like format or its JSON or
YAML representation. | "Load a parameter file in DSixTools SLHA-like format or its JSON or\n YAML representation." | 58 | false | DsixTools/python-smeftrunner | load | 6,248 | |
LDU_FT/aws/aws-encryption-sdk-python/source_data_key_length_check | LDU_FT | [
"<BEGIN>\n## `_encryption_context_hash`",
"Generates the expected hash for the provided encryption context.",
" :param hasher: Existing hasher to use\n :type hasher: cryptography.hazmat.primitives.hashes.Hash\n :param dict encryption_context: Encryption context to hash\n :returns: Complete hash\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the source_data_key_length_check 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 source_data_key_length_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Validates that the supplied source_data_key's data_key is the
correct length for the supplied algorithm's kdf_input_len value.
:param source_data_key: Source data key object received from MasterKey decrypt or generate data_key methods
:type source_data_key: :class:`aws_encryption_sdk.structures.RawDataKey`... | "Validates that the supplied source_data_key's data_key is the\n correct length for the supplied algorithm's kdf_input_len value.\n\n :param source_data_key: Source data key object received from MasterKey decrypt or generate data_key methods\n :type source_data_key: :class:`aws_encryption_sdk.structures.RawDat... | 364 | false | aws/aws-encryption-sdk-python | source_data_key_length_check | 6,249 | |
LDU_FT/emc-openstack/storops/add_class | LDU_FT | [
"<BEGIN>\n## `attach`",
"Attaches lun, snap or member snap of cg snap to host.",
" Don't pass cg snapshot in as `lun_or_snap`.",
" :param lun_or_snap: the lun, snap, or a member snap of cg snap\n :param skip_hlu_0: whether to skip hlu 0\n :return: the hlu number\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_class API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add one VNXIOClass instance to policy.
.. note: due to the limitation of VNX, need to stop the policy first. | "Add one VNXIOClass instance to policy.\n\n .. note: due to the limitation of VNX, need to stop the policy first." | 222 | false | emc-openstack/storops | add_class | 6,250 | |
LDU_FT/ploneintranet/ploneintranet.workspace/workspace_state_changed | LDU_FT | [
"<BEGIN>\n## `get_storage`",
"helper function to get annotation storage on the portal",
" :param clear: If true is passed in, annotations will be cleared\n :returns: portal annotations\n :rtype: IAnnotations\n<END>",
"<BEGIN>\n## `send_email`",
"helper function to send an email with the sender pres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the workspace_state_changed 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 workspace_state_changed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | when a workspace is made 'open', we need to
give all intranet users the 'Guest' role
equally, when the workspace is not open, we need
to remove the role again | "when a workspace is made 'open', we need to\n give all intranet users the 'Guest' role\n\n equally, when the workspace is not open, we need\n to remove the role again" | 53 | false | ploneintranet/ploneintranet.workspace | workspace_state_changed | 6,251 | |
LDU_FT/JoaoFelipe/pyposast/extract_code | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse the source into an AST node with PyPosAST.\n Enhance nodes with positions",
" Arguments:\n code -- code text",
" Keyword Arguments:\n filename -- code path\n mode -- execution mode (exec, eval, single)\n tree -- current tree, if it was optimized\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_code API.
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_code API.
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... | Get corresponding text in the code
Arguments:
lines -- code splitted by linebreak
node -- PyPosAST enhanced node
Keyword Arguments:
lstrip -- During extraction, strip lines with this arg (default="")
ljoin -- During extraction, join lines with this arg (default="\n")
strip -- After extra... | "Get corresponding text in the code\n\n\n Arguments:\n lines -- code splitted by linebreak\n node -- PyPosAST enhanced node\n\n\n Keyword Arguments:\n lstrip -- During extraction, strip lines with this arg (default=\"\")\n ljoin -- During extraction, join lines with this arg (default=\"\\n\")\n str... | 26 | false | JoaoFelipe/pyposast | extract_code | 6,252 | |
LDU_FT/jwass/geojsonio.py/make_url | LDU_FT | [
"<BEGIN>\n## `display`",
"Open a web browser pointing to geojson.io with the specified content.",
" If the content is large, an anonymous gist will be created on github and\n the URL will instruct geojson.io to download the gist data and then\n display. If the content is small, this step is not needed ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the URL to open given the domain and contents.
If the file contents are large, an anonymous gist will be created.
Parameters
----------
contents
* string - assumed to be GeoJSON
* an object that implements __geo_interface__
A FeatureCollection will be constructed wi... | "Returns the URL to open given the domain and contents.\n\n If the file contents are large, an anonymous gist will be created.\n\n Parameters\n ----------\n contents\n * string - assumed to be GeoJSON\n * an object that implements __geo_interface__\n A FeatureCollection will be cons... | 21 | false | jwass/geojsonio.py | make_url | 6,253 | |
LDU_FT/mlavin/django-selectable/results_decorator | LDU_FT | [
"<BEGIN>\n## `has_changed`",
"Detects if the data was changed. This is added in 1.6.\n<END>",
"<BEGIN>\n## `results_decorator`",
"Helper for constructing simple decorators around Lookup.results.",
" func is a function which takes a request as the first parameter. If func\n returns an HttpReponse it is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the results_decorator API.
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 results_decorator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Helper for constructing simple decorators around Lookup.results.
func is a function which takes a request as the first parameter. If func
returns an HttpReponse it is returned otherwise the original Lookup.results
is returned. | "Helper for constructing simple decorators around Lookup.results.\n\n func is a function which takes a request as the first parameter. If func\n returns an HttpReponse it is returned otherwise the original Lookup.results\n is returned." | 21 | false | mlavin/django-selectable | results_decorator | 6,254 | |
LDU_FT/cole/aiosmtplib/write_and_drain | LDU_FT | [
"<BEGIN>\n## `connection_made`",
"Modified ``connection_made`` that supports upgrading our transport in\n place using STARTTLS.",
" We set the _transport directly on the StreamReader, rather than calling\n set_transport (which will raise an AssertionError on upgrade).\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_and_drain API.
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 write_and_drain API.
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... | Format a command and send it to the server. | "Format a command and send it to the server." | 142 | false | cole/aiosmtplib | write_and_drain | 6,255 | |
LDU_FT/UDST/osmnet/great_circle_dist | LDU_FT | [
"<BEGIN>\n## `format_check`",
"Check the format of a osmnet_config object.",
" Parameters\n ----------\n settings : dict\n osmnet_config as a dictionary\n Returns\n -------\n Nothing\n<END>",
"<BEGIN>\n## `to_dict`",
"Return a dict representation of an osmnet osmnet_config instance.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the great_circle_dist API.
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 great_circle_dist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get the distance (in meters) between two lat/lon points
via the Haversine formula.
Parameters
----------
lat1, lon1, lat2, lon2 : float
Latitude and longitude in degrees.
Returns
-------
dist : float
Distance in meters. | "Get the distance (in meters) between two lat/lon points\n via the Haversine formula.\n\n Parameters\n ----------\n lat1, lon1, lat2, lon2 : float\n Latitude and longitude in degrees.\n\n Returns\n -------\n dist : float\n Distance in meters." | 69 | false | UDST/osmnet | great_circle_dist | 6,256 | |
LDU_FT/lwcook/horsetail-matching/TP3 | LDU_FT | [
"<BEGIN>\n## `_extalg`",
"Given an array xarr of values, smoothly return the max/min\n<END>",
"<BEGIN>\n## `_extgrad`",
"Given an array xarr of values, return the gradient of the smooth min/max\n swith respect to each entry in the array\n<END>",
"<BEGIN>\n## `_matrix_integration`",
"Returns the dp metr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the TP3 API.
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 TP3 API.
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... | Demo problem 1 for horsetail matching, takes two input values of
size 1 | "Demo problem 1 for horsetail matching, takes two input values of\n size 1" | 90 | false | lwcook/horsetail-matching | TP3 | 6,257 | |
LDU_FT/last-partizan/pytils/split_values | LDU_FT | [
"<BEGIN>\n## `choose_plural`",
"Choose proper form for plural.",
" Value is a amount, parameters are forms of noun.\n Forms are variants for 1, 2, 5 nouns. It may be tuple\n of elements, or string where variants separates each other\n by comma.",
" Examples::\n {{ some_int|choose_plural:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Splits unicode string with separator C{sep},
but skips escaped separator.
@param ustring: string to split
@type ustring: C{unicode}
@param sep: separator (default to u',')
@type sep: C{unicode}
@return: tuple of splitted elements | "Splits unicode string with separator C{sep},\n but skips escaped separator.\n \n @param ustring: string to split\n @type ustring: C{unicode}\n \n @param sep: separator (default to u',')\n @type sep: C{unicode}\n \n @return: tuple of splitted elements" | 134 | false | last-partizan/pytils | split_values | 6,258 | |
LDU_FT/lipoja/URLExtract/_get_cache_file_path | LDU_FT | [
"<BEGIN>\n## `_get_default_cache_dir`",
"Returns default cache directory (data directory)",
" :raises: CacheFileError when default cached file does not is exist\n :return: path to default cache directory\n :rtype: str\n<END>",
"<BEGIN>\n## `_get_default_cache_file_path`",
"Returns defau... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_cache_file_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_cache_file_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get path for cache file
:param str cache_dir: base path for TLD cache, defaults to data dir
:raises: CacheFileError when cached directory is not writable for user
:return: Full path to cached file with TLDs
:rtype: str | "Get path for cache file\n\n :param str cache_dir: base path for TLD cache, defaults to data dir\n :raises: CacheFileError when cached directory is not writable for user\n :return: Full path to cached file with TLDs\n :rtype: str" | 71 | false | lipoja/URLExtract | _get_cache_file_path | 6,259 | |
LDU_FT/erget/StereoVision/calibrate_folder | LDU_FT | [
"<BEGIN>\n## `get_frames_singleimage`",
"Get current left and right frames from a single image,\n by splitting the image in half.\n<END>",
"<BEGIN>\n## `show_frames`",
"Show current frames from cameras.",
" ``wait`` is the wait interval in milliseconds before the window closes.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calibrate_folder API.
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 calibrate_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Calibrate camera based on chessboard images, write results to output folder.
All images are read from disk. Chessboard points are found and used to
calibrate the stereo pair. Finally, the calibration is written to the folder
specified in ``args``.
``args`` needs to contain the following fields:
... | "Calibrate camera based on chessboard images, write results to output folder.\n\n All images are read from disk. Chessboard points are found and used to\n calibrate the stereo pair. Finally, the calibration is written to the folder\n specified in ``args``.\n\n ``args`` needs to contain the following fields:... | 83 | false | erget/StereoVision | calibrate_folder | 6,260 | |
LDU_FT/SuLab/WikidataIntegrator/write | LDU_FT | [
"<BEGIN>\n## `on_exception`",
"Returns decorator for backoff and retry triggered by exception.",
" Args:\n wait_gen: A generator yielding successive wait times in\n seconds.\n exception: An exception type (or tuple of types) which triggers\n backoff.\n max_tries: Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Writes the WD item Json to WD and after successful write, updates the object with new ids and hashes generated
by WD. For new items, also returns the new QIDs.
:param login: a instance of the class PBB_login which provides edit-cookies and edit-tokens
:param bot_account: Tell the Wikidata API wh... | "Writes the WD item Json to WD and after successful write, updates the object with new ids and hashes generated\n by WD. For new items, also returns the new QIDs.\n :param login: a instance of the class PBB_login which provides edit-cookies and edit-tokens\n :param bot_account: Tell the Wikidata AP... | 114 | false | SuLab/WikidataIntegrator | write | 6,261 | |
LDU_FT/CartoDB/carto-python/force_sync | LDU_FT | [
"<BEGIN>\n## `run`",
"Actually creates the import job on the CARTO server",
" :param import_params: To be send to the Import API, see CARTO's docs\n on Import API for an updated list of accepted\n params\n :type import_params: kwargs",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the force_sync API.
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 force_sync API.
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... | Forces to sync the SyncTableJob
:return:
:raise: CartoException | "Forces to sync the SyncTableJob\n\n :return:\n\n :raise: CartoException" | 154 | false | CartoDB/carto-python | force_sync | 6,262 | |
LDU_FT/housecanary/hc-api-python/concat_excel_reports | LDU_FT | [
"<BEGIN>\n## `normalize_cell_value`",
"Process value for writing into a cell.",
" Args:\n value: any type of variable",
" Returns:\n json serialized value if value is list or dict, else value\n<END>",
"<BEGIN>\n## `get_addresses_from_input_file`",
"Read addresses from input file into l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the concat_excel_reports 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 concat_excel_reports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates an Excel file made up of combining the Value Report or Rental Report Excel
output for the provided addresses.
Args:
addresses: A list of (address, zipcode) tuples
output_file_name: A file name for the Excel output
endpoint: One of 'value_report' or 'rental_report'
rep... | "Creates an Excel file made up of combining the Value Report or Rental Report Excel\n output for the provided addresses.\n\n Args:\n addresses: A list of (address, zipcode) tuples\n output_file_name: A file name for the Excel output\n endpoint: One of 'value_report' or 'rental_report'\n ... | 137 | false | housecanary/hc-api-python | concat_excel_reports | 6,263 | |
LDU_FT/googleapis/google-cloud-python/add_lifecycle_set_storage_class_rule | LDU_FT | [
"<BEGIN>\n## `_verify_params`",
"Verifies the parameters don't use any reserved parameter.",
" Raises:\n ValueError: If a reserved parameter is used.\n<END>",
"<BEGIN>\n## `_next_page`",
"Get the next page in the iterator.",
" Returns:\n Optional[Page]: The next page in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_lifecycle_set_storage_class_rule API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_lifecycle_set_storage_class_rule API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | Add a "delete" rule to lifestyle rules configured for this bucket.
See https://cloud.google.com/storage/docs/lifecycle and
https://cloud.google.com/storage/docs/json_api/v1/buckets
.. literalinclude:: snippets.py
:start-after: [START add_lifecycle_set_storage_class_rule]
... | "Add a \"delete\" rule to lifestyle rules configured for this bucket.\n\n See https://cloud.google.com/storage/docs/lifecycle and\n https://cloud.google.com/storage/docs/json_api/v1/buckets\n\n .. literalinclude:: snippets.py\n :start-after: [START add_lifecycle_set_storage_class_rule... | 7,029 | true | googleapis/google-cloud-python | add_lifecycle_set_storage_class_rule | 6,264 | |
LDU_FT/KrishnaswamyLab/PHATE/fit_transform | LDU_FT | [
"<BEGIN>\n## `_get_plot_data`",
"Get plot data out of an input object",
" Parameters\n ----------\n data : array-like, `phate.PHATE` or `scanpy.AnnData`\n ndim : int, optional (default: None)\n Minimum number of dimensions\n<END>",
"<BEGIN>\n## `scatter`",
"Create a scatter plot",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_transform API.
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 fit_transform API.
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... | Computes the diffusion operator and the position of the cells in the
embedding space
Parameters
----------
X : array, shape=[n_samples, n_features]
input data with `n_samples` samples and `n_dimensions`
dimensions. Accepted data types: `numpy.ndarray`,
... | "Computes the diffusion operator and the position of the cells in the\n embedding space\n\n Parameters\n ----------\n X : array, shape=[n_samples, n_features]\n input data with `n_samples` samples and `n_dimensions`\n dimensions. Accepted data types: `numpy.ndarray`,\n ... | 162 | false | KrishnaswamyLab/PHATE | fit_transform | 6,265 | |
LDU_FT/dragnet-org/dragnet/str_cast | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit :class`Extractor` features and model to a training dataset.",
" Args:\n blocks (List[Block])\n labels (``np.ndarray``)\n weights (``np.ndarray``)",
" Returns:\n :class`Extractor`\n<END>",
"<BEGIN>\n## `get_html_labels_weight... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str_cast API.
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 str_cast API.
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... | Converts any bytes-like input to a string-like output, with respect to
python version
Parameters
----------
maybe_bytes : if this is a bytes-like object, it will be converted to a string
encoding : str, default='utf-8'
encoding to be used when decoding bytes | "Converts any bytes-like input to a string-like output, with respect to\n python version\n\n Parameters\n ----------\n maybe_bytes : if this is a bytes-like object, it will be converted to a string\n encoding : str, default='utf-8'\n encoding to be used when decoding bytes" | 134 | false | dragnet-org/dragnet | str_cast | 6,266 | |
LDU_FT/marcinmiklitz/pywindow/calculate_maximum_diameter | LDU_FT | [
"<BEGIN>\n## `unique`",
"Return a list of unique items (similar to set functionality).",
" Parameters\n ----------\n input_list : list\n A list containg some items that can occur more than once.",
" Returns\n -------\n list\n A list with only unique occurances of an item.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_maximum_diameter 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 calculate_maximum_diameter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Return the maximum diamension of a molecule.
Returns
-------
:class:`float`
The maximum dimension of the molecule. | "Return the maximum diamension of a molecule.\n\n Returns\n -------\n :class:`float`\n The maximum dimension of the molecule." | 303 | false | marcinmiklitz/pywindow | calculate_maximum_diameter | 6,267 | |
LDU_FT/pvlib/pvlib-python/pvsyst_celltemp | LDU_FT | [
"<BEGIN>\n## `systemdef`",
"Generates a dict of system parameters used throughout a simulation.",
" Parameters\n ----------",
" meta : dict\n meta dict either generated from a TMY file using readtmy2 or\n readtmy3, or a dict containing at least the following fields:",
" ===... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pvsyst_celltemp API.
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 pvsyst_celltemp API.
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... | Calculate cell temperature using an emperical heat loss factor model
as implemented in PVsyst.
The heat loss factors provided through the 'model_params' argument
represent the combined effect of convection, radiation and conduction,
and their values are experimentally determined.
Parameters
--... | "Calculate cell temperature using an emperical heat loss factor model\n as implemented in PVsyst.\n\n The heat loss factors provided through the 'model_params' argument\n represent the combined effect of convection, radiation and conduction,\n and their values are experimentally determined.\n\n Parameter... | 1,499 | true | pvlib/pvlib-python | pvsyst_celltemp | 6,268 | |
LDU_FT/uw-it-aca/uw-restclients-nws/create_endpoint | LDU_FT | [
"<BEGIN>\n## `get_endpoint_by_subscriber_id_and_protocol`",
"Get an endpoint by subscriber_id and protocol\n<END>",
"<BEGIN>\n## `get_endpoints_by_subscriber_id`",
"Search for all endpoints by a given subscriber\n<END>",
"<BEGIN>\n## `resend_sms_endpoint_verification`",
"Calls NWS function to resend verif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_endpoint API.
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 create_endpoint API.
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... | Create a new endpoint
:param endpoint: is the new endpoint that the client wants to create | "Create a new endpoint\n :param endpoint: is the new endpoint that the client wants to create" | 44 | false | uw-it-aca/uw-restclients-nws | create_endpoint | 6,269 | |
LDU_FT/limodou/uliweb/url_quote_plus | LDU_FT | [
"<BEGIN>\n## `get_frame_info`",
"Return a dict of information about a given traceback.\n<END>",
"<BEGIN>\n## `get_sort_field`",
"Get sort column info according request, the data format just likes:\r",
" ?sort=fieldA.asc&sort=fieldB.desc\r",
" or:\r",
" ?sort=fieldA&sort=fieldB&order... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url_quote_plus API.
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 url_quote_plus API.
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... | URL encode a single string with the given encoding and convert
whitespace to "+".
:param s: The string to quote.
:param charset: The charset to be used.
:param safe: An optional sequence of safe characters. | "URL encode a single string with the given encoding and convert\n whitespace to \"+\".\n\n :param s: The string to quote.\n :param charset: The charset to be used.\n :param safe: An optional sequence of safe characters." | 886 | false | limodou/uliweb | url_quote_plus | 6,270 | |
LDU_FT/mjirik/imcut/interactivity | LDU_FT | [
"<BEGIN>\n## `__msgc_step3_discontinuity_localization`",
"Estimate discontinuity in basis of low resolution image segmentation.\n :return: discontinuity in low resolution\n<END>",
"<BEGIN>\n## `__multiscale_gc_lo2hi_run`",
"Run Graph-Cut segmentation with refinement of low resolution multiscale graph.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interactivity API.
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 interactivity API.
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... | Interactive seed setting with 3d seed editor | "Interactive seed setting with 3d seed editor" | 119 | false | mjirik/imcut | interactivity | 6,271 | |
LDU_FT/ml31415/numpy-groupies/minimum_dtype | LDU_FT | [
"<BEGIN>\n## `aggregate_group_loop`",
"wraps func in lambda which prevents aggregate_numpy from\n recognising and optimising it. Instead it groups and loops.\n<END>",
"<BEGIN>\n## `step_count`",
"Return the amount of index changes within group_idx.\n<END>",
"<BEGIN>\n## `step_indices`",
"Return the edg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minimum_dtype API.
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 minimum_dtype API.
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... | returns the "most basic" dtype which represents `x` properly, which
provides at least the same value range as the specified dtype. | "returns the \"most basic\" dtype which represents `x` properly, which\n provides at least the same value range as the specified dtype." | 56 | false | ml31415/numpy-groupies | minimum_dtype | 6,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.