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/sass/libsass-python/unresolve_filename | LDU_FT | [
"<BEGIN>\n## `build_directory`",
"Compiles all Sass/SCSS files in ``path`` to CSS.",
" :param sass_path: the path of the directory which contains source files\n to compile\n :type sass_path: :class:`str`, :class:`basestring`\n :param css_path: the path of the directory compiled CSS... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unresolve_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unresolve_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Retrieves the probable source path from the output filename. Pass
in a .css path to get out a .scss path.
:param package_dir: the path of the package directory
:type package_dir: :class:`str`
:param filename: the css filename
:type filename: :class:`str`
:returns: the s... | "Retrieves the probable source path from the output filename. Pass\n in a .css path to get out a .scss path.\n\n :param package_dir: the path of the package directory\n :type package_dir: :class:`str`\n :param filename: the css filename\n :type filename: :class:`str`\n :return... | 80 | false | sass/libsass-python | unresolve_filename | 32,073 | |
LDU_FT/jalanb/pysyte/rejoin | LDU_FT | [
"<BEGIN>\n## `get_caselessly`",
"Find the sought key in the given dictionary regardless of case",
" >>> things = {'Fred' : 9}\n >>> print(get_caselessly(things, 'fred'))\n 9\n<END>",
"<BEGIN>\n## `append_value`",
"Append those items to the values for that key\n<END>",
"<BEGIN>\n## `extend_values`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rejoin API.
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 rejoin API.
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 ... | Split a string and then rejoin it
Spaces are interspersed between items only if spaced is True
>>> rejoin('fred, was, here ')
'fred,was,here' | "Split a string and then rejoin it\n\n Spaces are interspersed between items only if spaced is True\n\n >>> rejoin('fred, was, here ')\n 'fred,was,here'" | 224 | false | jalanb/pysyte | rejoin | 32,074 | |
LDU_FT/Genida/archan/run | LDU_FT | [
"<BEGIN>\n## `validate_rows_length`",
"Validate that all rows have the same length.\n<END>",
"<BEGIN>\n## `validate_square`",
"Validate that the matrix has equal number of rows and columns.\n<END>",
"<BEGIN>\n## `validate_categories_equal_entities`",
"Validate that the matrix has equal number of entities ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run the check method and format the result for analysis.
Args:
data (DSM/DMM/MDM): DSM/DMM/MDM instance to check.
Returns:
tuple (int, str): status constant from Checker class and messages. | "Run the check method and format the result for analysis.\n\n Args:\n data (DSM/DMM/MDM): DSM/DMM/MDM instance to check.\n\n Returns:\n tuple (int, str): status constant from Checker class and messages." | 127 | false | Genida/archan | run | 32,075 | |
LDU_FT/mrooney/mintapi/get_transactions | LDU_FT | [
"<BEGIN>\n## `close`",
"Logs out and quits the current web driver/selenium session.\n<END>",
"<BEGIN>\n## `request_and_check`",
"Performs a request, and checks that the status is OK, and that the\n content-type matches expectations.",
" Args:\n url: URL to request\n method: e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_transactions API.
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_transactions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns the transaction data as a Pandas DataFrame. | "Returns the transaction data as a Pandas DataFrame." | 18 | false | mrooney/mintapi | get_transactions | 32,076 | |
LDU_FT/klmitch/framer/to_frame | LDU_FT | [
"<BEGIN>\n## `factory`",
"Generates and returns a callable suitable for passing as the\n ``protocol_factory`` parameter of the ``create_connection()``\n or ``create_server()`` loop methods. This class method\n performs some sanity checks on the arguments, and is preferred\n over using... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Extract a single frame from the data buffer. The consumed
data should be removed from the buffer. If no complete frame
can be read, must raise a ``NoFrames`` exception.
:param data: A ``bytearray`` instance containing the data so
far read.
:param state: An instanc... | "Extract a single frame from the data buffer. The consumed\n data should be removed from the buffer. If no complete frame\n can be read, must raise a ``NoFrames`` exception.\n\n :param data: A ``bytearray`` instance containing the data so\n far read.\n :param state: An ... | 77 | false | klmitch/framer | to_frame | 32,077 | |
LDU_FT/idlesign/srptools/get_common_session_key_proof | LDU_FT | [
"<BEGIN>\n## `hex_from`",
"Returns hex string representation for a given value.",
" :param bytes|str|unicode|int|long val:\n :rtype: bytes|str\n<END>",
"<BEGIN>\n## `b64_from`",
"Returns base64 encoded bytes for a given int/long/bytes value.",
" :param int|long|bytes val:\n :rtype: bytes|str\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_common_session_key_proof API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_common_session_key_proof API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | M = H(H(N) XOR H(g) | H(U) | s | A | B | K)
:param bytes session_key:
:param int salt:
:param int server_public:
:param int client_public:
:rtype: bytes | "M = H(H(N) XOR H(g) | H(U) | s | A | B | K)\n\n :param bytes session_key:\n :param int salt:\n :param int server_public:\n :param int client_public:\n :rtype: bytes" | 40 | false | idlesign/srptools | get_common_session_key_proof | 32,078 | |
LDU_FT/the01/python-flotils/save_yaml_file | LDU_FT | [
"<BEGIN>\n## `load_json`",
"Load data from json string",
" :param json_data: Stringified json object\n :type json_data: str | unicode\n :param decoder: Use custom json decoder\n :type decoder: T <= DateTimeDecoder\n :return: Json data\n :rtype: None | int | float | str | list | dict\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_yaml_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_yaml_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Save data to yaml file
:param file: Writable object or path to file
:type file: FileIO | str | unicode
:param val: Value or struct to save
:type val: None | int | float | str | unicode | list | dict | "Save data to yaml file\n\n :param file: Writable object or path to file\n :type file: FileIO | str | unicode\n :param val: Value or struct to save\n :type val: None | int | float | str | unicode | list | dict" | 60 | false | the01/python-flotils | save_yaml_file | 32,079 | |
LDU_FT/MacHu-GWU/dataIO-project/obj2str | LDU_FT | [
"<BEGIN>\n## `is_json_file`",
"Parse file extension.",
" - *.json: uncompressed, utf-8 encode json file\n - *.gz: compressed, utf-8 encode json file\n<END>",
"<BEGIN>\n## `load`",
"Load Json from file. If file are not exists, returns ``default``.",
" :param abspath: file path. use absolute path a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the obj2str API.
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 obj2str API.
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... | Convert arbitrary object to base64 encoded string.
**中文文档**
将可Pickle化的Python对象转化为utf-8编码的 ``纯ASCII字符串`` | "Convert arbitrary object to base64 encoded string.\n\n **中文文档**\n\n 将可Pickle化的Python对象转化为utf-8编码的 ``纯ASCII字符串``" | 115 | false | MacHu-GWU/dataIO-project | obj2str | 32,080 | |
LDU_FT/raphaelvallat/pingouin/linear_regression | 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 linear_regression API.
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 linear_regression API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | (Multiple) Linear regression.
Parameters
----------
X : np.array or list
Predictor(s). Shape = (n_samples, n_features) or (n_samples,).
y : np.array or list
Dependent variable. Shape = (n_samples).
add_intercept : bool
If False, assume that the data are already centered. If ... | "(Multiple) Linear regression.\n\n Parameters\n ----------\n X : np.array or list\n Predictor(s). Shape = (n_samples, n_features) or (n_samples,).\n y : np.array or list\n Dependent variable. Shape = (n_samples).\n add_intercept : bool\n If False, assume that the data are already cen... | 1,159 | true | raphaelvallat/pingouin | linear_regression | 32,081 | |
LDU_FT/mapillary/mapillary_tools/ecef_from_lla | LDU_FT | [
"<BEGIN>\n## `convert_from_gps_time`",
"Convert gps time in ticks to standard time.\n<END>",
"<BEGIN>\n## `upload`",
"Upload local images to Mapillary\n Args:\n import_path: Directory path to where the images are stored.\n verbose: Print extra warnings and errors.\n skip_subfolders: Sk... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ecef_from_lla API.
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 ecef_from_lla API.
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... | Compute ECEF XYZ from latitude, longitude and altitude.
All using the WGS94 model.
Altitude is the distance to the WGS94 ellipsoid.
Check results here http://www.oc.nps.edu/oc2902w/coord/llhxyz.htm | "Compute ECEF XYZ from latitude, longitude and altitude.\n\n All using the WGS94 model.\n Altitude is the distance to the WGS94 ellipsoid.\n Check results here http://www.oc.nps.edu/oc2902w/coord/llhxyz.htm" | 96 | false | mapillary/mapillary_tools | ecef_from_lla | 32,082 | |
LDU_FT/raamana/pyradigm/add_classes | LDU_FT | [
"<BEGIN>\n## `check_compatibility`",
"Checks whether the given MLdataset instances are compatible",
" i.e. with same set of subjects, each beloning to the same class in all instances.",
" Checks the first dataset in the list against the rest, and returns a boolean array.",
" Parameters\n -------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_classes API.
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_classes API.
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... | Helper to rename the classes, if provided by a dict keyed in by the orignal keys
Parameters
----------
classes : dict
Dict of class named keyed in by sample IDs.
Raises
------
TypeError
If classes is not a dict.
ValueError
If ... | "Helper to rename the classes, if provided by a dict keyed in by the orignal keys\n\n Parameters\n ----------\n classes : dict\n Dict of class named keyed in by sample IDs.\n\n Raises\n ------\n TypeError\n If classes is not a dict.\n ValueError\n ... | 140 | false | raamana/pyradigm | add_classes | 32,083 | |
LDU_FT/QualiSystems/vCenterShell/orchestration_save | LDU_FT | [
"<BEGIN>\n## `get_inventory`",
"Will locate vm in vcenter and fill its uuid\n :type context: cloudshell.shell.core.context.ResourceCommandContext\n<END>",
"<BEGIN>\n## `get_snapshots`",
"Restores a virtual machine to a snapshot\n :param vim.ServiceInstance si: py_vmomi service instance\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the orchestration_save 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 orchestration_save 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... | Creates a snapshot with a unique name and returns SavedResults as JSON
:param context: resource context of the vCenterShell
:param mode: Snapshot save mode, default shallow. Currently not it use
:param custom_params: Set of custom parameter to be supported in the future
:return: SavedRes... | "Creates a snapshot with a unique name and returns SavedResults as JSON\n :param context: resource context of the vCenterShell\n :param mode: Snapshot save mode, default shallow. Currently not it use\n :param custom_params: Set of custom parameter to be supported in the future\n :return: Sav... | 231 | false | QualiSystems/vCenterShell | orchestration_save | 32,084 | |
LDU_FT/BoGoEngine/bogo-python/_can_undo | LDU_FT | [
"<BEGIN>\n## `append_comps`",
"Append a character to `comps` following this rule: a vowel is added to the\n vowel part if there is no last consonant, else to the last consonant part;\n a consonant is added to the first consonant part if there is no vowel, and\n to the last consonant part if the vowel par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _can_undo API.
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 _can_undo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return whether a components can be undone with one of the transformation in
trans_list. | "Return whether a components can be undone with one of the transformation in\n trans_list." | 55 | false | BoGoEngine/bogo-python | _can_undo | 32,085 | |
LDU_FT/gofed/gofedlib/_mergeGoSymbols | LDU_FT | [
"<BEGIN>\n## `compare`",
"Compare two snapshots:\n\t\t- return a list of new packages in this snapshot\n\t\t- return a list of new builds in this snapshot",
"\t\t:param snapshot: distribution snapshot\n\t\t:type snapshot: DistributionSnapshot\n<END>",
"<BEGIN>\n## `branches`",
"Return a list of branches fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _mergeGoSymbols API.
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 _mergeGoSymbols API.
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... | Exported symbols for a given package does not have any prefix.
So I can drop all import paths that are file specific and merge
all symbols.
Assuming all files in the given package has mutual exclusive symbols. | "Exported symbols for a given package does not have any prefix.\n\t\tSo I can drop all import paths that are file specific and merge\n\t\tall symbols.\n\t\tAssuming all files in the given package has mutual exclusive symbols." | 98 | false | gofed/gofedlib | _mergeGoSymbols | 32,086 | |
LDU_FT/codelv/enaml-native-cli/is_build_linked | LDU_FT | [
"<BEGIN>\n## `find_commands`",
"Finds commands by finding the subclasses of Command\n<END>",
"<BEGIN>\n## `link`",
"Link the package in the current directory.\n<END>",
"<BEGIN>\n## `is_settings_linked`",
"Returns true if the \"include ':<project>'\" line exists in the file\n<END>",
"<BEGIN>\n## `is_buil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_build_linked API.
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 is_build_linked API.
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... | Returns true if the "compile project(':<project>')"
line exists exists in the file | "Returns true if the \"compile project(':<project>')\"\n line exists exists in the file" | 36 | false | codelv/enaml-native-cli | is_build_linked | 32,087 | |
LDU_FT/skyfielders/python-skyfield/TEME_to_ITRF | LDU_FT | [
"<BEGIN>\n## `add_deflection`",
"Update `position` for how solar system masses will deflect its light.",
" Given the ICRS `position` [x,y,z] of an object (au) that is being\n viewed from the `observer` also expressed as [x,y,z], and given an\n ephemeris that can be used to determine solar system body p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the TEME_to_ITRF API.
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 TEME_to_ITRF API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Convert TEME position and velocity into standard ITRS coordinates.
This converts a position and velocity vector in the idiosyncratic
True Equator Mean Equinox (TEME) frame of reference used by the SGP4
theory into vectors into the more standard ITRS frame of reference.
The velocity should be provided i... | "Convert TEME position and velocity into standard ITRS coordinates.\n\n This converts a position and velocity vector in the idiosyncratic\n True Equator Mean Equinox (TEME) frame of reference used by the SGP4\n theory into vectors into the more standard ITRS frame of reference.\n The velocity should be prov... | 392 | false | skyfielders/python-skyfield | TEME_to_ITRF | 32,088 | |
LDU_FT/django-getpaid/django-getpaid/get_backend_setting | LDU_FT | [
"<BEGIN>\n## `new_payment_query_listener`",
"Here we fill only two obligatory fields of payment, and leave signal handler\n<END>",
"<BEGIN>\n## `payment_status_changed_listener`",
"Here we will actually do something, when payment is accepted.\n E.g. lets change an order status.\n<END>",
"<BEGIN>\n## `reg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backend_setting 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_backend_setting 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... | Reads ``name`` setting from backend settings dictionary.
If `default` value is omitted, raises ``ImproperlyConfigured`` when
setting ``name`` is not available. | "Reads ``name`` setting from backend settings dictionary.\n\n If `default` value is omitted, raises ``ImproperlyConfigured`` when\n setting ``name`` is not available." | 20 | false | django-getpaid/django-getpaid | get_backend_setting | 32,089 | |
LDU_FT/stephrdev/django-formwizard/get_initkwargs | LDU_FT | [
"<BEGIN>\n## `as_view`",
"This method is used within urls.py to create unique formwizard\n instances for every request. We need to override this method because\n we add some kwargs which are needed to make the formwizard usable.\n<END>",
"<BEGIN>\n## `get_initkwargs`",
"Creates a dict with all n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_initkwargs API.
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_initkwargs API.
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... | Creates a dict with all needed parameters for the form wizard instances.
* `form_list` - is a list of forms. The list entries can be single form
classes or tuples of (`step_name`, `form_class`). If you pass a list
of forms, the formwizard will convert the class list to
(`zero_base... | "Creates a dict with all needed parameters for the form wizard instances.\n\n * `form_list` - is a list of forms. The list entries can be single form\n classes or tuples of (`step_name`, `form_class`). If you pass a list\n of forms, the formwizard will convert the class list to\n (`zer... | 60 | false | stephrdev/django-formwizard | get_initkwargs | 32,090 | |
LDU_FT/ianclegg/winrmlib/put | LDU_FT | [
"<BEGIN>\n## `_get_rsa_public_key`",
"PyOpenSSL does not provide a public method to export the public key from a certificate as a properly formatted\n ASN.1 RSAPublicKey structure. There are 'hacks' which use dump_privatekey(crypto.FILETYPE_ASN1, <public_key>),\n but this dumps the public key within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
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 put API.
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... | resource can be a URL or a ResourceLocator | "resource can be a URL or a ResourceLocator" | 33 | false | ianclegg/winrmlib | put | 32,091 | |
LDU_FT/specialunderwear/django-easymode/stack_trace | LDU_FT | [
"<BEGIN>\n## `serialize`",
"Serialize a queryset.\n THE OUTPUT OF THIS SERIALIZER IS NOT MEANT TO BE SERIALIZED BACK\n INTO THE DB.\n<END>",
"<BEGIN>\n## `start_serialization`",
"Start serialization -- open the XML document and the root element.\n<END>",
"<BEGIN>\n## `handle_field`",
"Called... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stack_trace API.
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 stack_trace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | returns a print friendly stack trace at the current frame,
without aborting the application.
:param depth: The depth of the stack trace. if omitted, the entire
stack will be printed.
usage::
print stack_trace(10) | "returns a print friendly stack trace at the current frame,\n without aborting the application.\n \n :param depth: The depth of the stack trace. if omitted, the entire\n stack will be printed.\n \n usage::\n \n print stack_trace(10)" | 136 | false | specialunderwear/django-easymode | stack_trace | 32,092 | |
LDU_FT/hbldh/pybankid/split_certificate | LDU_FT | [
"<BEGIN>\n## `authenticate`",
"Request an authentication order. The :py:meth:`collect` method\n is used to query the status of the order.",
" Note that personal number is not needed when authentication is to\n be done on the same device, provided that the returned\n ``autoStartToken`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_certificate API.
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 split_certificate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Splits a PKCS12 certificate into Base64-encoded DER certificate and key.
This method splits a potentially password-protected
`PKCS12 <https://en.wikipedia.org/wiki/PKCS_12>`_ certificate
(format ``.p12`` or ``.pfx``) into one certificate and one key part, both in
`pem <https://en.wikipedia.org/wiki/X.5... | "Splits a PKCS12 certificate into Base64-encoded DER certificate and key.\n\n This method splits a potentially password-protected\n `PKCS12 <https://en.wikipedia.org/wiki/PKCS_12>`_ certificate\n (format ``.p12`` or ``.pfx``) into one certificate and one key part, both in\n `pem <https://en.wikipedia.org/wi... | 49 | false | hbldh/pybankid | split_certificate | 32,093 | |
LDU_FT/justquick/django-native-tags/include_feed | LDU_FT | [
"<BEGIN>\n## `calendar`",
"Creates a formatted ``HTMLCalendar``. \n Argument ``format`` can be one of ``month``, ``year``, or ``yearpage``\n Keyword arguments are collected and passed into ``HTMLCalendar.formatmonth``, \n ``HTMLCalendar.formatyear``, and ``HTMLCalendar.formatyearpage``",
" Synta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the include_feed API.
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 include_feed API.
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... | Parse an RSS or Atom feed and render a given number of its items
into HTML.
It is **highly** recommended that you use `Django's template
fragment caching`_ to cache the output of this tag for a
reasonable amount of time (e.g., one hour); polling a feed too
often is impolite, wastes bandwidth an... | "Parse an RSS or Atom feed and render a given number of its items\n into HTML.\n \n It is **highly** recommended that you use `Django's template\n fragment caching`_ to cache the output of this tag for a\n reasonable amount of time (e.g., one hour); polling a feed too\n often is impolite, wastes bandw... | 161 | false | justquick/django-native-tags | include_feed | 32,094 | |
LDU_FT/seung-lab/cloud-volume/cdn_cache_control | LDU_FT | [
"<BEGIN>\n## `decode_kempressed`",
"subvol not bytestring since numpy conversion is done inside fpzip extension.\n<END>",
"<BEGIN>\n## `bbox2array`",
"Convenince method for creating a \n shared memory numpy array based on a CloudVolume\n and Bbox. c.f. sharedmemory.ndarray for information\n on the optional... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cdn_cache_control API.
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 cdn_cache_control API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Translate cdn_cache into a Cache-Control HTTP header. | "Translate cdn_cache into a Cache-Control HTTP header." | 237 | false | seung-lab/cloud-volume | cdn_cache_control | 32,095 | |
LDU_FT/mathiasertl/django-ca/extended_key_usage | LDU_FT | [
"<BEGIN>\n## `init`",
"Create a new certificate authority.",
" Parameters\n ----------",
" name : str\n The name of the CA. This is a human-readable string and is used for administrative purposes only.\n subject : dict or str or :py:class:`~django_ca.subject.Subject`\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extended_key_usage 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 extended_key_usage 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... | The :py:class:`~django_ca.extensions.ExtendedKeyUsage` extension, or ``None`` if it doesn't
exist. | "The :py:class:`~django_ca.extensions.ExtendedKeyUsage` extension, or ``None`` if it doesn't\n exist." | 164 | false | mathiasertl/django-ca | extended_key_usage | 32,096 | |
LDU_FT/mar10/pyftpsync/_tick | LDU_FT | [
"<BEGIN>\n## `match_path`",
"Return True if `path` matches `match` and `exclude` options.\n<END>",
"<BEGIN>\n## `_compare_file`",
"Byte compare two files (early out on first difference).\n<END>",
"<BEGIN>\n## `_tick`",
"Write progress info and move cursor to beginning of line.\n<END>",
"<BEGIN>\n## `_sy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _tick API.
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 _tick API.
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... | Write progress info and move cursor to beginning of line. | "Write progress info and move cursor to beginning of line." | 122 | false | mar10/pyftpsync | _tick | 32,097 | |
LDU_FT/CGATOxford/UMI-tools/callbackShortHelp | LDU_FT | [
"<BEGIN>\n## `remove_umis`",
"removes the specified nodes from the cluster and returns\n the remaining nodes\n<END>",
"<BEGIN>\n## `get_substr_slices`",
"Create slices to split a UMI into approximately equal size substrings\n Returns a list of tuples that can be passed to slice function\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the callbackShortHelp API.
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 callbackShortHelp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | output short help (only command line options). | "output short help (only command line options)." | 165 | false | CGATOxford/UMI-tools | callbackShortHelp | 32,098 | |
LDU_FT/Woile/commitizen/read_pyproject_conf | LDU_FT | [
"<BEGIN>\n## `commiter_factory`",
"Return the correct commitizen existing in the registry.\n<END>",
"<BEGIN>\n## `prerelease_generator`",
"X.YaN # Alpha release\n X.YbN # Beta release\n X.YrcN # Release Candidate\n X.Y # Final",
" This function might return something like 'alpha1'\n but... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_pyproject_conf 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 read_pyproject_conf 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... | We expect to have a section in pyproject looking like
```
[tool.commitizen]
name = "cz_conventional_commits"
``` | "We expect to have a section in pyproject looking like\n\n ```\n [tool.commitizen]\n name = \"cz_conventional_commits\"\n ```" | 26 | false | Woile/commitizen | read_pyproject_conf | 32,099 | |
LDU_FT/globality-corp/microcosm/_resolve_key | LDU_FT | [
"<BEGIN>\n## `get_root_path`",
"Attempt to compute a root path for a (hopefully importable) name.",
" Based in part on Flask's `root_path` calculation. See:",
" https://github.com/mitsuhiko/flask/blob/master/flask/helpers.py#L777\n<END>",
"<BEGIN>\n## `zip_dicts`",
"Modified zip through ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resolve_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _resolve_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Attempt to lazily create a component.
:raises NotBoundError: if the component does not have a bound factory
:raises CyclicGraphError: if the factory function requires a cycle
:raises LockedGraphError: if the graph is locked | "Attempt to lazily create a component.\n\n :raises NotBoundError: if the component does not have a bound factory\n :raises CyclicGraphError: if the factory function requires a cycle\n :raises LockedGraphError: if the graph is locked" | 68 | false | globality-corp/microcosm | _resolve_key | 32,100 | |
LDU_FT/timothydmorton/isochrones/fit_mcmc | LDU_FT | [
"<BEGIN>\n## `interp_box`",
"box is 8x3 array, though not really a box",
" values is length-8 array, corresponding to values at the \"box\" coords",
" TODO: should make power `p` an argument\n<END>",
"<BEGIN>\n## `interp_values`",
"mass_arr, age_arr, feh_arr are all arrays at which values are desire... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_mcmc API.
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 fit_mcmc API.
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... | Fits stellar model using MCMC.
:param nwalkers: (optional)
Number of walkers to pass to :class:`emcee.EnsembleSampler`.
Default is 200.
:param nburn: (optional)
Number of iterations for "burn-in." Default is 100.
:param niter: (optional)
Number... | "Fits stellar model using MCMC.\n\n :param nwalkers: (optional)\n Number of walkers to pass to :class:`emcee.EnsembleSampler`.\n Default is 200.\n\n :param nburn: (optional)\n Number of iterations for \"burn-in.\" Default is 100.\n\n :param niter: (optional)\n ... | 314 | false | timothydmorton/isochrones | fit_mcmc | 32,101 | |
LDU_FT/genomoncology/related/convert_key_to_attr_names | LDU_FT | [
"<BEGIN>\n## `init_default`",
"Returns optional default if field is not required and\n default was not provided.",
" :param bool required: whether the field is required in a given model.\n :param default: default provided by creator of field.\n :param optional_default: default for the data type if n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_key_to_attr_names 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 convert_key_to_attr_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | convert key names to their corresponding attribute names | "convert key names to their corresponding attribute names" | 95 | false | genomoncology/related | convert_key_to_attr_names | 32,102 | |
LDU_FT/restran/mountains/get_client_ip | LDU_FT | [
"<BEGIN>\n## `set_dict_none_default`",
"对字典中为None的值,重新设置默认值\n :param dict_item:\n :param default_value:\n :return:\n<END>",
"<BEGIN>\n## `auto_model_name_recognize`",
"自动将 site-user 识别成 SiteUser\n :param model_name:\n :return:\n<END>",
"<BEGIN>\n## `model_to_select_list`",
"只选择 id 和 name,用来... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client_ip API.
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_client_ip API.
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... | 获取客户端的IP
:param request:
:return: | "获取客户端的IP\n :param request:\n :return:" | 81 | false | restran/mountains | get_client_ip | 32,103 | |
LDU_FT/annayqho/TheCannon/_find_contpix_given_cuts | LDU_FT | [
"<BEGIN>\n## `gen_cannon_grad_spec`",
"Generate Cannon gradient spectra",
" Parameters\n ----------\n labels: default values for [teff, logg, feh, cfe, nfe, afe, ak]\n choose: val of cfe or nfe, whatever you're varying\n low: lowest val of cfe or nfe, whatever you're varying\n high: highest va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_contpix_given_cuts 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 _find_contpix_given_cuts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Find and return continuum pixels given the flux and sigma cut
Parameters
----------
f_cut: float
the upper limit imposed on the quantity (fbar-1)
sig_cut: float
the upper limit imposed on the quantity (f_sig)
wl: numpy ndarray of length npixels
rest-frame wavelength vector
... | "Find and return continuum pixels given the flux and sigma cut\n\n Parameters\n ----------\n f_cut: float\n the upper limit imposed on the quantity (fbar-1)\n sig_cut: float\n the upper limit imposed on the quantity (f_sig)\n wl: numpy ndarray of length npixels\n rest-frame wavelengt... | 188 | false | annayqho/TheCannon | _find_contpix_given_cuts | 32,104 | |
LDU_FT/biolink/biolink-model/aliased_slot_name | LDU_FT | [
"<BEGIN>\n## `cli`",
"Generate JSON Schema representation of a biolink model\n<END>",
"<BEGIN>\n## `root_representer`",
"YAML callback -- used to filter out empty values (None, {}, [] and false)",
" @param dumper: data dumper\n @param data: data to be dumped\n @return:\n<END>",
"<BEGIN>\n## `cli`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aliased_slot_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aliased_slot_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return the overloaded slot name -- the alias if one exists otherwise the actual name
@param slot: either a slot name or a definition
@return: overloaded name | "Return the overloaded slot name -- the alias if one exists otherwise the actual name\n\n @param slot: either a slot name or a definition\n @return: overloaded name" | 119 | false | biolink/biolink-model | aliased_slot_name | 32,105 | |
LDU_FT/redhat-cip/dci-control-server/get_component_types | LDU_FT | [
"<BEGIN>\n## `get_user_and_check_auth`",
"Check the combination username/password that is valid on the\n database.\n<END>",
"<BEGIN>\n## `retrieve_info`",
"Query the Github API to retrieve the needed infos.\n<END>",
"<BEGIN>\n## `get_last_rconfiguration_id`",
"Get the rconfiguration_id of the last ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_component_types 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_component_types API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns either the topic component types or the rconfigration's
component types. | "Returns either the topic component types or the rconfigration's\n component types." | 86 | false | redhat-cip/dci-control-server | get_component_types | 32,106 | |
LDU_FT/frascoweb/frasco/create_view_from_dict | LDU_FT | [
"<BEGIN>\n## `load_actions`",
"Each item can be an action name as a string or a dict. When using a dict,\n one key/item pair must be the action name and its options and the rest action\n decorator names and their options.\n Example:\n load_actions([\"login_required\", {\"flash\": {\"message\": \"h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_view_from_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_view_from_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates a view from an spec dict (typically, the YAML front-matter). | "Creates a view from an spec dict (typically, the YAML front-matter)." | 80 | false | frascoweb/frasco | create_view_from_dict | 32,107 | |
LDU_FT/edwards-lab/libGWAS/load_genotypes | LDU_FT | [
"<BEGIN>\n## `load_genotypes`",
"This really just intializes the file by opening it up.\n<END>",
"<BEGIN>\n## `process_genotypes`",
"Parse pedigree line and remove excluded individuals from geno",
" Translates alleles into numerical genotypes (0, 1, 2) counting\n number of minor alleles.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_genotypes API.
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 load_genotypes API.
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... | Actually loads the first chunk of genotype data into memory due to \
the individual oriented format of MACH data.
Due to the fragmented approach to data loading necessary to avoid
running out of RAM, this function will initialize the data structures
with the first chunk of loci and prep... | "Actually loads the first chunk of genotype data into memory due to \\\n the individual oriented format of MACH data.\n\n Due to the fragmented approach to data loading necessary to avoid\n running out of RAM, this function will initialize the data structures\n with the first chunk of loci a... | 142 | false | edwards-lab/libGWAS | load_genotypes | 32,108 | |
LDU_FT/aio-libs/aiohttp-debugtoolbar/escape | LDU_FT | [
"<BEGIN>\n## `log`",
"Log the ASCII traceback into a file object.\n<END>",
"<BEGIN>\n## `render_summary`",
"Render the traceback for the interactive console.\n<END>",
"<BEGIN>\n## `render_full`",
"Render the Full HTML page with the traceback info.\n<END>",
"<BEGIN>\n## `eval`",
"Evaluate code in the c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape API.
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 escape API.
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 ... | Replace special characters "&", "<" and ">" to HTML-safe sequences. If
the optional flag `quote` is `True`, the quotation mark character is
also translated.
There is a special handling for `None` which escapes to an empty string.
:param s: the string to escape.
:param quote: set to true to also e... | "Replace special characters \"&\", \"<\" and \">\" to HTML-safe sequences. If\n the optional flag `quote` is `True`, the quotation mark character is\n also translated.\n\n There is a special handling for `None` which escapes to an empty string.\n\n :param s: the string to escape.\n :param quote: set to ... | 24 | false | aio-libs/aiohttp-debugtoolbar | escape | 32,109 | |
LDU_FT/nitely/django-hooks/register | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a new hook. Not required (see :py:func:`.connect` method)",
" :param str name: The hook name\n :return: Django signal\n :rtype: :py:class:`django.dispatch.Signal`\n<END>",
"<BEGIN>\n## `connect`",
"Connects a function to a hook.\\\n Creates the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
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 register API.
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... | Register a new callback.\
When the name/id is not found\
a new hook is created under its name,\
meaning the hook is usually created by\
the first registered callback
:param str name: Hook name
:param callable func: A func reference (callback) | "Register a new callback.\\\n When the name/id is not found\\\n a new hook is created under its name,\\\n meaning the hook is usually created by\\\n the first registered callback\n\n :param str name: Hook name\n :param callable func: A func reference (callback)" | 39 | false | nitely/django-hooks | register | 32,110 | |
LDU_FT/RaRe-Technologies/gensim-simserver/set_autosession | LDU_FT | [
"<BEGIN>\n## `merge_sims`",
"Merge two precomputed similarity lists, truncating the result to `clip` most similar items.\n<END>",
"<BEGIN>\n## `terminate`",
"Delete all files created by this index, invalidating `self`. Use with care.\n<END>",
"<BEGIN>\n## `index_documents`",
"Update fresh index with new d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_autosession API.
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 set_autosession API.
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... | Turn autosession (automatic committing after each modification call) on/off.
If value is None, only query the current value (don't change anything). | "Turn autosession (automatic committing after each modification call) on/off.\n If value is None, only query the current value (don't change anything)." | 74 | false | RaRe-Technologies/gensim-simserver | set_autosession | 32,111 | |
LDU_FT/ChrisTimperley/Kaskara/at_line | LDU_FT | [
"<BEGIN>\n## `in_file`",
"Returns an iterator over all of the statements belonging to a file.\n<END>",
"<BEGIN>\n## `at_line`",
"Returns an iterator over all of the statements located at a given line.\n<END>",
"<BEGIN>\n## `in_file`",
"Returns an iterator over all of the insertion points in a given file.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the at_line API.
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 at_line API.
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 an iterator over all of the insertion points located at a
given line. | "Returns an iterator over all of the insertion points located at a\n given line." | 12 | false | ChrisTimperley/Kaskara | at_line | 32,112 | |
LDU_FT/projectatomic/osbs-client/render_check_and_set_platforms | LDU_FT | [
"<BEGIN>\n## `get_openshift_base_uri`",
"https://<host>[:<port>]/",
" :return: str\n<END>",
"<BEGIN>\n## `get_builder_openshift_url`",
"url of OpenShift where builder will connect\n<END>",
"<BEGIN>\n## `generate_nodeselector_dict`",
"helper method for generating nodeselector dict\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_check_and_set_platforms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_check_and_set_platforms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | If the check_and_set_platforms plugin is present, configure it | "If the check_and_set_platforms plugin is present, configure it" | 268 | false | projectatomic/osbs-client | render_check_and_set_platforms | 32,113 | |
LDU_FT/philklei/tahoma-api/get_current_executions | LDU_FT | [
"<BEGIN>\n## `get_user`",
"Get the user informations from the server.",
" :return: a dict with all the informations\n :rtype: dict",
" raises ValueError in case of protocol issues",
" :Example:",
" >>> \"creationTime\": <time>,\n >>> \"lastUpdateTime\": <time>,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_executions 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_current_executions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Get all current running executions.
:return: Returns a set of running Executions or empty list.
:rtype: list
raises ValueError in case of protocol issues
:Seealso:
- apply_actions
- launch_action_group
- get_history | "Get all current running executions.\n\n :return: Returns a set of running Executions or empty list.\n :rtype: list\n\n raises ValueError in case of protocol issues\n\n :Seealso:\n\n - apply_actions\n - launch_action_group\n - get_history" | 37 | false | philklei/tahoma-api | get_current_executions | 32,114 | |
LDU_FT/ramrod-project/database-brain/find_plugin | LDU_FT | [
"<BEGIN>\n## `deprecated_function`",
"decorator to annotate deprecated functions",
" usage @decorator(replacement=\"brain.whatever.new_function\")",
" :param func_: <callable>\n :param replacement: <str>\n :param args: positional arguments\n :param kwargs:\n :return: <func_'s return value>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_plugin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_plugin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | get's the plugin matching the key and value
example: find_plugin("plugin1", "ServiceName") => list of 0 or 1 item
example: find_plugin("plugin1", "Name") => list of 0-to-many items
:param value:
:param key: <str> (default "Name")
:param conn:
:return: | "get's the plugin matching the key and value\n\n example: find_plugin(\"plugin1\", \"ServiceName\") => list of 0 or 1 item\n example: find_plugin(\"plugin1\", \"Name\") => list of 0-to-many items\n\n :param value:\n :param key: <str> (default \"Name\")\n :param conn:\n :return:" | 165 | false | ramrod-project/database-brain | find_plugin | 32,115 | |
LDU_FT/hermanschaaf/mafan/identify | LDU_FT | [
"<BEGIN>\n## `decode`",
"Converts text in the numbering format of pinyin (\"ni3hao3\") to text with the \n appropriate tone marks (\"nǐhǎo\").\n<END>",
"<BEGIN>\n## `convert`",
"Convert file with crappy encoding to a new proper encoding (or vice versa if you wish).",
" filename -- the name, partial pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the identify API.
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 identify API.
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... | Identify whether a string is simplified or traditional Chinese.
Returns:
None: if there are no recognizd Chinese characters.
EITHER: if the test is inconclusive.
TRAD: if the text is traditional.
SIMP: if the text is simplified.
BOTH: the text has characters recognized as be... | "Identify whether a string is simplified or traditional Chinese.\n\n Returns:\n None: if there are no recognizd Chinese characters.\n EITHER: if the test is inconclusive.\n TRAD: if the text is traditional.\n SIMP: if the text is simplified.\n BOTH: the text has characters recogniz... | 21 | false | hermanschaaf/mafan | identify | 32,116 | |
LDU_FT/breuleux/hrepr/_repr_html_ | LDU_FT | [
"<BEGIN>\n## `hrepr_with_resources`",
"This is equivalent to __call__, but performs the additional step of\n putting the set of resources required to properly display the object\n in the _resources property of the return value.\n<END>",
"<BEGIN>\n## `acquire_resources`",
"Store the resources ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _repr_html_ API.
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 _repr_html_ API.
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... | Jupyter Notebook hook to print this element as HTML. | "Jupyter Notebook hook to print this element as HTML." | 32 | false | breuleux/hrepr | _repr_html_ | 32,117 | |
LDU_FT/tomer8007/kik-bot-api-unofficial/login | LDU_FT | [
"<BEGIN>\n## `_connect`",
"Runs the kik connection thread, which creates an encrypted (SSL based) TCP connection\n to the kik servers.\n<END>",
"<BEGIN>\n## `_on_connection_made`",
"Gets called when the TCP connection to kik's servers is done and we are connected.\n Now we might initiate a login... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
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 login API.
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... | Sends a login request with the given kik username and password
:param username: Your kik username
:param password: Your kik password
:param captcha_result: If this parameter is provided, it is the answer to the captcha given in the previous
login attempt. | "Sends a login request with the given kik username and password\n\n :param username: Your kik username\n :param password: Your kik password\n :param captcha_result: If this parameter is provided, it is the answer to the captcha given in the previous\n login attempt." | 96 | false | tomer8007/kik-bot-api-unofficial | login | 32,118 | |
LDU_FT/francois-vincent/clingon/start | LDU_FT | [
"<BEGIN>\n## `my_func`",
"Help docstring. v{VERSION}\n {message}\n<END>",
"<BEGIN>\n## `auto_update_attrs_from_kwargs`",
"this decorator will update the attributes of an\n instance object with all the kwargs of the decorated\n method, updated with the kwargs of the actual call.\n This saves ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Parses command line parameters
A string can be passed to simulate a cli for test purpose | "Parses command line parameters\n A string can be passed to simulate a cli for test purpose" | 19 | false | francois-vincent/clingon | start | 32,119 | |
LDU_FT/ldiary/marigoso/trim_start | LDU_FT | [
"<BEGIN>\n## `trim_start`",
"Removes the starting substring.\n :param string: The entire string.\n :param start: The starting substring to be removed.\n :param end: An optional point in the string, defaults to the strings ending\n :return: A substring consists of the subseque... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trim_start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trim_start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Removes the starting substring.
:param string: The entire string.
:param start: The starting substring to be removed.
:param end: An optional point in the string, defaults to the strings ending
:return: A substring consists of the subsequent substring after the
... | "Removes the starting substring.\n :param string: The entire string.\n :param start: The starting substring to be removed.\n :param end: An optional point in the string, defaults to the strings ending\n :return: A substring consists of the subsequent substring after the\n ... | 10 | false | ldiary/marigoso | trim_start | 32,120 | |
LDU_FT/klen/zeta-library/_get_properties | LDU_FT | [
"<BEGIN>\n## `watch`",
"Watch directory for changes and auto pack sources\n<END>",
"<BEGIN>\n## `pack`",
"Parse file or dir, import css, js code and save with prefix\n<END>",
"<BEGIN>\n## `_invert`",
"Returns the inverse (negative) of a color.\n The red, green, and blue values are inverted, while the o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_properties API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_properties API.
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... | Implements properties and variables extraction | "Implements properties and variables extraction" | 56 | false | klen/zeta-library | _get_properties | 32,121 | |
LDU_FT/Scoppio/RagnarokEngine3/query_state | LDU_FT | [
"<BEGIN>\n## `set_default_pos`",
"Set the default starting location of our character.\n<END>",
"<BEGIN>\n## `__generate_location`",
"Reset the location of the cloud once it has left the viewable area of the screen.\n<END>",
"<BEGIN>\n## `load_character`",
"Create an instance of the main character and retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_state API.
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 query_state API.
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... | Is a button depressed?
True if a button is pressed, false otherwise. | "Is a button depressed?\n True if a button is pressed, false otherwise." | 165 | false | Scoppio/RagnarokEngine3 | query_state | 32,122 | |
LDU_FT/rndusr/torf/write_stream | LDU_FT | [
"<BEGIN>\n## `files`",
"Yield relative file paths specified in :attr:`metainfo`",
" Each paths starts with :attr:`name`.",
" Note that the paths may not exist. See :attr:`filepaths` for existing\n files.\n<END>",
"<BEGIN>\n## `filepaths`",
"Yield absolute paths to existing files in :a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_stream API.
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 write_stream API.
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... | Write :attr:`metainfo` to a file-like object
Before any data is written, `stream` is truncated if possible.
:param stream: Writable file-like object (e.g. :class:`io.BytesIO`)
:param bool validate: Whether to run :meth:`validate` first
:raises WriteError: if writing to `stream` fails
... | "Write :attr:`metainfo` to a file-like object\n\n Before any data is written, `stream` is truncated if possible.\n\n :param stream: Writable file-like object (e.g. :class:`io.BytesIO`)\n :param bool validate: Whether to run :meth:`validate` first\n\n :raises WriteError: if writing to `stream... | 89 | false | rndusr/torf | write_stream | 32,123 | |
LDU_FT/todbot/blink1-python/blink1 | LDU_FT | [
"<BEGIN>\n## `blink1`",
"Context manager which automatically shuts down the Blink(1)\n after use.\n :param switch_off: turn blink(1) off when existing context\n :param gamma: set gamma curve (as tuple)\n :param white_point: set white point (as tuple)\n<END>",
"<BEGIN>\n## `find`",
"Find a praticul... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the blink1 API.
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 blink1 API.
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 ... | Context manager which automatically shuts down the Blink(1)
after use.
:param switch_off: turn blink(1) off when existing context
:param gamma: set gamma curve (as tuple)
:param white_point: set white point (as tuple) | "Context manager which automatically shuts down the Blink(1)\n after use.\n :param switch_off: turn blink(1) off when existing context\n :param gamma: set gamma curve (as tuple)\n :param white_point: set white point (as tuple)" | 33 | false | todbot/blink1-python | blink1 | 32,124 | |
LDU_FT/trac-hacks/trac-github/update | LDU_FT | [
"<BEGIN>\n## `update`",
"Connect to GitHub API endpoint specified by `_apicall_parameters()`,\n postprocess the result using `_apiresult_postprocess()` and trigger\n a cache update if the API call was successful.",
" If an error occurs, cache the empty result generated by\n `_apiresu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Connect to GitHub API endpoint specified by `_apicall_parameters()`,
postprocess the result using `_apiresult_postprocess()` and trigger
a cache update if the API call was successful.
If an error occurs, cache the empty result generated by
`_apiresult_error()`. Additionally, set up retr... | "Connect to GitHub API endpoint specified by `_apicall_parameters()`,\n postprocess the result using `_apiresult_postprocess()` and trigger\n a cache update if the API call was successful.\n\n If an error occurs, cache the empty result generated by\n `_apiresult_error()`. Additionally, set u... | 30 | false | trac-hacks/trac-github | update | 32,125 | |
LDU_FT/Phyks/libbmc/get_bibtex | LDU_FT | [
"<BEGIN>\n## `is_valid`",
"Check that a given HAL id is a valid one.",
" :param hal_id: The HAL id to be checked.\n :returns: Boolean indicating whether the HAL id is valid or not.",
" >>> is_valid(\"hal-01258754, version 1\")\n True",
" >>> is_valid(\"hal-01258754\")\n True",
" >>> i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bibtex API.
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_bibtex API.
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 a BibTeX entry for a given DOI.
.. note::
Adapted from https://gist.github.com/jrsmith3/5513926.
:param doi: The canonical DOI to get BibTeX from.
:returns: A BibTeX string or ``None``.
>>> get_bibtex('10.1209/0295-5075/111/40005')
'@article{Verney_2015,\\n\\tdoi = {10.1209/0295-5075... | "Get a BibTeX entry for a given DOI.\n\n .. note::\n\n Adapted from https://gist.github.com/jrsmith3/5513926.\n\n :param doi: The canonical DOI to get BibTeX from.\n :returns: A BibTeX string or ``None``.\n\n >>> get_bibtex('10.1209/0295-5075/111/40005')\n '@article{Verney_2015,\\\\n\\\\tdoi = {10... | 271 | false | Phyks/libbmc | get_bibtex | 32,126 | |
LDU_FT/jsfenfen/990-xml-reader/_download | LDU_FT | [
"<BEGIN>\n## `stream_download`",
"Download a large file without loading it into memory.\n<END>",
"<BEGIN>\n## `validate_object_id`",
"It's easy to make a mistake entering these, validate the format\n<END>",
"<BEGIN>\n## `_get_table_start`",
"prefill the columns we need for all tables\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download API.
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 _download API.
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... | Download the file if it's not already there.
We shouldn't *need* to overwrite; the xml is not supposed to update. | "Download the file if it's not already there.\n We shouldn't *need* to overwrite; the xml is not supposed to update." | 14 | false | jsfenfen/990-xml-reader | _download | 32,127 | |
LDU_FT/cjdrake/pyeda/_coord2offset | LDU_FT | [
"<BEGIN>\n## `ripple_carry_add`",
"Return symbolic logic for an N-bit ripple carry adder.\n<END>",
"<BEGIN>\n## `kogge_stone_add`",
"Return symbolic logic for an N-bit Kogge-Stone adder.\n<END>",
"<BEGIN>\n## `brent_kung_add`",
"Return symbolic logic for an N-bit Brent-Kung adder.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _coord2offset API.
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 _coord2offset API.
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... | Convert a normalized coordinate to an item offset. | "Convert a normalized coordinate to an item offset." | 410 | false | cjdrake/pyeda | _coord2offset | 32,128 | |
LDU_FT/NikolayDachev/jadm/_compute_key | LDU_FT | [
"<BEGIN>\n## `recv`",
"Read from the standard output of the forked program.",
" :param int size: how many chars should be read",
" :return: the length of the read content, as an `int`\n<END>",
"<BEGIN>\n## `generate`",
"Generate a new private DSS key. This factory function can be used to\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | id is 'A' - 'F' for the various keys used by ssh | "id is 'A' - 'F' for the various keys used by ssh" | 141 | false | NikolayDachev/jadm | _compute_key | 32,129 | |
LDU_FT/rstoneback/pysatMagVect/project_ecef_vector_onto_basis | LDU_FT | [
"<BEGIN>\n## `add_mag_drift_unit_vectors_ecef`",
"Adds unit vectors expressing the ion drift coordinate system\n organized by the geomagnetic field. Unit vectors are expressed\n in ECEF coordinates.",
" Parameters\n ----------\n inst : pysat.Instrument\n Instrument object that will get uni... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the project_ecef_vector_onto_basis API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the project_ecef_vector_onto_basis API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Projects vector in ecef onto different basis, with components also expressed in ECEF
Parameters
----------
x : float or array-like
ECEF-X component of vector
y : float or array-like
ECEF-Y component of vector
z : float or array-like
ECEF-Z component of vector
xx : fl... | "Projects vector in ecef onto different basis, with components also expressed in ECEF\n \n Parameters\n ----------\n x : float or array-like\n ECEF-X component of vector\n y : float or array-like\n ECEF-Y component of vector\n z : float or array-like\n ECEF-Z component of vector\n... | 108 | false | rstoneback/pysatMagVect | project_ecef_vector_onto_basis | 32,130 | |
LDU_FT/sentinel-hub/eo-learn/get_interpolation_function | LDU_FT | [
"<BEGIN>\n## `execute`",
"Execute computation of blobs on input eopatch",
" :param eopatch: Input eopatch\n :type eopatch: eolearn.core.EOPatch\n :return: EOPatch instance with new key holding the blob image.\n :rtype: eolearn.core.EOPatch\n<END>",
"<BEGIN>\n## `_check_classifier`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_interpolation_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_interpolation_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Initializes interpolation model
:param times: Array of reference times in second relative to the first timestamp
:type times: numpy.array
:param data: One dimensional array of time series
:type data: numpy.array
:return: Initialized interpolation model class | "Initializes interpolation model\n\n :param times: Array of reference times in second relative to the first timestamp\n :type times: numpy.array\n :param data: One dimensional array of time series\n :type data: numpy.array\n :return: Initialized interpolation model class" | 453 | false | sentinel-hub/eo-learn | get_interpolation_function | 32,131 | |
LDU_FT/Locu/chronology/flip_uuid_parts | 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 flip_uuid_parts API.
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 flip_uuid_parts API.
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... | Flips high and low segments of the timestamp portion of a UUID string.
This enables correct lexicographic sorting. Because it is a simple flip,
this function works in both directions. | "Flips high and low segments of the timestamp portion of a UUID string.\n This enables correct lexicographic sorting. Because it is a simple flip,\n this function works in both directions." | 156 | false | Locu/chronology | flip_uuid_parts | 32,132 | |
LDU_FT/reiinakano/xcessiv/verify_dataset | LDU_FT | [
"<BEGIN>\n## `return_func_to_optimize`",
"Creates the function to be optimized by Bayes Optimization.",
" The function automatically handles the case of already existing base learners, and if\n no base learner for the hyperparameters exists yet, creates one and updates it in the\n usual way.",
" A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_dataset API.
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 verify_dataset API.
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... | Verifies if a dataset is valid for use i.e. scikit-learn format
Used to verify a dataset by returning shape and basic statistics of
returned data. This will also provide quick and dirty check on
capability of host machine to process the data.
Args:
X (array-like): Features array
y (ar... | "Verifies if a dataset is valid for use i.e. scikit-learn format\n\n Used to verify a dataset by returning shape and basic statistics of\n returned data. This will also provide quick and dirty check on\n capability of host machine to process the data.\n\n Args:\n X (array-like): Features array\n\n ... | 150 | false | reiinakano/xcessiv | verify_dataset | 32,133 | |
LDU_FT/candango/firenado/get_file_extension | LDU_FT | [
"<BEGIN>\n## `get_handlers`",
"Returns the handlers defined on the static_maps.yml file located\n at the app config directory.",
" Returns: An array of static handlers to be added to the app.\n<END>",
"<BEGIN>\n## `sig_handler`",
"Handle the signal sent to the process\n :param sig: Sig... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_file_extension 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_file_extension 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 the extension if the filename has it. None if not.
:param filename: The filename.
:return: Extension or None. | "Return the extension if the filename has it. None if not.\n\n :param filename: The filename.\n :return: Extension or None." | 66 | false | candango/firenado | get_file_extension | 32,134 | |
LDU_FT/openstack/hacking/hacking_no_assert_equals | LDU_FT | [
"<BEGIN>\n## `hacking_todo_format`",
"Check for 'TODO()'.",
" OpenStack HACKING guide recommendation for TODO:\n Include your name with TODOs as in \"# TODO(termie)\"",
" Okay: # TODO(sdague)\n H101: # TODO fail\n H101: # TODO\n H101: # TODO (jogo) fail\n Okay: TODO = 5\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hacking_no_assert_equals 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 hacking_no_assert_equals API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | r"""assert(Not)Equals() is deprecated, use assert(Not)Equal instead.
Okay: self.assertEqual(0, 0)
Okay: self.assertNotEqual(0, 1)
H234: self.assertEquals(0, 0)
H234: self.assertNotEquals(0, 1)
Okay: self.assertEquals(0, 0) # noqa
Okay: self.assertNotEquals(0, 1) # noqa | "r\"\"\"assert(Not)Equals() is deprecated, use assert(Not)Equal instead.\n\n Okay: self.assertEqual(0, 0)\n Okay: self.assertNotEqual(0, 1)\n H234: self.assertEquals(0, 0)\n H234: self.assertNotEquals(0, 1)\n Okay: self.assertEquals(0, 0) # noqa\n Okay: self.assertNotEquals(0, 1) # noqa" | 114 | false | openstack/hacking | hacking_no_assert_equals | 32,135 | |
LDU_FT/idmillington/layout/get_magnitude_squared | LDU_FT | [
"<BEGIN>\n## `_do_layout`",
"Lays the text out into separate lines and calculates their\n total height.\n<END>",
"<BEGIN>\n## `_calculate_ms_from_base`",
"Calculates the rotated minimum size from the given base minimum\n size.\n<END>",
"<BEGIN>\n## `render`",
"Draws the signature mark.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_magnitude_squared 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_magnitude_squared API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns the square of the magnitude of this vector. | "Returns the square of the magnitude of this vector." | 91 | false | idmillington/layout | get_magnitude_squared | 32,136 | |
LDU_FT/yuce/pyswip/getFloat | LDU_FT | [
"<BEGIN>\n## `getAtomChars`",
"If t is an atom, return it as a string, otherwise raise InvalidTypeError.\n<END>",
"<BEGIN>\n## `getBool`",
"If t is of type bool, return it, otherwise raise InvalidTypeError.\n<END>",
"<BEGIN>\n## `getLong`",
"If t is of type long, return it, otherwise raise InvalidTypeErro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getFloat API.
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 getFloat API.
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... | If t is of type float, return it, otherwise raise InvalidTypeError. | "If t is of type float, return it, otherwise raise InvalidTypeError." | 64 | false | yuce/pyswip | getFloat | 32,137 | |
LDU_FT/floydhub/floyd-cli/init | LDU_FT | [
"<BEGIN>\n## `init`",
"Initialize new project at the current path.",
" After this you can run other FloydHub commands like status and run.\n<END>",
"<BEGIN>\n## `status`",
"View status of all jobs in a project.",
" The command also accepts a specific job name.\n<END>",
"<BEGIN>\n## `print_experime... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Initialize new project at the current path.
After this you can run other FloydHub commands like status and run. | "Initialize new project at the current path.\n\n After this you can run other FloydHub commands like status and run." | 84 | false | floydhub/floyd-cli | init | 32,138 | |
LDU_FT/jayme-github/steamweb/_handle_captcha | LDU_FT | [
"<BEGIN>\n## `_get_cookie`",
"Return the cookie \"name\" for \"domain\" if found\n If there are mote than one, only the first is returned\n<END>",
"<BEGIN>\n## `_hash_cookies`",
"Returns the hash of a list of hashes from sorted repr() of every cookie in jar as\n LWPCookieJar does not cha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_captcha API.
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 _handle_captcha API.
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... | Called when a captcha must be solved
Writes the image to a temporary file and asks the user to enter the code.
Args:
captcha_data: Bytestring of the PNG captcha image.
message: Optional. A message from Steam service.
Returns:
A string containing the solved c... | "Called when a captcha must be solved\n Writes the image to a temporary file and asks the user to enter the code.\n\n Args:\n captcha_data: Bytestring of the PNG captcha image.\n message: Optional. A message from Steam service.\n\n Returns:\n A string containing the... | 16 | false | jayme-github/steamweb | _handle_captcha | 32,139 | |
LDU_FT/stlehmann/Flask-MQTT/on_message | LDU_FT | [
"<BEGIN>\n## `on_topic`",
"Decorator.",
" Decorator to add a callback function that is called when a certain\n topic has been published. The callback function is expected to have the\n following form: `handle_topic(client, userdata, message)`",
" :parameter topic: a string specifyi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Decorator.
Decorator to handle all messages that have been subscribed and that
are not handled via the `on_message` decorator.
**Note:** Unlike as written in the paho mqtt documentation this
callback will not be called if there exists an topic-specific callback
added by the `on... | "Decorator.\n\n Decorator to handle all messages that have been subscribed and that\n are not handled via the `on_message` decorator.\n\n **Note:** Unlike as written in the paho mqtt documentation this\n callback will not be called if there exists an topic-specific callback\n added by... | 48 | false | stlehmann/Flask-MQTT | on_message | 32,140 | |
LDU_FT/schapman1974/tinymongo/find | LDU_FT | [
"<BEGIN>\n## `parse_md_to_rst`",
"Read Markdown file and convert to ReStructured Text.\n<END>",
"<BEGIN>\n## `build_table`",
"Builds a new tinydb table at the parent database\n :return:\n<END>",
"<BEGIN>\n## `drop`",
"Removes a collection from the database.\n **kwargs only because of the opt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API.
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 find API.
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... | Finds all matching results
:param query: dictionary representing the mongo query
:return: cursor containing the search results | "Finds all matching results\n\n :param query: dictionary representing the mongo query\n :return: cursor containing the search results" | 38 | false | schapman1974/tinymongo | find | 32,141 | |
LDU_FT/lightning-viz/lightning-python/check_color | LDU_FT | [
"<BEGIN>\n## `enable_ipython`",
"Enable plotting in the iPython notebook.",
" Once enabled, all lightning plots will be automatically produced\n within the iPython notebook. They will also be available on\n your lightning server within the current session.\n<END>",
"<BEGIN>\n## `disable_i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Check and parse color specs as either a single [r,g,b] or a list of
[[r,g,b],[r,g,b]...] | "Check and parse color specs as either a single [r,g,b] or a list of\n [[r,g,b],[r,g,b]...]" | 55 | false | lightning-viz/lightning-python | check_color | 32,142 | |
LDU_FT/googleapis/dialogflow-python-client-v2/get_context | LDU_FT | [
"<BEGIN>\n## `from_service_account_file`",
"Creates an instance of this client using the provided credentials\n file.",
" Args:\n filename (str): The path to the service account private key json\n file.\n args: Additional arguments to pass to the constructor.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Retrieves the specified context.
Example:
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.ContextsClient()
>>>
>>> name = client.context_path('[PROJECT]', '[SESSION]', '[CONTEXT]')
>>>
>>> response = client.get_context(... | "Retrieves the specified context.\n\n Example:\n >>> import dialogflow_v2\n >>>\n >>> client = dialogflow_v2.ContextsClient()\n >>>\n >>> name = client.context_path('[PROJECT]', '[SESSION]', '[CONTEXT]')\n >>>\n >>> response = client.ge... | 280 | false | googleapis/dialogflow-python-client-v2 | get_context | 32,143 | |
LDU_FT/antonybholmes/libdna/rev_comp | LDU_FT | [
"<BEGIN>\n## `fasta`",
"Prints a fasta representation of a sequence.",
" Parameters\n ----------\n l : tuple (str, int, int)\n location chr, start, and end\n mask : str, optional\n Either 'upper', 'lower', or 'n'. If 'lower', poor quality bases \n wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rev_comp API.
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 rev_comp API.
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... | Parameters
----------
dna : bytearray
dna sequence to be reverse complemented | "Parameters\n ----------\n dna : bytearray\n dna sequence to be reverse complemented" | 44 | false | antonybholmes/libdna | rev_comp | 32,144 | |
LDU_FT/DocNow/twarc/sample | LDU_FT | [
"<BEGIN>\n## `rate_limit`",
"A decorator to handle rate limiting from the Twitter API. If\n a rate limit error is encountered we will sleep until we can\n issue the API call again.\n<END>",
"<BEGIN>\n## `catch_conn_reset`",
"A decorator to handle connection reset errors even ones from pyOpenSSL\n unt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample API.
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 sample API.
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 a small random sample of all public statuses. The Tweets
returned by the default access level are the same, so if two different
clients connect to this endpoint, they will see the same Tweets.
If a threading.Event is provided for event and the event is set,
the sample will be in... | "Returns a small random sample of all public statuses. The Tweets\n returned by the default access level are the same, so if two different\n clients connect to this endpoint, they will see the same Tweets.\n\n If a threading.Event is provided for event and the event is set,\n the sample will... | 58 | false | DocNow/twarc | sample | 32,145 | |
LDU_FT/markovmodel/msmtools/transition_matrix_sparse | LDU_FT | [
"<BEGIN>\n## `flux_matrix`",
"r\"\"\"Compute the TPT flux network for the reaction A-->B.",
" Parameters\n ----------\n T : (M, M) ndarray\n transition matrix\n pi : (M,) ndarray\n Stationary distribution corresponding to T\n qminus : (M,) ndarray\n Backward comittor\n qpl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transition_matrix_sparse 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 transition_matrix_sparse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Tridiagonal transition matrix for birth and death chain
Returns
-------
P : (N,N) scipy.sparse matrix
Transition matrix for birth and death chain with given
birth and death probabilities. | "Tridiagonal transition matrix for birth and death chain\n\n Returns\n -------\n P : (N,N) scipy.sparse matrix\n Transition matrix for birth and death chain with given\n birth and death probabilities." | 1,330 | true | markovmodel/msmtools | transition_matrix_sparse | 32,146 | |
LDU_FT/insomnia-lab/libreant/update_attachment | LDU_FT | [
"<BEGIN>\n## `get_def_conf`",
"return default configurations as simple dict\n<END>",
"<BEGIN>\n## `_load_paths`",
"Goes recursevly through the given list of paths\n in order to find and pass all preset files to ```_load_preset()```\n<END>",
"<BEGIN>\n## `_load_preset`",
"load, validate and store a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_attachment API.
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 update_attachment API.
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 an existing attachment
the given metadata dict will be merged with the old one.
only the following fields could be updated:
[name, mime, notes, download_count] | "update an existing attachment\n\n the given metadata dict will be merged with the old one.\n only the following fields could be updated:\n [name, mime, notes, download_count]" | 150 | false | insomnia-lab/libreant | update_attachment | 32,147 | |
LDU_FT/SectorLabs/django-localized-fields/validate | LDU_FT | [
"<BEGIN>\n## `save`",
"Saves this model instance to the database.\n<END>",
"<BEGIN>\n## `to_python`",
"Converts the value from a database value into a Python value.\n<END>",
"<BEGIN>\n## `get_prep_value`",
"Gets the value in a format to store into the database.\n<END>",
"<BEGIN>\n## `formfield`",
"Get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Validates that the values has been filled in for all required
languages
Exceptions are raises in order to notify the user
of invalid values.
Arguments:
value:
The value to validate. | "Validates that the values has been filled in for all required\n languages\n\n Exceptions are raises in order to notify the user\n of invalid values.\n\n Arguments:\n value:\n The value to validate." | 117 | false | SectorLabs/django-localized-fields | validate | 32,148 | |
LDU_FT/developersociety/django-glitter/get_default_blocks | LDU_FT | [
"<BEGIN>\n## `get_templates`",
"Return a list of templates usable by a model.\n<END>",
"<BEGIN>\n## `attach`",
"Registers the given layout(s) classes\n admin site:",
" @pages.register(Page)\n class Default(PageLayout):\n pass\n<END>",
"<BEGIN>\n## `get_formset`",
"Default user to the cur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_blocks 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_default_blocks 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 list of column default block tuples (URL, verbose name).
Used for quick add block buttons. | "Return a list of column default block tuples (URL, verbose name).\n\n Used for quick add block buttons." | 80 | false | developersociety/django-glitter | get_default_blocks | 32,149 | |
LDU_FT/utiasSTARS/pykitti/to_array_list | LDU_FT | [
"<BEGIN>\n## `to_array_list`",
"Converts a dataframe to a list of arrays, with one array for every unique index entry.\n Index is assumed to be 0-based contiguous. If there is a missing index entry, an empty\n numpy array is returned for it.\n Elements in the arrays are sorted by their id.\n :param df... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_array_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_array_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Converts a dataframe to a list of arrays, with one array for every unique index entry.
Index is assumed to be 0-based contiguous. If there is a missing index entry, an empty
numpy array is returned for it.
Elements in the arrays are sorted by their id.
:param df:
:param length:
:return: | "Converts a dataframe to a list of arrays, with one array for every unique index entry.\n Index is assumed to be 0-based contiguous. If there is a missing index entry, an empty\n numpy array is returned for it.\n Elements in the arrays are sorted by their id.\n :param df:\n :param length:\n :return:" | 25 | false | utiasSTARS/pykitti | to_array_list | 32,150 | |
LDU_FT/jldbc/pybaseball/large_request | 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 large_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the large_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | break start and end date into smaller increments, collecting all data in small chunks and appending all results to a common dataframe
end_dt is the date strings for the final day of the query
d1 and d2 are datetime objects for first and last day of query, for doing date math
a third datetime object (d) will... | "break start and end date into smaller increments, collecting all data in small chunks and appending all results to a common dataframe\n end_dt is the date strings for the final day of the query\n d1 and d2 are datetime objects for first and last day of query, for doing date math\n a third datetime object (d) ... | 46 | false | jldbc/pybaseball | large_request | 32,151 | |
LDU_FT/SBRG/ssbio/best_structures | LDU_FT | [
"<BEGIN>\n## `search_ss_bonds`",
"Searches S-S bonds based on distances\n between atoms in the structure (first model only).\n Average distance is 2.05A. Threshold is 3A default.\n Returns iterator with tuples of residues.",
" ADAPTED FROM JOAO RODRIGUES' BIOPYTHON GSOC PROJECT (http... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the best_structures API.
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 best_structures API.
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... | Use the PDBe REST service to query for the best PDB structures for a UniProt ID.
More information found here: https://www.ebi.ac.uk/pdbe/api/doc/sifts.html
Link used to retrieve results: https://www.ebi.ac.uk/pdbe/api/mappings/best_structures/:accession
The list of PDB structures mapping to a UniProt acces... | "Use the PDBe REST service to query for the best PDB structures for a UniProt ID.\n\n More information found here: https://www.ebi.ac.uk/pdbe/api/doc/sifts.html\n Link used to retrieve results: https://www.ebi.ac.uk/pdbe/api/mappings/best_structures/:accession\n The list of PDB structures mapping to a UniProt ... | 1,487 | true | SBRG/ssbio | best_structures | 32,152 | |
LDU_FT/gfairchild/yelpapi/event_lookup_query | LDU_FT | [
"<BEGIN>\n## `autocomplete_query`",
"Query the Yelp Autocomplete API.",
" documentation: https://www.yelp.com/developers/documentation/v3/autocomplete",
" required parameters:\n * text - search text\n<END>",
"<BEGIN>\n## `business_query`",
"Query the Yelp Business API.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the event_lookup_query 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 event_lookup_query 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... | Query the Yelp Event Lookup API.
documentation: https://www.yelp.com/developers/documentation/v3/event
required parameters:
* id - event ID | "Query the Yelp Event Lookup API.\n \n documentation: https://www.yelp.com/developers/documentation/v3/event\n\n required parameters:\n * id - event ID" | 41 | false | gfairchild/yelpapi | event_lookup_query | 32,153 | |
LDU_FT/Thibauth/python-pushover/glance | LDU_FT | [
"<BEGIN>\n## `poll`",
"If the message request has a priority of 2, Pushover keeps sending\n the same notification until the client acknowledges it. Calling the\n :func:`poll` function fetches the status of the :class:`MessageRequest`\n object until the notifications either expires, is acknowl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the glance API.
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 glance API.
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 a glance to the user. The default property is ``text``, as this
is used on most glances, however a valid glance does not need to
require text and can be constructed using any combination of valid
keyword properties. The list of valid keywords is ``title, text,
subtext, count, percen... | "Send a glance to the user. The default property is ``text``, as this\n is used on most glances, however a valid glance does not need to\n require text and can be constructed using any combination of valid\n keyword properties. The list of valid keywords is ``title, text,\n subtext, count, p... | 17 | false | Thibauth/python-pushover | glance | 32,154 | |
LDU_FT/dwavesystems/dwave-cloud-client/_poll | LDU_FT | [
"<BEGIN>\n## `ls`",
"List configuration files detected (and/or examined paths).\n<END>",
"<BEGIN>\n## `create`",
"Create and/or update cloud client configuration file.\n<END>",
"<BEGIN>\n## `_ping`",
"Helper method for the ping command that uses `output()` for info output\n and raises `CLIError()` on h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _poll API.
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 _poll API.
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... | Enqueue a problem to poll the server for status. | "Enqueue a problem to poll the server for status." | 339 | false | dwavesystems/dwave-cloud-client | _poll | 32,155 | |
LDU_FT/pyviz/param/__param_inheritance | LDU_FT | [
"<BEGIN>\n## `get_setup_version`",
"Helper for use in setup.py to get the current version from either\n git describe or the .version file (if available).",
" Set pkgname to the package name if it is different from the\n repository name.",
" To ensure git information is included in a git archive, a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __param_inheritance 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 __param_inheritance 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... | Look for Parameter values in superclasses of this
Parameterized class.
Ordinarily, when a Python object is instantiated, attributes
not given values in the constructor will inherit the value
given in the object's class, or in its superclasses. For
Parameters owned by Parameteri... | "Look for Parameter values in superclasses of this\n Parameterized class.\n\n Ordinarily, when a Python object is instantiated, attributes\n not given values in the constructor will inherit the value\n given in the object's class, or in its superclasses. For\n Parameters owned by Par... | 258 | false | pyviz/param | __param_inheritance | 32,156 | |
LDU_FT/ThreatConnect-Inc/tcex/metric_find | LDU_FT | [
"<BEGIN>\n## `_print_results`",
"Print the download results.",
" Args:\n file (str): The filename.\n status (str): The file download status.\n<END>",
"<BEGIN>\n## `_confirm_overwrite`",
"Confirm overwrite of template files.",
" Make sure the user would like to continue ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the metric_find API.
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 metric_find API.
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... | Find the Metric by name.
.. code-block:: javascript
{
"status": "Success",
"data": {
"resultCount": 1,
"customMetricConfig": [
{
"id": 9,
"name": ... | "Find the Metric by name.\n\n .. code-block:: javascript\n\n {\n \"status\": \"Success\",\n \"data\": {\n \"resultCount\": 1,\n \"customMetricConfig\": [\n {\n \"id\": 9,\n ... | 1,591 | true | ThreatConnect-Inc/tcex | metric_find | 32,157 | |
LDU_FT/tueda/python-form/get_data_path | LDU_FT | [
"<BEGIN>\n## `open`",
"Open a connection to FORM.",
" Open a connection to a new FORM process. The opened connection should\n be closed by :meth:`close`, which can be guaranteed by use of the\n \"with\" statement:",
" >>> import form\n >>> with form.open() as formlink:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data_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_data_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 full file path of a resource of a package. | "Return the full file path of a resource of a package." | 31 | false | tueda/python-form | get_data_path | 32,158 | |
LDU_FT/nameko/nameko/iter_extensions | LDU_FT | [
"<BEGIN>\n## `run_services`",
"Serves a number of services for a contextual block.\n The caller can specify a number of service classes then serve them either\n stopping (default) or killing them on exiting the contextual block.",
" Example::",
" with run_services(config, Foobar, Spam) as runn... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_extensions API.
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 iter_extensions API.
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... | Depth-first iterator over sub-extensions on `extension`. | "Depth-first iterator over sub-extensions on `extension`." | 155 | false | nameko/nameko | iter_extensions | 32,159 | |
LDU_FT/rueckstiess/mtools/group | LDU_FT | [
"<BEGIN>\n## `wait_for_host`",
"Ping server and wait for response.",
" Ping a mongod or mongos every `interval` seconds until it responds, or\n `timeout` seconds have passed. If `to_start` is set to False, will wait for\n the node to shut down instead. This function can be called as a separate\n thr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the group API.
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 group API.
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... | (re-)group all logevents by the given group. | "(re-)group all logevents by the given group." | 260 | false | rueckstiess/mtools | group | 32,160 | |
LDU_FT/svven/summary/summarize | LDU_FT | [
"<BEGIN>\n## `load_raw_rules`",
"Load raw rules from url or package file.\n<END>",
"<BEGIN>\n## `get_image`",
"Returned Image instance has response url.\r\n This might be different than the url param because of redirects.\n<END>",
"<BEGIN>\n## `check_color`",
"Just check if raw_image is completely ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the summarize API.
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 summarize API.
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... | Calls extract for each of the URLs,
Returns the list of Extracted instances as summaries,
the result of the process, and the speed. | "Calls extract for each of the URLs,\r\n Returns the list of Extracted instances as summaries, \r\n the result of the process, and the speed." | 41 | false | svven/summary | summarize | 32,161 | |
LDU_FT/heikomuller/sco-engine/run_model | LDU_FT | [
"<BEGIN>\n## `handle_request`",
"Convert a model run request from the buffer into a message in a RabbitMQ\n queue.",
" Parameters\n ----------\n request : dict\n Buffer entry containing 'connector' and 'request' field\n<END>",
"<BEGIN>\n## `from_dict`",
"Create a model output file object ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Run model by sending message to RabbitMQ queue containing the
run end experiment identifier. Messages are persistent to ensure that
a worker will process process the run request at some point.
Throws a EngineException if communication with the server fails.
Parameters
---------... | "Run model by sending message to RabbitMQ queue containing the\n run end experiment identifier. Messages are persistent to ensure that\n a worker will process process the run request at some point.\n\n Throws a EngineException if communication with the server fails.\n\n Parameters\n -... | 66 | false | heikomuller/sco-engine | run_model | 32,162 | |
LDU_FT/acutesoftware/AIKIF/_get_dict_char_count | LDU_FT | [
"<BEGIN>\n## `where_am_i`",
"high level function that can estimate where user is based \n on predefined setups.\n<END>",
"<BEGIN>\n## `dump_all`",
"prints all attributes and returns them as a dictionary \n (mainly for testing how it will all integrate)\n<END>",
"<BEGIN>\n## `summarise`",
"extrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_dict_char_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_dict_char_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | reads the characters in txt and returns a dictionary
of all letters | "reads the characters in txt and returns a dictionary\r\n\tof all letters" | 486 | false | acutesoftware/AIKIF | _get_dict_char_count | 32,163 | |
LDU_FT/prechelt/typecheck-decorator/register | LDU_FT | [
"<BEGIN>\n## `_is_possible_subclass`",
"Like issubclass(subtype, supertype) except that TypeVars\n are not taken into account.\n<END>",
"<BEGIN>\n## `check`",
"See whether the TypeVar is bound for the first time\n or is met with _exactly_ the same type as previously.\n That type must also... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
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 register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Adds another type X of typecheck annotations to the framework.
predicate(annot) indicates whether annot has annotation type X;
factory(annot) creates the appropriate typechecker instance.
The checker type is normally added after the existing ones,
but 'prepend' makes it come first. | "Adds another type X of typecheck annotations to the framework.\n predicate(annot) indicates whether annot has annotation type X;\n factory(annot) creates the appropriate typechecker instance.\n The checker type is normally added after the existing ones,\n but 'prepend' makes it come first." | 18 | false | prechelt/typecheck-decorator | register | 32,164 | |
LDU_FT/Gbps/fastlog/get | LDU_FT | [
"<BEGIN>\n## `addHandler`",
"Setups a new internal logging handler. For fastlog loggers,\n handlers are kept track of in the self._handlers list\n<END>",
"<BEGIN>\n## `setStyle`",
"Adjusts the output format of messages based on the style name provided",
" Styles are loaded like python modules,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get a terminal capability exposes through the `curses` module. | "Get a terminal capability exposes through the `curses` module." | 63 | false | Gbps/fastlog | get | 32,165 | |
LDU_FT/studionow/pybrightcove/get | LDU_FT | [
"<BEGIN>\n## `has_option`",
"Wrapper around ConfigParser's ``has_option`` method.\n<END>",
"<BEGIN>\n## `get`",
"Wrapper around ConfigParser's ``get`` method.\n<END>",
"<BEGIN>\n## `item_lister`",
"A generator function for listing Video and Playlist objects.\n<END>",
"<BEGIN>\n## `get_manifest`",
"Con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Wrapper around ConfigParser's ``get`` method. | "Wrapper around ConfigParser's ``get`` method." | 67 | false | studionow/pybrightcove | get | 32,166 | |
LDU_FT/tBuLi/symfit/dependent_data | LDU_FT | [
"<BEGIN>\n## `seperate_symbols`",
"Seperate the symbols in symbolic function func. Return them in alphabetical\n order.",
" :param func: scipy symbolic function.\n :return: (vars, params), a tuple of all variables and parameters, each \n sorted in alphabetical order.\n :raises TypeError: only... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dependent_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dependent_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 ex... | Read-only Property
:return: Data belonging to each dependent variable as a dict with
variable names as key, data as value.
:rtype: collections.OrderedDict | "Read-only Property\n\n :return: Data belonging to each dependent variable as a dict with\n variable names as key, data as value.\n :rtype: collections.OrderedDict" | 239 | false | tBuLi/symfit | dependent_data | 32,167 | |
LDU_FT/ismms-himc/clustergrammer2/order_categories | LDU_FT | [
"<BEGIN>\n## `run_norm`",
"A dataframe (more accurately a dictionary of dataframes, e.g. mat,\n mat_up...) can be passed to run_norm and a normalization will be run (\n e.g. zscore) on either the rows or columns\n<END>",
"<BEGIN>\n## `qn_df`",
"do quantile normalization of a dataframe dictionary, does not w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_categories API.
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 order_categories API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | If categories are strings, then simple ordering is fine.
If categories are values then I'll need to order based on their values.
The final ordering is given as the original categories (including titles) in a
ordered list. | "If categories are strings, then simple ordering is fine.\n If categories are values then I'll need to order based on their values.\n The final ordering is given as the original categories (including titles) in a\n ordered list." | 90 | false | ismms-himc/clustergrammer2 | order_categories | 32,168 | |
LDU_FT/gmr/flatdict/keys | LDU_FT | [
"<BEGIN>\n## `as_dict`",
"Return the :class:`~flatdict.FlatDict` as a :class:`dict`",
" :rtype: dict\n<END>",
"<BEGIN>\n## `keys`",
"Return a copy of the flat dictionary's list of keys.\n See the note for :meth:`flatdict.FlatDict.items`.",
" :rtype: list\n<END>",
"<BEGIN>\n## `pop`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keys API.
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 keys API.
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... | Return a copy of the flat dictionary's list of keys.
See the note for :meth:`flatdict.FlatDict.items`.
:rtype: list | "Return a copy of the flat dictionary's list of keys.\n See the note for :meth:`flatdict.FlatDict.items`.\n\n :rtype: list" | 21 | false | gmr/flatdict | keys | 32,169 | |
LDU_FT/Neurosim-lab/netpyne/_mat2dict | LDU_FT | [
"<BEGIN>\n## `add_scalebar`",
"Add scalebars to axes\n Adds a set of scale bars to *ax*, matching the size to the ticks of the plot\n and optionally hiding the x and y axes\n - ax : the axis to attach ticks to\n - matchx,matchy : if True, set size of scale bars to spacing between ticks\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _mat2dict API.
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 _mat2dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | A recursive function which constructs from matobjects nested dictionaries
Enforce lists for conns, synMechs and stims even if 1 element (matlab converts to dict otherwise) | "A recursive function which constructs from matobjects nested dictionaries\n Enforce lists for conns, synMechs and stims even if 1 element (matlab converts to dict otherwise)" | 234 | false | Neurosim-lab/netpyne | _mat2dict | 32,170 | |
LDU_FT/bspaans/python-mingus/substitute_harmonic | LDU_FT | [
"<BEGIN>\n## `valid_beat_duration`",
"Return True when log2(duration) is an integer.\n<END>",
"<BEGIN>\n## `add_notes`",
"Add a Note, note as string or NoteContainer to the last Bar.",
" If the Bar is full, a new one will automatically be created.",
" If the Bar is not full but the note can'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the substitute_harmonic 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 substitute_harmonic 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... | Do simple harmonic substitutions. Return a list of possible substitions
for progression[substitute_index].
If ignore_suffix is set to True the suffix of the chord being
substituted will be ignored. Otherwise only progressions without a
suffix, or with suffix '7' will be substituted.
The following ... | "Do simple harmonic substitutions. Return a list of possible substitions\n for progression[substitute_index].\n\n If ignore_suffix is set to True the suffix of the chord being\n substituted will be ignored. Otherwise only progressions without a\n suffix, or with suffix '7' will be substituted.\n\n The fo... | 535 | false | bspaans/python-mingus | substitute_harmonic | 32,171 | |
LDU_FT/PyCQA/pydocstyle/_get_exclusive_error_codes | LDU_FT | [
"<BEGIN>\n## `error_lineno`",
"Get the line number with which to report violations.\n<END>",
"<BEGIN>\n## `source`",
"Return the source code for the definition.\n<END>",
"<BEGIN>\n## `is_public`",
"Return True iff this function should be considered public.\n<END>",
"<BEGIN>\n## `is_magic`",
"Return Tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_exclusive_error_codes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_exclusive_error_codes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Extract the error codes from the selected exclusive option. | "Extract the error codes from the selected exclusive option." | 183 | false | PyCQA/pydocstyle | _get_exclusive_error_codes | 32,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.