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/geophysics-ubonn/crtomo_tools/pot_ana | LDU_FT | [
"<BEGIN>\n## `clear_measurements`",
"Remove all measurements from self.measurements. Reset the\n measurement counter. All ID are invalidated.\n<END>",
"<BEGIN>\n## `add_measurements`",
"Add new measurements to this instance",
" Parameters\n ----------\n measurements: numpy.ndarra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pot_ana API.
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 pot_ana API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return the analytical potential in distance r over a homogeneous
half-space | "Return the analytical potential in distance r over a homogeneous\n half-space" | 525 | false | geophysics-ubonn/crtomo_tools | pot_ana | 19,873 | |
LDU_FT/gorakhargosh/pathtools/get_dir_walker | LDU_FT | [
"<BEGIN>\n## `get_dir_walker`",
"Returns a recursive or a non-recursive directory walker.",
" :param recursive:\n ``True`` produces a recursive walker; ``False`` produces a non-recursive\n walker.\n :returns:\n A walker function.\n<END>",
"<BEGIN>\n## `walk`",
"Walks a directory t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dir_walker API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dir_walker API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns a recursive or a non-recursive directory walker.
:param recursive:
``True`` produces a recursive walker; ``False`` produces a non-recursive
walker.
:returns:
A walker function. | "Returns a recursive or a non-recursive directory walker.\n\n :param recursive:\n ``True`` produces a recursive walker; ``False`` produces a non-recursive\n walker.\n :returns:\n A walker function." | 38 | false | gorakhargosh/pathtools | get_dir_walker | 19,874 | |
LDU_FT/alefnula/tea/_send | LDU_FT | [
"<BEGIN>\n## `smart_text`",
"Return a unicode object representing 's'.\r",
" Treats bytes using the 'encoding' codec.\r",
" If strings_only is True, don't convert (some) non-string-like objects.\n<END>",
"<BEGIN>\n## `smart_bytes`",
"Return a bytes version of 's' encoded as specified in 'encoding'.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send API.
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 _send API.
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... | Send an email.
Helper method that does the actual sending. | "Send an email.\r\n\r\n Helper method that does the actual sending." | 240 | false | alefnula/tea | _send | 19,875 | |
LDU_FT/openvax/mhcflurry/fixed_length_vector_encoded_sequences | LDU_FT | [
"<BEGIN>\n## `extend`",
"Return a new HyperparameterDefaults instance containing the\n hyperparameters from the current instance combined with\n those from other.",
" It is an error if self and other have any hyperparameters in\n common.\n<END>",
"<BEGIN>\n## `with_defaults`",
"G... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fixed_length_vector_encoded_sequences API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fixed_length_vector_encoded_sequences API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | Encode alleles.
Parameters
----------
vector_encoding_name : string
How to represent amino acids.
One of "BLOSUM62", "one-hot", etc. Full list of supported vector
encodings is given by available_vector_encodings() in amino_acid.
Returns
-----... | "Encode alleles.\n\n Parameters\n ----------\n vector_encoding_name : string\n How to represent amino acids.\n One of \"BLOSUM62\", \"one-hot\", etc. Full list of supported vector\n encodings is given by available_vector_encodings() in amino_acid.\n\n Returns... | 272 | false | openvax/mhcflurry | fixed_length_vector_encoded_sequences | 19,876 | |
LDU_FT/yyuu/botornado/add_rule | LDU_FT | [
"<BEGIN>\n## `save`",
"Saves this item to SDB.",
" :param bool replace: If ``True``, delete any attributes on the remote\n SDB item that have a ``None`` value on this object.\n<END>",
"<BEGIN>\n## `add_value`",
"Helps set or add to attributes on this item. If you are adding a new\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_rule API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_rule API.
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... | Add a rule to this Lifecycle configuration. This only adds
the rule to the local copy. To install the new rule(s) on
the bucket, you need to pass this Lifecycle config object
to the configure_lifecycle method of the Bucket object.
:type id: str
:param id: Unique identifier for... | "Add a rule to this Lifecycle configuration. This only adds\n the rule to the local copy. To install the new rule(s) on\n the bucket, you need to pass this Lifecycle config object\n to the configure_lifecycle method of the Bucket object.\n\n :type id: str\n :param id: Unique identif... | 2,931 | true | yyuu/botornado | add_rule | 19,877 | |
LDU_FT/mlenzen/collections-extended/collection | LDU_FT | [
"<BEGIN>\n## `get`",
"Return value with given key or index.",
"\t\tIf no value is found, return d (None by default).\n<END>",
"<BEGIN>\n## `pop`",
"Remove and return value with given key or index (last item by default).",
"\t\tIf key is not found, returns d if given,\n\t\totherwise raises KeyError or Inde... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return a :class:`Collection` with the specified properties.
Args:
iterable (Iterable): collection to instantiate new collection from.
mutable (bool): Whether or not the new collection is mutable.
ordered (bool): Whether or not the new collection is ordered.
unique (bool): Whether or not the new collection con... | "Return a :class:`Collection` with the specified properties.\n\n\tArgs:\n\t\titerable (Iterable): collection to instantiate new collection from.\n\t\tmutable (bool): Whether or not the new collection is mutable.\n\t\tordered (bool): Whether or not the new collection is ordered.\n\t\tunique (bool): Whether or not the ne... | 104 | false | mlenzen/collections-extended | collection | 19,878 | |
LDU_FT/lorien/user_agent/build_system_components | LDU_FT | [
"<BEGIN>\n## `fix_chrome_mac_platform`",
"Chrome on Mac OS adds minor version number and uses underscores instead\n of dots. E.g. platform for Firefox will be: 'Intel Mac OS X 10.11'\n but for Chrome it will be 'Intel Mac OS X 10_11_6'.",
" :param platform: - string like \"Macintosh; Intel Mac OS X 10.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_system_components API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_system_components API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | For given os_id build random platform and oscpu
components
Returns dict {platform_version, platform, ua_platform, oscpu}
platform_version is OS name used in different places
ua_platform goes to navigator.platform
platform is used in building navigator.userAgent
oscpu goes to navigator.oscpu | "For given os_id build random platform and oscpu\n components\n\n Returns dict {platform_version, platform, ua_platform, oscpu}\n\n platform_version is OS name used in different places\n ua_platform goes to navigator.platform\n platform is used in building navigator.userAgent\n oscpu goes to navigator... | 25 | false | lorien/user_agent | build_system_components | 19,879 | |
LDU_FT/thespacedoctor/neddy/_oversized_subqueries | LDU_FT | [
"<BEGIN>\n## `get`",
"*get the conesearch object*",
" **Return:**\n - ``conesearch``",
" .. todo::",
" - @review: when complete, clean get method\n - @review: when complete add logging\n<END>",
"<BEGIN>\n## `_get_ned_query_url`",
"*single ned conesearch*",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _oversized_subqueries 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 _oversized_subqueries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | *subdivide oversized query*
**Key Arguments:**
# -
**Return:**
- None
.. todo::
- @review: when complete, clean _oversized_subqueries method
- @review: when complete add logging | "*subdivide oversized query*\n\n **Key Arguments:**\n # -\n\n **Return:**\n - None\n\n .. todo::\n\n - @review: when complete, clean _oversized_subqueries method\n - @review: when complete add logging" | 68 | false | thespacedoctor/neddy | _oversized_subqueries | 19,880 | |
LDU_FT/jldbc/pybaseball/statcast_pitcher | LDU_FT | [
"<BEGIN>\n## `process_win_streak`",
"Convert \"+++\"/\"---\" formatted win/loss streak column into a +/- integer column\n<END>",
"<BEGIN>\n## `split_request`",
"Splits Statcast queries to avoid request timeouts\n<END>",
"<BEGIN>\n## `statcast_pitcher`",
"Pulls statcast pitch-level data from Baseball Savan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the statcast_pitcher API.
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 statcast_pitcher API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Pulls statcast pitch-level data from Baseball Savant for a given pitcher.
ARGUMENTS
start_dt : YYYY-MM-DD : the first date for which you want a player's statcast data
end_dt : YYYY-MM-DD : the final date for which you want data
player_id : INT : the player's MLBAM ID. Find this by calling pybaseball.pl... | "Pulls statcast pitch-level data from Baseball Savant for a given pitcher.\n\n ARGUMENTS\n start_dt : YYYY-MM-DD : the first date for which you want a player's statcast data\n end_dt : YYYY-MM-DD : the final date for which you want data\n player_id : INT : the player's MLBAM ID. Find this by calling pybaseb... | 46 | false | jldbc/pybaseball | statcast_pitcher | 19,881 | |
LDU_FT/iblancasa/GitHubCity/readConfig | LDU_FT | [
"<BEGIN>\n## `export`",
"Export all attributes of the user to a dict.",
" :return: attributes of the user.\n :rtype: dict.\n<END>",
"<BEGIN>\n## `__getContributions`",
"Scrap the contributions from a GitHub profile.",
" :param web: parsed web.\n :type web: BeautifulSoup node.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readConfig API.
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 readConfig API.
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... | Read configuration from dict.
Read configuration from a JSON configuration file.
:param configuration: configuration to load.
:type configuration: dict. | "Read configuration from dict.\n\n Read configuration from a JSON configuration file.\n\n :param configuration: configuration to load.\n :type configuration: dict." | 97 | false | iblancasa/GitHubCity | readConfig | 19,882 | |
LDU_FT/jwodder/javaproperties/dump | LDU_FT | [
"<BEGIN>\n## `load_xml`",
"r\"\"\"\n Parse the contents of the file-like object ``fp`` as an XML properties file\n and return a `dict` of the key-value pairs.",
" Beyond basic XML well-formedness, `load_xml` only checks that the root\n element is named \"``properties``\" and that all of its ``<entry... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Write a series of key-value pairs to a file in simple line-oriented
``.properties`` format.
:param props: A mapping or iterable of ``(key, value)`` pairs to write to
``fp``. All keys and values in ``props`` must be text strings. If
``sort_keys`` is `False`, the entries are output in iteration... | "Write a series of key-value pairs to a file in simple line-oriented\n ``.properties`` format.\n\n :param props: A mapping or iterable of ``(key, value)`` pairs to write to\n ``fp``. All keys and values in ``props`` must be text strings. If\n ``sort_keys`` is `False`, the entries are output in ite... | 115 | false | jwodder/javaproperties | dump | 19,883 | |
LDU_FT/njharman/die/do_bucket | LDU_FT | [
"<BEGIN>\n## `do_sum`",
"Set self.sum, self.avr and return sum of dice rolled, count times.\n :param count: Number of rolls to make\n :return: Total sum of all rolls\n<END>",
"<BEGIN>\n## `do_bucket`",
"Set self.bucket and return results.\n :param count: Number of rolls to make\n :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_bucket API.
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 do_bucket API.
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... | Set self.bucket and return results.
:param count: Number of rolls to make
:return: List of tuples (total of roll, times it was rolled) | "Set self.bucket and return results.\n :param count: Number of rolls to make\n :return: List of tuples (total of roll, times it was rolled)" | 28 | false | njharman/die | do_bucket | 19,884 | |
LDU_FT/teepark/greenhouse/sendall | LDU_FT | [
"<BEGIN>\n## `read`",
"read up to len bytes and return them, or empty string on EOF\n<END>",
"<BEGIN>\n## `write`",
"write data to the ssl channel and return the # of bytes transferred\n<END>",
"<BEGIN>\n## `connect`",
"connects to the address and wraps the connection in an SSL context\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sendall API.
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 sendall API.
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... | send data over the connection, and keep sending until it all goes
.. note:: this method may block if the socket's send buffer is full
:param data: the data to send
:type data: str
:param flags:
flags for the send call. this has the same meaning as for
:meth:`rec... | "send data over the connection, and keep sending until it all goes\n\n .. note:: this method may block if the socket's send buffer is full\n\n :param data: the data to send\n :type data: str\n :param flags:\n flags for the send call. this has the same meaning as for\n :... | 349 | false | teepark/greenhouse | sendall | 19,885 | |
LDU_FT/astroswego/plotypus/fit | LDU_FT | [
"<BEGIN>\n## `Lomb_Scargle`",
"Returns the period of *data* according to the\n `Lomb-Scargle periodogram <https://en.wikipedia.org/wiki/Least-squares_spectral_analysis#The_Lomb.E2.80.93Scargle_periodogram>`_.",
" **Parameters**",
" data : array-like, shape = [n_samples, 2] or [n_samples, 3]\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Sets *self.degree* according to :func:`baart_criteria` if *degree_range*
is not None, otherwise does nothing.
**Parameters**
X : array-like, shape = [n_samples, 1]
Column vector of phases.
y : array-like or None, shape = [n_samples], optional
Row vector of magni... | "Sets *self.degree* according to :func:`baart_criteria` if *degree_range*\n is not None, otherwise does nothing.\n\n **Parameters**\n\n X : array-like, shape = [n_samples, 1]\n Column vector of phases.\n y : array-like or None, shape = [n_samples], optional\n Row vector... | 152 | false | astroswego/plotypus | fit | 19,886 | |
LDU_FT/quantopian/trading_calendars/vectorized_sunday_to_monday | LDU_FT | [
"<BEGIN>\n## `days_at_time`",
"Create an index of days at time ``t``, interpreted in timezone ``tz``.",
" The returned index is localized to UTC.",
" Parameters\n ----------\n days : DatetimeIndex\n An index of dates (represented as midnight).\n t : datetime.time\n The time to app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vectorized_sunday_to_monday API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vectorized_sunday_to_monday API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | A vectorized implementation of
:func:`pandas.tseries.holiday.sunday_to_monday`.
Parameters
----------
dtix : pd.DatetimeIndex
The index to shift sundays to mondays.
Returns
-------
sundays_as_mondays : pd.DatetimeIndex
``dtix`` with all sundays moved to the next monday. | "A vectorized implementation of\n :func:`pandas.tseries.holiday.sunday_to_monday`.\n\n Parameters\n ----------\n dtix : pd.DatetimeIndex\n The index to shift sundays to mondays.\n\n Returns\n -------\n sundays_as_mondays : pd.DatetimeIndex\n ``dtix`` with all sundays moved to the next... | 150 | false | quantopian/trading_calendars | vectorized_sunday_to_monday | 19,887 | |
LDU_FT/automl/HpBandSter/get_all_runs | LDU_FT | [
"<BEGIN>\n## `get_config`",
"Function to sample a new configuration",
"\t\t\tThis function is called inside Hyperband to query a new configuration",
"\t\t\tParameters:\n\t\t\t-----------\n\t\t\tbudget: float\n\t\t\t\tthe budget for which this configuration is scheduled",
"\t\t\treturns: config\n\t\t\t\tshou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_runs API.
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_all_runs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | returns all runs performed
Parameters
----------
only_largest_budget: boolean
if True, only the largest budget for each configuration
is returned. This makes sense if the runs are continued
across budgets and the info field contains the information
you care about. If False, all runs of a configu... | "returns all runs performed\n\n\t\tParameters\n\t\t----------\n\t\t\tonly_largest_budget: boolean\n\t\t\t\tif True, only the largest budget for each configuration\n\t\t\t\tis returned. This makes sense if the runs are continued\n\t\t\t\tacross budgets and the info field contains the information\n\t\t\t\tyou care about.... | 188 | false | automl/HpBandSter | get_all_runs | 19,888 | |
LDU_FT/childsish/lhc-python/ber | LDU_FT | [
"<BEGIN>\n## `_get_sorted_iterator`",
"Get the iterator over the sorted items.",
" This function decides whether the items can be sorted in memory or on disk.\n :return:\n<END>",
"<BEGIN>\n## `_split`",
"Splits the file into several chunks.",
" If the original file is too big to fit i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ber API.
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 ber API.
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... | Balanced Error Rate [0, 1]
:param int tp: number of true positives
:param int tn: number of true negatives
:param int fp: number of false positives
:param int fn: number of false negatives
:rtype: float | "Balanced Error Rate [0, 1]\n \n :param int tp: number of true positives\n :param int tn: number of true negatives\n :param int fp: number of false positives\n :param int fn: number of false negatives\n :rtype: float" | 76 | false | childsish/lhc-python | ber | 19,889 | |
LDU_FT/kurtbrose/pyjks/decrypt_PBEWithSHAAndTwofishCBC | LDU_FT | [
"<BEGIN>\n## `new`",
"Helper function to create a new TrustedCertEntry.",
" :param str alias: The alias for the Trusted Cert Entry\n :param str certs: The certificate, as a byte string.",
" :returns: A loaded :class:`TrustedCertEntry` instance, ready\n to be placed in a keystore.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt_PBEWithSHAAndTwofishCBC API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt_PBEWithSHAAndTwofishCBC API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Decrypts PBEWithSHAAndTwofishCBC, assuming PKCS#12-generated PBE parameters.
(Not explicitly defined as an algorithm in RFC 7292, but defined here nevertheless because of the assumption of PKCS#12 parameters). | "Decrypts PBEWithSHAAndTwofishCBC, assuming PKCS#12-generated PBE parameters.\n (Not explicitly defined as an algorithm in RFC 7292, but defined here nevertheless because of the assumption of PKCS#12 parameters)." | 104 | false | kurtbrose/pyjks | decrypt_PBEWithSHAAndTwofishCBC | 19,890 | |
LDU_FT/quantmind/pulsar/add_route | LDU_FT | [
"<BEGIN>\n## `slugify`",
"Normalizes string, removes non-alpha characters,\n and converts spaces to ``separator`` character\n<END>",
"<BEGIN>\n## `multi_bulk`",
"Multi bulk encoding for list/tuple ``args``\n<END>",
"<BEGIN>\n## `is_mainthread`",
"Check if thread is the main thread.",
" If ``thread... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_route API.
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_route API.
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 a new :class:`Router` to the :attr:`routes` list. | "Add a new :class:`Router` to the :attr:`routes` list." | 643 | false | quantmind/pulsar | add_route | 19,891 | |
LDU_FT/brbsix/subnuker/fixchars | LDU_FT | [
"<BEGIN>\n## `getch`",
"Request a single character input from the user.\n<END>",
"<BEGIN>\n## `ismatch`",
"Test whether text contains string or matches regex.\n<END>",
"<BEGIN>\n## `parse`",
"Parse command-line arguments. Arguments may consist of any\n combination of directories, files, and options.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fixchars API.
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 fixchars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Find and replace problematic characters. | "Find and replace problematic characters." | 36 | false | brbsix/subnuker | fixchars | 19,892 | |
LDU_FT/robinagist/ezo/create_from_hash | LDU_FT | [
"<BEGIN>\n## `get_topic_sha3`",
"takes an event block and returns a signature for sha3 hashing\n :param event_block:\n :return:\n<END>",
"<BEGIN>\n## `info`",
"Since this will always respond with height=0, Tendermint\n will resync this app from the begining\n<END>",
"<BEGIN>\n## `check_tx`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_hash API.
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_from_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | given the hash of a contract, returns a contract from the data store
:param hash: (string) hash of the contract source code
:param ezo: ezo instance
:return: contract instance, error | "given the hash of a contract, returns a contract from the data store\n :param hash: (string) hash of the contract source code\n :param ezo: ezo instance\n :return: contract instance, error" | 45 | false | robinagist/ezo | create_from_hash | 19,893 | |
LDU_FT/ffalcinelli/pydivert/udp | LDU_FT | [
"<BEGIN>\n## `check_filter`",
"Checks if the given packet filter string is valid with respect to the filter language.",
" The remapped function is WinDivertHelperCheckFilter::",
" BOOL WinDivertHelperCheckFilter(\n __in const char *filter,\n __in WINDIVERT_LAYER... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the udp API.
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 udp API.
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... | - An TCPHeader instance, if the packet is valid UDP.
- None, otherwise. | "- An TCPHeader instance, if the packet is valid UDP.\n - None, otherwise." | 67 | false | ffalcinelli/pydivert | udp | 19,894 | |
LDU_FT/cloud-custodian/cloud-custodian/get_launch_configs | LDU_FT | [
"<BEGIN>\n## `factory`",
"Factory func for filters.",
" data - policy config for filters\n manager - resource type manager (ec2, s3, etc)\n<END>",
"<BEGIN>\n## `get_block_operator`",
"Determine the immediate parent boolean operator for a filter\n<END>",
"<BEGIN>\n## `_validate_resource_count... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_launch_configs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_launch_configs 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... | Return a mapping of launch configs for the given set of asgs | "Return a mapping of launch configs for the given set of asgs" | 506 | false | cloud-custodian/cloud-custodian | get_launch_configs | 19,895 | |
LDU_FT/alecthomas/injector/multibind | LDU_FT | [
"<BEGIN>\n## `provider`",
"Decorator for :class:`Module` methods, registering a provider of a type.",
" >>> class MyModule(Module):\n ... @provider\n ... def provide_name(self) -> str:\n ... return 'Bob'",
" @provider-decoration implies @inject so you can omit it and things will\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multibind API.
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 multibind API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Creates or extends a multi-binding.
A multi-binding maps from a key to a sequence, where each element in
the sequence is provided separately.
:param interface: :func:`MappingKey` or :func:`SequenceKey` to bind to.
:param to: Instance, class to bind to, or an explicit :class:`Provider`
... | "Creates or extends a multi-binding.\n\n A multi-binding maps from a key to a sequence, where each element in\n the sequence is provided separately.\n\n :param interface: :func:`MappingKey` or :func:`SequenceKey` to bind to.\n :param to: Instance, class to bind to, or an explicit :class:`Pro... | 60 | false | alecthomas/injector | multibind | 19,896 | |
LDU_FT/ereOn/azmq/start_pipe_server | LDU_FT | [
"<BEGIN>\n## `metadata_to_buffers`",
"Transform a dict of metadata into a sequence of buffers.",
" :param metadata: The metadata, as a dict.\n :returns: A list of buffers.\n<END>",
"<BEGIN>\n## `buffer_to_metadata`",
"Transform a buffer to a metadata dictionary.",
" :param buffer: The buffer, as ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_pipe_server API.
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 start_pipe_server API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Start listening for connection using Windows named pipes. | "Start listening for connection using Windows named pipes." | 111 | false | ereOn/azmq | start_pipe_server | 19,897 | |
LDU_FT/github/octodns/_check_zone | LDU_FT | [
"<BEGIN>\n## `compare`",
"Compare zone data between 2 sources.",
" Note: only things supported by both sources will be considered\n<END>",
"<BEGIN>\n## `dump`",
"Dump zone data from the specified source\n<END>",
"<BEGIN>\n## `_equals`",
"Checks whether two records are equal by comparing all field... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_zone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_zone API.
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... | Checks whether a zone specified in a source exist in Azure server.
Note that Azure zones omit end '.' eg: contoso.com vs contoso.com.
Returns the name if it exists.
:param name: Name of a zone to checks
:type name: str
:param create: If True, creates the zo... | "Checks whether a zone specified in a source exist in Azure server.\n\n Note that Azure zones omit end '.' eg: contoso.com vs contoso.com.\n Returns the name if it exists.\n\n :param name: Name of a zone to checks\n :type name: str\n :param create: If True, create... | 64 | false | github/octodns | _check_zone | 19,898 | |
LDU_FT/juiceinc/recipe/filter_ids | LDU_FT | [
"<BEGIN>\n## `cauldron_extras`",
"Yield extra tuples containing a field name and a callable that takes\n a row\n<END>",
"<BEGIN>\n## `make_column_suffixes`",
"Make sure we have the right column suffixes. These will be appended\n to `id` when generating the query.\n<END>",
"<BEGIN>\n## `parse_c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_ids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_ids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the Metrics on this shelf in the order in which
they were used. | "Return the Metrics on this shelf in the order in which\n they were used." | 129 | false | juiceinc/recipe | filter_ids | 19,899 | |
LDU_FT/honzamach/pydgets/_render_content | LDU_FT | [
"<BEGIN>\n## `terminal_size`",
"Detect the current size of terminal window as a numer of rows and columns.\n<END>",
"<BEGIN>\n## `list_settings`",
"Get list of all appropriate settings and their default values.",
" The returned list is then used in setup() and get_setup() methods to setup\n th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _render_content API.
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 _render_content API.
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... | Perform widget rendering, but do not print anything. | "Perform widget rendering, but do not print anything." | 71 | false | honzamach/pydgets | _render_content | 19,900 | |
LDU_FT/jpscaletti/authcode/get_full_path | LDU_FT | [
"<BEGIN>\n## `set_hasher`",
"Updates the has algorithm and, optionally, the number of rounds\n to use.",
" Raises:\n `~WrongHashAlgorithm` if new algorithm isn't one of the three\n recomended options.\n<END>",
"<BEGIN>\n## `render_template`",
"Search for a setting named `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_full_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_full_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return the current relative path including the query string.
Eg: “/foo/bar/?page=1” | "Return the current relative path including the query string.\n Eg: “/foo/bar/?page=1”" | 48 | false | jpscaletti/authcode | get_full_path | 19,901 | |
LDU_FT/davidfokkema/artist/set_xticklabels_position | LDU_FT | [
"<BEGIN>\n## `render`",
"Render the plot using a template.",
" Once the plot is complete, it needs to be rendered. Artist uses\n the Jinja2 templating engine. The default template results in a\n LaTeX file which can be included in your document.",
" :param template: a user-suppli... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_xticklabels_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_xticklabels_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Specify the position of the axis tick labels.
This is generally only useful for multiplots containing only one
row. This can be used to e.g. alternatively draw the tick labels
on the bottom or the top of the subplot.
:param row,column: specify the subplot.
:param position: 'to... | "Specify the position of the axis tick labels.\n\n This is generally only useful for multiplots containing only one\n row. This can be used to e.g. alternatively draw the tick labels\n on the bottom or the top of the subplot.\n\n :param row,column: specify the subplot.\n :param posit... | 278 | false | davidfokkema/artist | set_xticklabels_position | 19,902 | |
LDU_FT/roaet/eh/set_hr_widths | LDU_FT | [
"<BEGIN>\n## `make_sample`",
"Generate the theme roller sample markdown\n<END>",
"<BEGIN>\n## `col`",
"print col('foo', 124) -> red 'foo' on the terminal\n c = color, s the value to colorize\n<END>",
"<BEGIN>\n## `rewrap`",
"Reasonably smart rewrapping checking punctuations\n<END>",
"<BEGIN>\n## `spl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_hr_widths API.
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 set_hr_widths API.
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... | We want the hrs indented by hirarchy...
A bit 2 much effort to calc, maybe just fixed with 10
style seps would have been enough visually:
◈────────────◈ | "We want the hrs indented by hirarchy...\n A bit 2 much effort to calc, maybe just fixed with 10\n style seps would have been enough visually:\n ◈────────────◈" | 35 | false | roaet/eh | set_hr_widths | 19,903 | |
LDU_FT/pavelsof/ipalint/_get_linewise_report | LDU_FT | [
"<BEGIN>\n## `_save_stdin`",
"Creates a temporary dir (self.temp_dir) and saves the given input\n\t\tstream to a file within that dir. Returns the path to the file. The dir\n\t\tis removed in the __del__ method.\n<END>",
"<BEGIN>\n## `_open`",
"Opens the file specified by the given path. Raises ValueError if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_linewise_report 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_linewise_report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a report each line of which comprises a pair of an input line
and an error. Unlike in the standard report, errors will appear as many
times as they occur.
Helper for the get_report method. | "Returns a report each line of which comprises a pair of an input line\n\t\tand an error. Unlike in the standard report, errors will appear as many\n\t\ttimes as they occur.\n\n\t\tHelper for the get_report method." | 53 | false | pavelsof/ipalint | _get_linewise_report | 19,904 | |
LDU_FT/raphaelvallat/pingouin/cochran | LDU_FT | [
"<BEGIN>\n## `plot_blandaltman`",
"Generate a Bland-Altman plot to compare two sets of measurements.",
" Parameters\n ----------\n x, y : np.array or list\n First and second measurements.\n agreement : float\n Multiple of the standard deviation to plot limit of agreement bounds.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cochran API.
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 cochran API.
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... | Cochran Q test. Special case of the Friedman test when the dependant
variable is binary.
Parameters
----------
dv : string
Name of column containing the binary dependant variable.
within : string
Name of column containing the within-subject factor.
subject : string
Name ... | "Cochran Q test. Special case of the Friedman test when the dependant\n variable is binary.\n\n Parameters\n ----------\n dv : string\n Name of column containing the binary dependant variable.\n within : string\n Name of column containing the within-subject factor.\n subject : string\n ... | 1,159 | true | raphaelvallat/pingouin | cochran | 19,905 | |
LDU_FT/projectatomic/atomic-reactor/get_volumes_for_container | LDU_FT | [
"<BEGIN>\n## `_build`",
"build image from provided build_args",
" :return: BuildResults\n<END>",
"<BEGIN>\n## `_load_results`",
"load results from recent build",
" :return: BuildResults\n<END>",
"<BEGIN>\n## `commit_buildroot`",
"create image from buildroot",
" :return:\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_volumes_for_container API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_volumes_for_container API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | get a list of volumes mounter in a container
:param container_id: str
:param skip_empty_source: bool, don't list volumes which are not created on FS
:return: list, a list of volume names | "get a list of volumes mounter in a container\n\n :param container_id: str\n :param skip_empty_source: bool, don't list volumes which are not created on FS\n :return: list, a list of volume names" | 440 | false | projectatomic/atomic-reactor | get_volumes_for_container | 19,906 | |
LDU_FT/ensime/ensime-vim/setup | LDU_FT | [
"<BEGIN>\n## `buffer_typechecks_and_display`",
"Adds typecheck events to the buffer, and displays them right away.",
" This is a workaround for this issue:\n https://github.com/ensime/ensime-server/issues/1616\n<END>",
"<BEGIN>\n## `handle_typecheck_complete`",
"Handles ``NewScalaNotesEvent```... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API.
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 setup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Check the classpath and connect to the server if necessary. | "Check the classpath and connect to the server if necessary." | 150 | false | ensime/ensime-vim | setup | 19,907 | |
LDU_FT/rdireen/spherepy/save_coef | LDU_FT | [
"<BEGIN>\n## `sbessely`",
"Returns a vector of spherical bessel functions yn:\r",
" x: The argument.\r\n N: values of n will run from 0 to N-1.\n<END>",
"<BEGIN>\n## `sbesselj`",
"Returns a vector of spherical bessel functions jn:\r",
" x: The argument.\r\n N: values of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_coef API.
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 save_coef API.
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... | Saves ScalarCoeffs object 'scoef' to file. The first line of the
file has the max number N and the max number M of the scoef structure
separated by a comma. The remaining lines have the form
3.14, 2.718
The first number is the real part of the mode and the second is the
imaginary. | "Saves ScalarCoeffs object 'scoef' to file. The first line of the \n file has the max number N and the max number M of the scoef structure \n separated by a comma. The remaining lines have the form\n \n 3.14, 2.718\n\n The first number is the real part of the mode and the second is the \n imaginar... | 194 | false | rdireen/spherepy | save_coef | 19,908 | |
LDU_FT/cemsbr/yala/_merge | LDU_FT | [
"<BEGIN>\n## `_set_linters`",
"Use user linters or all available when not specified.\n<END>",
"<BEGIN>\n## `print_config`",
"Print all yala configurations, including default and user's.\n<END>",
"<BEGIN>\n## `_parse_cfg_linters`",
"Return valid linter names found in config files.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _merge API.
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 _merge API.
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 ... | Append user options to default options. Return yala section. | "Append user options to default options. Return yala section." | 45 | false | cemsbr/yala | _merge | 19,909 | |
LDU_FT/vladsaveliev/TargQC/get_in | LDU_FT | [
"<BEGIN>\n## `main`",
"Annotating BED file based on reference features annotations.\n<END>",
"<BEGIN>\n## `downsample`",
"get N random headers from a fastq file without reading the\n whole thing into memory\n modified from: http://www.biostars.org/p/6544/\n<END>",
"<BEGIN>\n## `AddIndex`",
"Recursiv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_in API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_in API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | look up if you can get a tuple of values from a nested dictionary,
each item in the tuple a deeper layer
example: get_in({1: {2: 3}}, (1, 2)) -> 3
example: get_in({1: {2: 3}}, (2, 3)) -> {} | "look up if you can get a tuple of values from a nested dictionary,\n each item in the tuple a deeper layer\n\n example: get_in({1: {2: 3}}, (1, 2)) -> 3\n example: get_in({1: {2: 3}}, (2, 3)) -> {}" | 184 | false | vladsaveliev/TargQC | get_in | 19,910 | |
LDU_FT/yamins81/tabular/delete | LDU_FT | [
"<BEGIN>\n## `arrayuniqify`",
"Very fast uniqify routine for numpy arrays.",
" **Parameters**",
" **X** : numpy array",
" Determine the unique elements of this numpy array.",
" **retainorder** : Boolean, optional",
" Whether or not to retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Unified "strong" version of delete (remove) for files and directories.
Unified "strong" version of delete that uses `os.remove` for a file and
`shutil.rmtree` for a directory tree.
**Parameters**
**to_delete** : string
Path to a file or directory.
**See Also:**
`os <h... | "Unified \"strong\" version of delete (remove) for files and directories.\n\n Unified \"strong\" version of delete that uses `os.remove` for a file and \n `shutil.rmtree` for a directory tree.\n\n **Parameters**\n\n **to_delete** : string\n\n Path to a file or directory.\n\n **See Also:**... | 928 | false | yamins81/tabular | delete | 19,911 | |
LDU_FT/mretegan/crispy/updateResultsView | LDU_FT | [
"<BEGIN>\n## `loadFromDisk`",
"Read the spectra from the files generated by Quanty and store them\n as a list of spectum objects.\n<END>",
"<BEGIN>\n## `populateWidget`",
"Populate the widget using data stored in the state\n object. The order in which the individual widgets are populated\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the updateResultsView API.
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 updateResultsView API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Update the selection to contain only the result specified by
the index. This should be the last index of the model. Finally updade
the context menu.
The selectionChanged signal is used to trigger the update of
the Quanty dock widget and result details dialog.
:param index: Inde... | "Update the selection to contain only the result specified by\n the index. This should be the last index of the model. Finally updade\n the context menu.\n\n The selectionChanged signal is used to trigger the update of\n the Quanty dock widget and result details dialog.\n\n :param ind... | 38 | false | mretegan/crispy | updateResultsView | 19,912 | |
LDU_FT/ambitioninc/rabbitmq-admin/_post | LDU_FT | [
"<BEGIN>\n## `_api_get`",
"A convenience wrapper for _get. Adds headers, auth and base url by\n default\n<END>",
"<BEGIN>\n## `_get`",
"A wrapper for getting things",
" :returns: The response of your get\n :rtype: dict\n<END>",
"<BEGIN>\n## `_api_put`",
"A convenience wrapper for _p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | A wrapper for posting things. It will also json encode your 'data' parameter
:returns: The response of your post
:rtype: dict | "A wrapper for posting things. It will also json encode your 'data' parameter\n\n :returns: The response of your post\n :rtype: dict" | 100 | false | ambitioninc/rabbitmq-admin | _post | 19,913 | |
LDU_FT/wesyoung/pyzyre/gossip_connect | LDU_FT | [
"<BEGIN>\n## `set_header`",
"Set node header; these are provided to other nodes during discovery\nand come in each ENTER message.\n<END>",
"<BEGIN>\n## `set_endpoint`",
"By default, Zyre binds to an ephemeral TCP port and broadcasts the local\nhost name using UDP beaconing. When you call this method, Zyre wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gossip_connect API.
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 gossip_connect API.
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-up gossip discovery of other nodes. A node may connect to multiple
other nodes, for redundancy paths. For details of the gossip network
design, see the CZMQ zgossip class. | "Set-up gossip discovery of other nodes. A node may connect to multiple\nother nodes, for redundancy paths. For details of the gossip network\ndesign, see the CZMQ zgossip class." | 192 | false | wesyoung/pyzyre | gossip_connect | 19,914 | |
LDU_FT/johnnoone/aioconsul/prepare_node | LDU_FT | [
"<BEGIN>\n## `extract_blocking`",
"Extract index and watch from :class:`Blocking`",
" Parameters:\n obj (Blocking): the blocking object\n Returns:\n tuple: index and watch\n<END>",
"<BEGIN>\n## `consistency_middleware`",
"Set consistency",
" Order:",
" 1. consistency request\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_node API.
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 prepare_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Prepare node for catalog endpoint
Parameters:
data (Union[str, dict]): Node ID or node definition
Returns:
Tuple[str, dict]: where first is ID and second is node definition
Extract from /v1/health/service/<service>::
{
"Node": {
"Node": "foobar",
... | "Prepare node for catalog endpoint\n\n Parameters:\n data (Union[str, dict]): Node ID or node definition\n Returns:\n Tuple[str, dict]: where first is ID and second is node definition\n\n Extract from /v1/health/service/<service>::\n\n {\n \"Node\": {\n \"Node\": ... | 403 | false | johnnoone/aioconsul | prepare_node | 19,915 | |
LDU_FT/robehickman/simple-http-file-sync/file_put_contents | LDU_FT | [
"<BEGIN>\n## `lock_access`",
"Synchronise access to the user file between processes, this specifies\n which user is allowed write access at the current time\n<END>",
"<BEGIN>\n## `can_aquire_user_lock`",
"Allow a user to acquire the lock if no other user is currently using it, if the original\n user is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_put_contents API.
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 file_put_contents API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Put passed contents into file located at 'path' | "Put passed contents into file located at 'path'" | 60 | false | robehickman/simple-http-file-sync | file_put_contents | 19,916 | |
LDU_FT/data-8/datascience/format_column | LDU_FT | [
"<BEGIN>\n## `_is_array_integer`",
"Returns True if an array contains integers (integer type or near-int\n float values) and False otherwise.",
" >>> _is_array_integer(np.arange(10))\n True\n >>> _is_array_integer(np.arange(7.0, 20.0, 1.0))\n True\n >>> _is_array_integer(np.arange(0, 1, 0.1))\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_column API.
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 format_column API.
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 formatting function that pads & truncates values. | "Return a formatting function that pads & truncates values." | 401 | false | data-8/datascience | format_column | 19,917 | |
LDU_FT/cloudbase/python-hnvclient/process_raw_data | LDU_FT | [
"<BEGIN>\n## `register`",
"Register the current options to the global ConfigOpts object.\n<END>",
"<BEGIN>\n## `get_options`",
"Collect all the options info from the other modules.\n<END>",
"<BEGIN>\n## `run_once`",
"A memoization decorator, whose purpose is to cache calls.\n<END>",
"<BEGIN>\n## `get_cl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_raw_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_raw_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 ... | Create a new model using raw API response. | "Create a new model using raw API response." | 89 | false | cloudbase/python-hnvclient | process_raw_data | 19,918 | |
LDU_FT/spookey/photon/get_timestamp | LDU_FT | [
"<BEGIN>\n## `__signal`",
"Helper class preventing code duplication..",
" :param sig:\n Signal to use (e.g. \"HUP\", \"ALRM\")\n :param verbose:\n Overwrite :func:`photon.Photon.m`'s `verbose`\n :returns:\n |kill_return| with specified `pid`",
" .. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_timestamp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_timestamp API.
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... | What time is it?
:param time:
Append ``-%H.%M.%S`` to the final string.
:param precice:
Append ``-%f`` to the final string.
Is only recognized when `time` is set to ``True``
:returns:
A timestamp string of now in the format ``%Y.%m.%d-%H.%M.%S-%f``
.. seealso:: `strftim... | "What time is it?\n\n :param time:\n Append ``-%H.%M.%S`` to the final string.\n :param precice:\n Append ``-%f`` to the final string.\n Is only recognized when `time` is set to ``True``\n :returns:\n A timestamp string of now in the format ``%Y.%m.%d-%H.%M.%S-%f``\n\n .. seealso... | 199 | false | spookey/photon | get_timestamp | 19,919 | |
LDU_FT/venmo/business-rules/rule_variable | LDU_FT | [
"<BEGIN>\n## `export_rule_data`",
"export_rule_data is used to export all information about the\n variables, actions, and operators to the client. This will return a\n dictionary with three keys:\n - variables: a list of all available variables along with their label, type and options\n - actions: a l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rule_variable API.
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 rule_variable API.
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... | Decorator to make a function into a rule variable | "Decorator to make a function into a rule variable" | 21 | false | venmo/business-rules | rule_variable | 19,920 | |
LDU_FT/alvations/pywsd/fileids | LDU_FT | [
"<BEGIN>\n## `similarity_by_path`",
"Returns maximum path similarity between two senses.",
" :param sense1: A synset.\n :param sense2: A synset.\n :param option: String, one of ('path', 'wup', 'lch').\n :return: A float, similarity measurement.\n<END>",
"<BEGIN>\n## `similarity_by_infocontent`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fileids API.
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 fileids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns files from SemEval2007 Coarse-grain All-words WSD task. | "Returns files from SemEval2007 Coarse-grain All-words WSD task." | 83 | false | alvations/pywsd | fileids | 19,921 | |
LDU_FT/avladev/pypro/settings | LDU_FT | [
"<BEGIN>\n## `ask`",
"@question: str\n @default: Any value which can be converted to string.",
" Asks a user for a input.\n If default parameter is passed it will be appended to the end of the message in square brackets.\n<END>",
"<BEGIN>\n## `exception_handler`",
"This exception handler catches Ke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the settings API.
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 settings API.
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... | Loads the recipe settings file which is locate in:
./settings/{recipe_package}.ini | "Loads the recipe settings file which is locate in:\n ./settings/{recipe_package}.ini" | 11 | false | avladev/pypro | settings | 19,922 | |
LDU_FT/Locu/chronology/delete_events | LDU_FT | [
"<BEGIN>\n## `is_remote_allowed`",
"Check if `remote` is allowed to make a CORS request.\n<END>",
"<BEGIN>\n## `endpoint`",
"Returns a decorator which when applied a function, causes that function to\n serve `url` and only allows the HTTP methods in `methods`\n<END>",
"<BEGIN>\n## `get_seconds`",
"Conver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Delete events
POST body should contain a JSON encoded version of:
{ namespace: namespace_name (optional),
stream : stream_name,
start_time : starting_time_as_kronos_time,
end_time : ending_time_as_kronos_time,
start_id : only_delete_events_with_id_gte_me,
}
Either start_time or start... | "Delete events\n POST body should contain a JSON encoded version of:\n { namespace: namespace_name (optional),\n stream : stream_name,\n start_time : starting_time_as_kronos_time,\n end_time : ending_time_as_kronos_time,\n start_id : only_delete_events_with_id_gte_me,\n }\n Either start_time... | 156 | false | Locu/chronology | delete_events | 19,923 | |
LDU_FT/aio-libs/multidict/popall | LDU_FT | [
"<BEGIN>\n## `getall`",
"Return a list of all values matching the key.\n<END>",
"<BEGIN>\n## `extend`",
"Extend current MultiDict with more values.",
" This method must be used instead of update.\n<END>",
"<BEGIN>\n## `setdefault`",
"Return value for key, set value to default if key is not presen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the popall API.
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 popall API.
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 ... | Remove all occurrences of key and return the list of corresponding
values.
If key is not found, default is returned if given, otherwise
KeyError is raised. | "Remove all occurrences of key and return the list of corresponding\n values.\n\n If key is not found, default is returned if given, otherwise\n KeyError is raised." | 17 | false | aio-libs/multidict | popall | 19,924 | |
LDU_FT/dpgaspar/Flask-AppBuilder/_bind_indirect_user | LDU_FT | [
"<BEGIN>\n## `dict_to_json`",
"Converts a list of dicts from datamodel query results\n to google chart json data.",
" :param xcol:\n The name of a string column to be used has X axis on chart\n :param ycols:\n A list with the names of series cols, that can be used as n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bind_indirect_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bind_indirect_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | If using AUTH_LDAP_BIND_USER bind this user before performing search
:param ldap: The ldap module reference
:param con: The ldap connection | "If using AUTH_LDAP_BIND_USER bind this user before performing search\n :param ldap: The ldap module reference\n :param con: The ldap connection" | 393 | false | dpgaspar/Flask-AppBuilder | _bind_indirect_user | 19,925 | |
LDU_FT/willkg/everett/get_required_config | LDU_FT | [
"<BEGIN>\n## `parse_yaml_file`",
"Parse yaml file at ``path`` and return a dict.\n<END>",
"<BEGIN>\n## `import_class`",
"Given a clspath, returns the class.",
" Note: This is a really simplistic implementation.\n<END>",
"<BEGIN>\n## `upper_lower_none`",
"Validate arg value as \"upper\", \"lower\", or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_required_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_required_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.
T... | Roll up configuration options for this class and parent classes.
This handles subclasses overriding options in parent classes.
:returns: final ``ConfigOptions`` representing all configuration for
this class | "Roll up configuration options for this class and parent classes.\n\n This handles subclasses overriding options in parent classes.\n\n :returns: final ``ConfigOptions`` representing all configuration for\n this class" | 63 | false | willkg/everett | get_required_config | 19,926 | |
LDU_FT/pyblish/pyblish-lite/_process | LDU_FT | [
"<BEGIN>\n## `paint`",
"Paint checkbox and text\n _\n |_| My label\n<END>",
"<BEGIN>\n## `paint`",
"Paint checkbox and text",
" _________________________________________\n | | label | duration |\n |toggle |_____________________| |\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process API.
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 _process API.
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... | Produce `result` from `plugin` and `instance`
:func:`process` shares state with :func:`_iterator` such that
an instance/plugin pair can be fetched and processed in isolation.
Arguments:
plugin (pyblish.api.Plugin): Produce result using plug-in
instance (optional, pyblis... | "Produce `result` from `plugin` and `instance`\n\n :func:`process` shares state with :func:`_iterator` such that\n an instance/plugin pair can be fetched and processed in isolation.\n\n Arguments:\n plugin (pyblish.api.Plugin): Produce result using plug-in\n instance (optional... | 33 | false | pyblish/pyblish-lite | _process | 19,927 | |
LDU_FT/skibblenybbles/django-commando/check_program | LDU_FT | [
"<BEGIN>\n## `get_option_default`",
"Given an optparse.Option, returns a two-tuple of the option's variable name\n and default value.\n<END>",
"<BEGIN>\n## `get_command_class_from_apps`",
"Searches through the given apps to find the named command class. Skips\n over any packages specified by exclude_pac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_program API.
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 check_program API.
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... | Checks whether a program is available on the shell PATH. | "Checks whether a program is available on the shell PATH." | 31 | false | skibblenybbles/django-commando | check_program | 19,928 | |
LDU_FT/thomasw/djproxy/_normalize_django_header_name | LDU_FT | [
"<BEGIN>\n## `generate_proxy`",
"Generate a ProxyClass based view that uses the passed base_url.\n<END>",
"<BEGIN>\n## `generate_routes`",
"Generate a list of urls that map to generated proxy views.",
" generate_routes({\n 'test_proxy': {\n 'base_url': 'https://google.com/',\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_django_header_name 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 _normalize_django_header_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Unmunge header names modified by Django. | "Unmunge header names modified by Django." | 26 | false | thomasw/djproxy | _normalize_django_header_name | 19,929 | |
LDU_FT/mtien/PeptideBuilder/add_residue | LDU_FT | [
"<BEGIN>\n## `initialize_res`",
"Creates a new structure containing a single amino acid. The type and\n geometry of the amino acid are determined by the argument, which has to be\n either a geometry object or a single-letter amino acid code.\n The amino acid will be placed into chain A of model 0.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_residue API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_residue API.
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... | Adds a residue to chain A model 0 of the given structure, and
returns the new structure. The residue to be added can be specified
in two ways: either as a geometry object (in which case
the remaining arguments phi, psi_im1, and omega are ignored) or as a
single-letter amino-acid code. In the latter case... | "Adds a residue to chain A model 0 of the given structure, and\n returns the new structure. The residue to be added can be specified\n in two ways: either as a geometry object (in which case\n the remaining arguments phi, psi_im1, and omega are ignored) or as a\n single-letter amino-acid code. In the latter... | 16 | false | mtien/PeptideBuilder | add_residue | 19,930 | |
LDU_FT/BD2KOnFHIR/fhirtordf/add_reference | LDU_FT | [
"<BEGIN>\n## `namespace_for`",
"Reverse namespace lookup. Note that returned namespace may not be unique\n :param uri: namespace URI\n :return: namespace\n<END>",
"<BEGIN>\n## `known_formats`",
"Return a list of available formats in rdflib for the required task\n :param use: task (typically Serializ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_reference API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_reference API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Add a fhir:link and RDF type arc if it can be determined
:param subj: reference subject
:param val: reference value | "Add a fhir:link and RDF type arc if it can be determined\n :param subj: reference subject\n :param val: reference value" | 75 | false | BD2KOnFHIR/fhirtordf | add_reference | 19,931 | |
LDU_FT/niemasd/TreeSwift/coalescence_waiting_times | LDU_FT | [
"<BEGIN>\n## `plot_ltt`",
"Plot the Lineages Through Time (LTT) curve of a given tree",
" Args:\n ``lineages`` (``dict``): The ``lineages`` dictionary returned by a ``Tree`` object's ``lineages_through_time()`` function call",
" ``show_plot`` (``bool``): ``True`` to show the plot, otherwise `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coalescence_waiting_times 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 coalescence_waiting_times API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Generator over the waiting times of successive coalescence events
Args:
``backward`` (``bool``): ``True`` to go backward in time (i.e., leaves to root), otherwise ``False`` | "Generator over the waiting times of successive coalescence events\n\n Args:\n ``backward`` (``bool``): ``True`` to go backward in time (i.e., leaves to root), otherwise ``False``" | 280 | false | niemasd/TreeSwift | coalescence_waiting_times | 19,932 | |
LDU_FT/jam31118/vis/estimate_global_norm_range | LDU_FT | [
"<BEGIN>\n## `estimate_global_norm_range`",
"Return estimated global range for 2D (pcolormesh-like) plot.",
" ## Returns:\n - vmin\n - vmax\n<END>",
"<BEGIN>\n## `process_frames_argument`",
"Check and process 'frames' argument\n into a proper iterable for an animation object",
" ## Argument... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the estimate_global_norm_range 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 estimate_global_norm_range 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 estimated global range for 2D (pcolormesh-like) plot.
## Returns:
- vmin
- vmax | "Return estimated global range for 2D (pcolormesh-like) plot.\n\n ## Returns:\n - vmin\n - vmax" | 53 | false | jam31118/vis | estimate_global_norm_range | 19,933 | |
LDU_FT/singnet/snet-cli/metadata_update_endpoints | LDU_FT | [
"<BEGIN>\n## `list_my`",
"Find organization that has the current identity as the owner or as the member\n<END>",
"<BEGIN>\n## `is_group_name_exists`",
"check if group with given name is already exists\n<END>",
"<BEGIN>\n## `get_group_by_group_id`",
"return group with given group_id (return None if doesn't... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metadata_update_endpoints 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 metadata_update_endpoints API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Metadata: Remove all endpoints from the group and add new ones | "Metadata: Remove all endpoints from the group and add new ones" | 65 | false | singnet/snet-cli | metadata_update_endpoints | 19,934 | |
LDU_FT/qiniu/python-sdk/mkbucketv2 | LDU_FT | [
"<BEGIN>\n## `execute`",
"执行持久化处理:",
" Args:\n key: 待处理的源文件\n fops: 处理详细操作,规格详见 https://developer.qiniu.com/dora/manual/1291/persistent-data-processing-pfop\n force: 强制执行持久化处理开关",
" Returns:\n 一个dict变量,返回持久化处理的persistentId,类似{\"persistentId\": 54... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkbucketv2 API.
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 mkbucketv2 API.
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... | 创建存储空间
https://developer.qiniu.com/kodo/api/1382/mkbucketv2
Args:
bucket_name: 存储空间名
region: 存储区域 | "创建存储空间\n https://developer.qiniu.com/kodo/api/1382/mkbucketv2\n\n Args:\n bucket_name: 存储空间名\n region: 存储区域" | 337 | false | qiniu/python-sdk | mkbucketv2 | 19,935 | |
LDU_FT/cltk/cltk/mdc_unicode | LDU_FT | [
"<BEGIN>\n## `transcribe`",
"Accepts a word and returns a string of an approximate pronounciation (IPA)\n<END>",
"<BEGIN>\n## `syllabify`",
"Syllabifier module for Middle High German",
" The algorithm works by applying the MOP(Maximal Onset Principle)\n on open syllables. For closed syllables,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mdc_unicode API.
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 mdc_unicode API.
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... | parameters:
string: str
q_kopf: boolean
return:
unicode_text: str
The translitterated text passes to the
function under the variable 'string'.
The search and replace operation
is done for the related caracters. If
the q_kopf parameter is False, we replace
'q' with 'ḳ' | "parameters:\n string: str\n q_kopf: boolean\n return:\n unicode_text: str\n The translitterated text passes to the\n function under the variable 'string'.\n The search and replace operation\n is done for the related caracters. If\n the q_kopf parameter is False, we replace\n 'q' with 'ḳ'" | 1,301 | true | cltk/cltk | mdc_unicode | 19,936 | |
LDU_FT/GoogleCloudPlatform/compute-image-packages/_RunScript | LDU_FT | [
"<BEGIN>\n## `EnableNetworkInterfaces`",
"Enable the list of network interfaces.",
" Args:\n interfaces: list of string, the output device names to enable.\n logger: logger object, used to write to SysLog and serial port.\n dhclient_script: string, the path to a dhclient script used by dhclien... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _RunScript API.
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 _RunScript API.
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... | Run a script and log the streamed script output.
Args:
script: string, the file location of an executable script. | "Run a script and log the streamed script output.\n\n Args:\n script: string, the file location of an executable script." | 310 | false | GoogleCloudPlatform/compute-image-packages | _RunScript | 19,937 | |
LDU_FT/dead-beef/markovchain/from_storage | LDU_FT | [
"<BEGIN>\n## `create_arg_parser`",
"Create command subparsers.",
" Parameters\n ----------\n parent : `argparse.ArgumentParser`\n Command parser.\n<END>",
"<BEGIN>\n## `read`",
"Read data files and update a generator.",
" Parameters\n ----------\n fnames : `list` of `str`\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_storage API.
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 from_storage API.
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... | Load from storage.
Parameters
----------
storage : `markovchain.storage.Storage`
Returns
-------
`markovchain.Markov` | "Load from storage.\n\n Parameters\n ----------\n storage : `markovchain.storage.Storage`\n\n Returns\n -------\n `markovchain.Markov`" | 323 | false | dead-beef/markovchain | from_storage | 19,938 | |
LDU_FT/ionelmc/python-aspectlib/patch_module | LDU_FT | [
"<BEGIN>\n## `weave`",
"Send a message to a recipient",
" Args:\n target (string, class, instance, function or builtin):\n The object to weave.\n aspects (:py:obj:`aspectlib.Aspect`, function decorator or list of):\n The aspects to apply to the object.\n subclasses ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_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 extr... | Low-level attribute patcher.
:param module module: Object to patch.
:param str name: Attribute to patch
:param replacement: The replacement value.
:param original: The original value (in case the object beeing patched uses descriptors or is plain weird).
:param bool aliases: If ``True`` patch all t... | "Low-level attribute patcher.\n\n :param module module: Object to patch.\n :param str name: Attribute to patch\n :param replacement: The replacement value.\n :param original: The original value (in case the object beeing patched uses descriptors or is plain weird).\n :param bool aliases: If ``True`` patc... | 48 | false | ionelmc/python-aspectlib | patch_module | 19,939 | |
LDU_FT/razor-x/scipy-data_fitting/maps | LDU_FT | [
"<BEGIN>\n## `add_symbol`",
"Add a symbol with key `name` to `scipy_data_fitting.Model.symbols`.\n Optionally, specify an alternative `string` to pass to [`sympy.Symbol`][1],\n otherwise `name` is used.",
" [1]: http://docs.sympy.org/dev/modules/core.html#id4\n<END>",
"<BEGIN>\n## `replac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | A dictionary of dictionaries.
Each dictionary defines a map which is used to extend the metadata.
The precise way maps interact with the metadata is defined by `figure.fit._extend_meta`.
That method should be redefined or extended to suit specific use cases. | "A dictionary of dictionaries.\n Each dictionary defines a map which is used to extend the metadata.\n\n The precise way maps interact with the metadata is defined by `figure.fit._extend_meta`.\n That method should be redefined or extended to suit specific use cases." | 163 | false | razor-x/scipy-data_fitting | maps | 19,940 | |
LDU_FT/google/budou/get_overlaps | LDU_FT | [
"<BEGIN>\n## `get_parser`",
"Gets a parser.",
" Args:\n segmenter (str): Segmenter to use.\n options (:obj:`dict`, optional): Optional settings.",
" Returns:\n Parser (:obj:`budou.parser.Parser`)",
" Raises:\n ValueError: If unsupported segmenter is specified.\n<END>",
"<BEGIN>\n## `parse_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_overlaps API.
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_overlaps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns chunks overlapped with the given range.
Args:
offset (int): Begin offset of the range.
length (int): Length of the range.
Returns:
Overlapped chunks. (:obj:`budou.chunk.ChunkList`) | "Returns chunks overlapped with the given range.\n\n Args:\n offset (int): Begin offset of the range.\n length (int): Length of the range.\n\n Returns:\n Overlapped chunks. (:obj:`budou.chunk.ChunkList`)" | 89 | false | google/budou | get_overlaps | 19,941 | |
LDU_FT/Tenchi2xh/Almonds/resize | LDU_FT | [
"<BEGIN>\n## `extrema`",
"Returns the minimum and maximum values contained in a given area.",
" :param x0: Starting x index.\n :param y0: Starting y index.\n :param w: Width of the area to scan.\n :param h: Height of the area to scan.\n :return: Tuple containing the minimu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resize API.
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 resize API.
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 ... | Used when resizing the plane, resets the plane ratio factor.
:param w: New width of the visible section of the plane.
:param h: New height of the visible section of the plane. | "Used when resizing the plane, resets the plane ratio factor.\n\n :param w: New width of the visible section of the plane.\n :param h: New height of the visible section of the plane." | 79 | false | Tenchi2xh/Almonds | resize | 19,942 | |
LDU_FT/Nixiware/viper/extractFromSQLFile | LDU_FT | [
"<BEGIN>\n## `send`",
"Sends an email using the SMTP connection.",
" :param recipient: <tuple> recipient's email address as the first element and their name as an optional second\n element\n :param subject: <str> mail subject\n :param message: <str> mail content (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extractFromSQLFile 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 extractFromSQLFile 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... | Process an SQL file and extract all the queries sorted.
:param filePointer: <io.TextIOWrapper> file pointer to SQL file
:return: <list> list of queries | "Process an SQL file and extract all the queries sorted.\n\n :param filePointer: <io.TextIOWrapper> file pointer to SQL file\n :return: <list> list of queries" | 72 | false | Nixiware/viper | extractFromSQLFile | 19,943 | |
LDU_FT/letuananh/chirptext/surface | LDU_FT | [
"<BEGIN>\n## `download`",
"Download a file at $url and save it to $path\n<END>",
"<BEGIN>\n## `parse`",
"Use mecab-python3 by default to parse JP text. Fall back to mecab binary app if needed\n<END>",
"<BEGIN>\n## `flex_update_obj`",
"Pull data from source to target.\n Target's __dict__ (object data) w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the surface API.
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 surface API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Get surface string that is associated with a tag object | "Get surface string that is associated with a tag object" | 80 | false | letuananh/chirptext | surface | 19,944 | |
LDU_FT/jaegertracing/jaeger-client-python/span_context_to_string | LDU_FT | [
"<BEGIN>\n## `_set_client_id`",
"Method for tracer to set client ID of throttler.\n<END>",
"<BEGIN>\n## `_init_polling`",
"Bootstrap polling for throttler.",
" To avoid spiky traffic from throttler clients, we use a random delay\n before the first poll.\n<END>",
"<BEGIN>\n## `local_ip`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the span_context_to_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the span_context_to_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.... | Serialize span ID to a string
{trace_id}:{span_id}:{parent_id}:{flags}
Numbers are encoded as variable-length lower-case hex strings.
If parent_id is None, it is written as 0.
:param trace_id:
:param span_id:
:param parent_id:
:param flags: | "Serialize span ID to a string\n {trace_id}:{span_id}:{parent_id}:{flags}\n\n Numbers are encoded as variable-length lower-case hex strings.\n If parent_id is None, it is written as 0.\n\n :param trace_id:\n :param span_id:\n :param parent_id:\n :param flags:" | 46 | false | jaegertracing/jaeger-client-python | span_context_to_string | 19,945 | |
LDU_FT/lalinsky/python-phoenixdb/set_session | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connects to a Phoenix query server.",
" :param url:\n URL to the Phoenix query server, e.g. ``http://localhost:8765/``",
" :param autocommit:\n Switch the connection to autocommit mode.",
" :param readonly:\n Switch the connection to readonly mode.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_session API.
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 set_session API.
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... | Sets one or more parameters in the current connection.
:param autocommit:
Switch the connection to autocommit mode. With the current
version, you need to always enable this, because
:meth:`commit` is not implemented.
:param readonly:
Switch the connectio... | "Sets one or more parameters in the current connection.\n\n :param autocommit:\n Switch the connection to autocommit mode. With the current\n version, you need to always enable this, because\n :meth:`commit` is not implemented.\n\n :param readonly:\n Switch the ... | 86 | false | lalinsky/python-phoenixdb | set_session | 19,946 | |
LDU_FT/wesm/feather/IsErrorSuppressedByNolint | LDU_FT | [
"<BEGIN>\n## `IsErrorSuppressedByNolint`",
"Returns true if the specified error category is suppressed on this line.",
" Consults the global error_suppressions map populated by\n ParseNolintSuppressions/ResetNolintSuppressions.",
" Args:\n category: str, the category of the error.\n linenum: int, the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the IsErrorSuppressedByNolint 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 IsErrorSuppressedByNolint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Returns true if the specified error category is suppressed on this line.
Consults the global error_suppressions map populated by
ParseNolintSuppressions/ResetNolintSuppressions.
Args:
category: str, the category of the error.
linenum: int, the current line number.
Returns:
bool, True iff the error... | "Returns true if the specified error category is suppressed on this line.\n\n Consults the global error_suppressions map populated by\n ParseNolintSuppressions/ResetNolintSuppressions.\n\n Args:\n category: str, the category of the error.\n linenum: int, the current line number.\n Returns:\n bool, True iff... | 104 | false | wesm/feather | IsErrorSuppressedByNolint | 19,947 | |
LDU_FT/dmbee/seglearn/sliding_window | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model",
" Fit all the transforms one after the other and transform the\n data, then fit the transformed data using the final estimator.",
" Parameters\n ----------\n X : iterable\n Training data. Must fulfill input requirements of fir... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sliding_window API.
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 sliding_window API.
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... | Segments univariate time series with sliding window
Parameters
----------
time_series : array like shape [n_samples]
time series or sequence
width : int > 0
segment width in samples
step : int > 0
stepsize for sliding in samples
Returns
-------
w : array like sh... | "Segments univariate time series with sliding window\n\n Parameters\n ----------\n time_series : array like shape [n_samples]\n time series or sequence\n width : int > 0\n segment width in samples\n step : int > 0\n stepsize for sliding in samples\n\n Returns\n -------\n w :... | 165 | false | dmbee/seglearn | sliding_window | 19,948 | |
LDU_FT/vertical-knowledge/ripozo-sqlalchemy/serialize_model | LDU_FT | [
"<BEGIN>\n## `profileit`",
"Decorator straight up stolen from stackoverflow\n<END>",
"<BEGIN>\n## `_get_fields_for_model`",
"Gets all of the fields on the model.",
" :param DeclarativeModel model: A SQLAlchemy ORM Model\n :return: A tuple of the fields on the Model corresponding\n to the column... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Takes a model and serializes the fields provided into
a dictionary.
:param Model model: The Sqlalchemy model instance to serialize
:param dict field_dict: The dictionary of fields to return.
:return: The serialized model.
:rtype: dict | "Takes a model and serializes the fields provided into\n a dictionary.\n\n :param Model model: The Sqlalchemy model instance to serialize\n :param dict field_dict: The dictionary of fields to return.\n :return: The serialized model.\n :rtype: dict" | 49 | false | vertical-knowledge/ripozo-sqlalchemy | serialize_model | 19,949 | |
LDU_FT/bububa/pyTOP/add | LDU_FT | [
"<BEGIN>\n## `ordersku_update`",
"taobao.trade.ordersku.update 更新交易订单的销售属性",
" 需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能\n<END>",
"<BEGIN>\n## `get`",
"taobao.topats.result.get 获取异步任务结果",
" 使用指南:http://open.taobao.com/doc/detail.htm?id=30 ",
" - 1.此接口用于获取异步任务处理的结果,传入的task_id必需属... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | taobao.postage.add 添加邮费模板
添加邮费模板
新增的邮费模板属于当前会话用户
postage_mode_types、postage_mode_dests、postage_mode_prices、 postage_mode_increases四个字段组合起来表示邮费的子模板列表。每个邮费子模板都包含了type(邮费类型,有post、 express、ems可以选择)、dest(邮费模板应用地区,每个模板可以使用于多个地区,每个地区填入他的代码,地区与地区之间用半角逗号分隔)、 price(邮费基价)、incre... | "taobao.postage.add 添加邮费模板\n \n 添加邮费模板 \n \n 新增的邮费模板属于当前会话用户 \n \n postage_mode_types、postage_mode_dests、postage_mode_prices、 postage_mode_increases四个字段组合起来表示邮费的子模板列表。每个邮费子模板都包含了type(邮费类型,有post、 express、ems可以选择)、dest(邮费模板应用地区,每个模板可以使用于多个地区,每个地区填入他的代码,地区与地区之间用半角逗号分隔)、 price(邮费基价... | 619 | false | bububa/pyTOP | add | 19,950 | |
LDU_FT/SoCo/SoCo/getch | LDU_FT | [
"<BEGIN>\n## `_post`",
"Try 3 times to request the content.",
" :param headers: The HTTP headers\n :type headers: dict\n :param body: The body of the HTTP post\n :type body: str\n :param retries: The number of times to retry before giving up\n :type retries: int\n :param timeout: The time t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getch API.
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 getch API.
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... | Read a single character non-echoed and return it. Recipe from:
http://code.activestate.com/recipes/
134892-getch-like-unbuffered-character-reading-from-stdin/ | "Read a single character non-echoed and return it. Recipe from:\n http://code.activestate.com/recipes/\n 134892-getch-like-unbuffered-character-reading-from-stdin/" | 663 | false | SoCo/SoCo | getch | 19,951 | |
LDU_FT/striglia/pyramid_swagger/get_exclude_paths | LDU_FT | [
"<BEGIN>\n## `includeme`",
":type config: :class:`pyramid.config.Configurator`\n<END>",
"<BEGIN>\n## `validate_swagger_schema`",
"Validate the structure of Swagger schemas against the spec.",
" **Valid only for Swagger v1.2 spec**",
" Note: It is possible that resource_listing is not present in\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_exclude_paths API.
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_exclude_paths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Compiles a list of paths that should not be validated against.
:rtype: list of compiled validation regexes | "Compiles a list of paths that should not be validated against.\n :rtype: list of compiled validation regexes" | 101 | false | striglia/pyramid_swagger | get_exclude_paths | 19,952 | |
LDU_FT/datadesk/python-documentcloud/get_normal_image | LDU_FT | [
"<BEGIN>\n## `_make_request`",
"Configure a HTTP request, fire it off and return the response.\n<END>",
"<BEGIN>\n## `_get_search_page`",
"Retrieve one page of search results from the DocumentCloud API.\n<END>",
"<BEGIN>\n## `search`",
"Retrieve all objects that make a search query.",
" Will loop... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_normal_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_normal_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Downloads and returns the normal sized image of a single page.
The page kwarg specifies which page to return. One is the default. | "Downloads and returns the normal sized image of a single page.\n\n The page kwarg specifies which page to return. One is the default." | 107 | false | datadesk/python-documentcloud | get_normal_image | 19,953 | |
LDU_FT/fedora-infra/fedmsg/get_replay | LDU_FT | [
"<BEGIN>\n## `set_high_water_mark`",
"Set a high water mark on the zmq socket. Do so in a way that is\n cross-compatible with zeromq2 and zeromq3.\n<END>",
"<BEGIN>\n## `set_tcp_keepalive`",
"Set a series of TCP keepalive options on the socket if\n and only if\n 1) they are specified explicitly in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_replay API.
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 get_replay API.
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... | Query the replay endpoint for missed messages.
Args:
name (str): The replay endpoint name.
query (dict): A dictionary used to query the replay endpoint for messages.
Queries are dictionaries with the following any of the following keys:
* 'seq_ids': A ``list`` of ``int``, m... | "Query the replay endpoint for missed messages.\n\n Args:\n name (str): The replay endpoint name.\n query (dict): A dictionary used to query the replay endpoint for messages.\n Queries are dictionaries with the following any of the following keys:\n\n * 'seq_ids': A ``list`` of ``... | 248 | false | fedora-infra/fedmsg | get_replay | 19,954 | |
LDU_FT/google/dotty/solve_filter | LDU_FT | [
"<BEGIN>\n## `generate_chunks`",
"Yield 'chunk_size' items from 'data' at a time.\n<END>",
"<BEGIN>\n## `reduce`",
"Repeatedly call fold and merge on data and then finalize.",
" Arguments:\n data: Input for the fold function.\n reducer: The IReducer to use.\n chunk_size: How many ite... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solve_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solve_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 extr... | Filter values on the LHS by evaluating RHS with each value.
Returns any LHS values for which RHS evaluates to a true value. | "Filter values on the LHS by evaluating RHS with each value.\n\n Returns any LHS values for which RHS evaluates to a true value." | 284 | false | google/dotty | solve_filter | 19,955 | |
LDU_FT/harlowja/fasteners/canonicalize_path | LDU_FT | [
"<BEGIN>\n## `_ensure_tree`",
"Create a directory (and any ancestor directories required).",
" :param path: Directory to create\n<END>",
"<BEGIN>\n## `interprocess_locked`",
"Acquires & releases a interprocess lock around call into\n decorated function.\n<END>",
"<BEGIN>\n## `acquire`",
"Attemp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the canonicalize_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the canonicalize_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Canonicalizes a potential path.
Returns a binary string encoded into filesystem encoding. | "Canonicalizes a potential path.\n\n Returns a binary string encoded into filesystem encoding." | 37 | false | harlowja/fasteners | canonicalize_path | 19,956 | |
LDU_FT/UDST/osmnet/network_from_bbox | 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 network_from_bbox API.
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 network_from_bbox API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Make a graph network from a bounding lat/lon box composed of nodes and
edges for use in Pandana street network accessibility calculations.
You may either enter a lat/long box via the four lat_min,
lng_min, lat_max, lng_max parameters or the bbox parameter as a tuple.
Parameters
----------
lat_m... | "Make a graph network from a bounding lat/lon box composed of nodes and\n edges for use in Pandana street network accessibility calculations.\n You may either enter a lat/long box via the four lat_min,\n lng_min, lat_max, lng_max parameters or the bbox parameter as a tuple.\n\n Parameters\n ----------\n ... | 69 | false | UDST/osmnet | network_from_bbox | 19,957 | |
LDU_FT/tBaxter/tango-comments/connect | LDU_FT | [
"<BEGIN>\n## `next_redirect`",
"Handle the \"where should I go next?\" part of comment views.",
" The next value could be a\n ``?next=...`` GET arg or the URL of a given view (``fallback``). See\n the view modules for examples.",
" Returns an ``HttpResponseRedirect``.\n<END>",
"<BEGIN>\n## `conf... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
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 connect API.
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... | Hook up the moderation methods to pre- and post-save signals
from the comment models. | "Hook up the moderation methods to pre- and post-save signals\n from the comment models." | 66 | false | tBaxter/tango-comments | connect | 19,958 | |
LDU_FT/merantix/picasso/load | LDU_FT | [
"<BEGIN>\n## `preprocess`",
"Convert images into the format required by our model.",
" Our model requires that inputs be grayscale (mode 'L'), be resized to\n `MNIST_DIM`, and be represented as float32 numpy arrays in range\n [0, 1].",
" Args:\n raw_inputs (list of Image... | 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 graph and weight data.
Args:
data_dir (:obj:`str`): location of tensorflow checkpoint data.
We'll need the .meta file to reconstruct the graph and the data
(checkpoint) files to fill in the weights of the model. The
default behavior is take the ... | "Load graph and weight data.\n\n Args:\n data_dir (:obj:`str`): location of tensorflow checkpoint data.\n We'll need the .meta file to reconstruct the graph and the data\n (checkpoint) files to fill in the weights of the model. The\n default behavior is ta... | 51 | false | merantix/picasso | load | 19,959 | |
LDU_FT/abhinav/reversible/gen | LDU_FT | [
"<BEGIN>\n## `gen`",
"Allows using a generator to chain together reversible actions.",
" This decorator may be added to a generator that yields reversible actions\n (any object with a ``.forwards()`` and ``.backwards()`` method). These may\n be constructed manually or via :py:func:`reversible.action`. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen API.
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 gen API.
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... | Allows using a generator to chain together reversible actions.
This decorator may be added to a generator that yields reversible actions
(any object with a ``.forwards()`` and ``.backwards()`` method). These may
be constructed manually or via :py:func:`reversible.action`. The decorated
function, when c... | "Allows using a generator to chain together reversible actions.\n\n This decorator may be added to a generator that yields reversible actions\n (any object with a ``.forwards()`` and ``.backwards()`` method). These may\n be constructed manually or via :py:func:`reversible.action`. The decorated\n function, ... | 60 | false | abhinav/reversible | gen | 19,960 | |
LDU_FT/fake-name/WebRequest/chromiumContext | LDU_FT | [
"<BEGIN>\n## `getFileAndName`",
"Give a requested page (note: the arguments for this call are forwarded to getpage()),\n\t\treturn the content at the target URL and the filename for the target content as a\n\t\t2-tuple (pgctnt, hName) for the content at the target URL.",
"\t\tThe filename specified in the conte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chromiumContext API.
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 chromiumContext API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return a active chromium context, useable for manual operations directly against
chromium.
The WebRequest user agent and other context is synchronized into the chromium
instance at startup, and changes are flushed back to the webrequest instance
from chromium at completion. | "Return a active chromium context, useable for manual operations directly against\n\t\tchromium.\n\n\t\tThe WebRequest user agent and other context is synchronized into the chromium\n\t\tinstance at startup, and changes are flushed back to the webrequest instance\n\t\tfrom chromium at completion." | 66 | false | fake-name/WebRequest | chromiumContext | 19,961 | |
LDU_FT/django-json-api/django-rest-framework-json-api/format_relation_name | LDU_FT | [
"<BEGIN>\n## `get_field_names`",
"We override the parent to omit explicity defined meta fields (such\n as SerializerMethodFields) from the list of declared fields\n<END>",
"<BEGIN>\n## `to_representation`",
"Object instance -> Dict of primitive datatypes.\n<END>",
"<BEGIN>\n## `remove_invalid_fields`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_relation_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_relation_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | .. warning::
The 'format_relation_name' function has been renamed 'format_resource_type' and the
settings are now 'JSON_API_FORMAT_TYPES' and 'JSON_API_PLURALIZE_TYPES' instead of
'JSON_API_FORMAT_RELATION_KEYS' and 'JSON_API_PLURALIZE_RELATION_TYPE' | ".. warning::\n\n The 'format_relation_name' function has been renamed 'format_resource_type' and the\n settings are now 'JSON_API_FORMAT_TYPES' and 'JSON_API_PLURALIZE_TYPES' instead of\n 'JSON_API_FORMAT_RELATION_KEYS' and 'JSON_API_PLURALIZE_RELATION_TYPE'" | 74 | false | django-json-api/django-rest-framework-json-api | format_relation_name | 19,962 | |
LDU_FT/ThePlasmaRailgun/py-rolldice/roll_dice | LDU_FT | [
"<BEGIN>\n## `safe_power`",
"Same power of a ^ b\n :param a: Number a\n :param b: Number b\n :return: a ^ b\n<END>",
"<BEGIN>\n## `rabin_miller`",
"Performs a rabin-miller primality test",
" :param p: Number to test\n :return: Bool of whether num is prime\n<END>",
"<BEGIN>\n## `zero_width_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the roll_dice API.
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 roll_dice API.
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... | Rolls dicebag and sets last_roll and last_explanation to roll results
:return: Roll results. | "Rolls dicebag and sets last_roll and last_explanation to roll results\n\n :return: Roll results." | 41 | false | ThePlasmaRailgun/py-rolldice | roll_dice | 19,963 | |
LDU_FT/moonso/vcftoolbox/add_fileformat | LDU_FT | [
"<BEGIN>\n## `get_vcf_header`",
"Get the header lines of a vcf file",
" Args:\n source(iterable): A vcf file",
" Returns:\n head (HeaderParser): A headerparser object\n<END>",
"<BEGIN>\n## `get_variant_dict`",
"Parse a variant line",
" Split a variant line and ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_fileformat API.
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 add_fileformat API.
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... | Add fileformat line to the header.
Arguments:
fileformat (str): The id of the info line | "Add fileformat line to the header.\n\n Arguments:\n fileformat (str): The id of the info line" | 81 | false | moonso/vcftoolbox | add_fileformat | 19,964 | |
LDU_FT/IBM-Cloud/gp-python-client/update_resource_entry | LDU_FT | [
"<BEGIN>\n## `__get_user_env_vars`",
"Return the user defined environment variables\n<END>",
"<BEGIN>\n## `__parse_vcap_services_env_var`",
"Parse the ``VCAP_SERVICES`` env var and search for the necessary\r\n values\n<END>",
"<BEGIN>\n## `__get_language_match`",
"Compares ``languageCode`` to the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_resource_entry 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 update_resource_entry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Updates the resource entry for a particular key in a target language
for a specific bundle in the globalization pipeline | "Updates the resource entry for a particular key in a target language\r\n for a specific bundle in the globalization pipeline" | 71 | false | IBM-Cloud/gp-python-client | update_resource_entry | 19,965 | |
LDU_FT/kgaughan/dbkit/close | LDU_FT | [
"<BEGIN>\n## `strip_accents`",
"Strip accents to prepare for slugification.\n<END>",
"<BEGIN>\n## `slugify`",
"Converts the given string to a URL slug.\n<END>",
"<BEGIN>\n## `_make_connect`",
"Returns a function capable of making connections with a particular\n driver given the supplied credentials.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
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 close API.
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... | Release all resources associated with this factory. | "Release all resources associated with this factory." | 55 | false | kgaughan/dbkit | close | 19,966 | |
LDU_FT/craffel/mir_eval/continuity | LDU_FT | [
"<BEGIN>\n## `_open`",
"Either open a file handle, or use an existing file-like object.",
" This will behave as the `open` function if `file_or_str` is a string.",
" If `file_or_str` has the `read` attribute, it will return `file_or_str`.",
" Otherwise, an `IOError` is raised.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the continuity API.
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 continuity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get metrics based on how much of the estimated beat sequence is
continually correct.
Examples
--------
>>> reference_beats = mir_eval.io.load_events('reference.txt')
>>> reference_beats = mir_eval.beat.trim_beats(reference_beats)
>>> estimated_beats = mir_eval.io.load_events('estimated.txt')
... | "Get metrics based on how much of the estimated beat sequence is\n continually correct.\n\n Examples\n --------\n >>> reference_beats = mir_eval.io.load_events('reference.txt')\n >>> reference_beats = mir_eval.beat.trim_beats(reference_beats)\n >>> estimated_beats = mir_eval.io.load_events('estimated.... | 1,001 | false | craffel/mir_eval | continuity | 19,967 | |
LDU_FT/mdavidsaver/p4p/monitor | LDU_FT | [
"<BEGIN>\n## `_sync`",
"I will wait until all pending handlers cothreads have completed\n<END>",
"<BEGIN>\n## `close`",
"Close PV, disconnecting any clients.",
" :param bool destroy: Indicate \"permanent\" closure. Current clients will not see subsequent open().\n :param bool sync: When block... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the monitor API.
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 monitor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Create a subscription.
:param str name: PV name string
:param callable cb: Processing callback
:param request: A :py:class:`p4p.Value` or string to qualify this request, or None to use a default.
:param bool notify_disconnect: In additional to Values, the callback may also be call with ... | "Create a subscription.\n\n :param str name: PV name string\n :param callable cb: Processing callback\n :param request: A :py:class:`p4p.Value` or string to qualify this request, or None to use a default.\n :param bool notify_disconnect: In additional to Values, the callback may also be call... | 201 | false | mdavidsaver/p4p | monitor | 19,968 | |
LDU_FT/plivo/sharq/is_valid_identifier | LDU_FT | [
"<BEGIN>\n## `_initialize`",
"Read the SharQ configuration and set appropriate\n variables. Open a redis connection pool and load all\n the Lua scripts.\n<END>",
"<BEGIN>\n## `_load_config`",
"Read the configuration file and load it into memory.\n<END>",
"<BEGIN>\n## `_load_lua_scripts`",
"L... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_identifier 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 is_valid_identifier 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... | Checks if the given identifier is valid or not. A valid
identifier may consists of the following characters with a
maximum length of 100 characters, minimum of 1 character.
Valid characters for an identifier,
- A to Z
- a to z
- 0 to 9
- _ (underscore)
- - (hypen) | "Checks if the given identifier is valid or not. A valid\n identifier may consists of the following characters with a\n maximum length of 100 characters, minimum of 1 character.\n\n Valid characters for an identifier,\n - A to Z\n - a to z\n - 0 to 9\n - _ (underscore)\n - - ... | 27 | false | plivo/sharq | is_valid_identifier | 19,969 | |
LDU_FT/SciTools/biggus/_groups_of_size | LDU_FT | [
"<BEGIN>\n## `_groups_of_size`",
"Collect data into fixed-length chunks or blocks.\n<END>",
"<BEGIN>\n## `slice_repr`",
"Turn things like `slice(None, 2, -1)` into `:2:-1`.\n<END>",
"<BEGIN>\n## `biggus_chunk`",
"A function that lazily evaluates a biggus.Chunk. This is useful for\n passing through ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _groups_of_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _groups_of_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Collect data into fixed-length chunks or blocks. | "Collect data into fixed-length chunks or blocks." | 105 | false | SciTools/biggus | _groups_of_size | 19,970 | |
LDU_FT/lambdalisue/maidenhair/relative | LDU_FT | [
"<BEGIN>\n## `load`",
"Load data from file matched with given glob pattern.",
" Return value will be a list of data unless :attr:`unite` is `True`.\n If :attr:`unite` is `True` then all data will be united into a single data.",
" Parameters\n ----------\n pathname : string or list\n A gl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relative API.
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 relative API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Convert dataset to relative value from the value of :attr:`ori`
Parameters
----------
dataset : list of numpy array list
A list of numpy array list
ori : integer or numpy array, optional
A relative original data index or numpy array
column : integer, optional
An index of bas... | "Convert dataset to relative value from the value of :attr:`ori`\n\n Parameters\n ----------\n dataset : list of numpy array list\n A list of numpy array list\n ori : integer or numpy array, optional\n A relative original data index or numpy array\n column : integer, optional\n An in... | 128 | false | lambdalisue/maidenhair | relative | 19,971 | |
LDU_FT/ryanpetrello/python-zombie/fire | LDU_FT | [
"<BEGIN>\n## `_send`",
"Establishes a socket connection to the zombie.js server and sends\n Javascript instructions.",
" :param js: the Javascript string to execute\n<END>",
"<BEGIN>\n## `wait`",
"Call a method on the zombie.js Browser instance and wait on a callback.",
" :param metho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fire API.
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 fire API.
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... | Fires a specified DOM event on the current node.
:param event: the name of the event to fire (e.g., 'click').
Returns the :class:`zombie.dom.DOMNode` to allow function chaining. | "Fires a specified DOM event on the current node.\n\n :param event: the name of the event to fire (e.g., 'click').\n\n Returns the :class:`zombie.dom.DOMNode` to allow function chaining." | 33 | false | ryanpetrello/python-zombie | fire | 19,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.